P7 Outliers
P7 Outliers
P7 Outliers
net/publication/348365180
CITATIONS READS
3 888
3 authors, including:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Ahmed R. M. Alsayed on 10 January 2021.
2XWOLHUV'HWHFWLRQ0HWKRGVLQ3DQHO'DWD5HJUHVVLRQ$Q
$SSOLFDWLRQWR(QYLURQPHQW6FLHQFH
$KPHG50$O6D\HG=DLGL,VD6HN6LRN.XQ
! ""# $
"%
$%675$&7
The existence of outliers in panel data may violate the assumption of classical OLS estimator. They
may lead to misestimating the relationship between variables. The main objective of this study is to
detect the outliers, leverages and the influence points by using different diagnostic methods. The
other objective is to measure the effects of outliers on OLS estimator by comparing the results of
using the sample with outliers and the samples after removing the outliers. The analyses are applied
to the environmental science data on modelling the relationship between CO2 emissions, energy
consumption and economic growth for two groups of countries, i.e. the developed versus the
developing countries. The data take the range between1960 to 2010. Our results reveal that the
Robust Mahalanobis distance method outperforms the other methods in identifying the outliers as
it uses the robust mean and robust variance estimation. Besides, the estimated model after
excluding the outliers from the analysis could provide a more accurate estimation. Comparing the
results between two groups of countries, our results show that developing countries group has lower
CO2 emissions by 0.80 unit in compare to the developed countries group.
H04KKLL$M 0 ' ' ) ) ')Q
' ' ' ' ') $&
' )2) ' / ' / /'
' ) / /' )' 0 )' $
&' ' /4 / /L
0$ R
' T ' / 0 U ' / $
)' )10) ' W /$
R X '0 ' / )' Q
) 'X ' ) ' ) $Z'
)' /0 / ) ./3 ./33 $. '
'/ / $. ' / ) )
') $. ' / ) )'
') ' $ Z' ' /
' 4('K""Q 0\ K"Q^KKL$
_') ' ') ' / ' / /
$`* '24"L ' '
' &H $_// )' ) '
' ) ' )' ) '
' / ) ) $. ' 0
0 ' ' $ & R' $
4L' M ' 1
ZR3. ' $. /'/ ' T
) 2 0 W / $ . ) K$ . '
' 0 ' $. )'
' $
74
International Journal of Ecological Economics & Statistics
3 ' ) ' ) /
$ . )U ' ' / ) '
$ . ' 1 / )0 *&
'/ 4 *L / ' 4-Z%L ' &H $ * /
)0 / ' / ' $.
' ') ( ( _3*3* /$
. )U / ' / ) )0
/ ' ' / '$ _ ') '
/4 +$bL4R $bL (^ $,L43 $,L$
3DQHO'DWD5HJUHVVLRQE\2/6(VWLPDWRU
. &H '0 $. &H ) /
0 )' '/ &H $. &H
1 '1 0/)T ' k'' 0
)0 / ' ' ) $M 0 &H
) / ' ' /
) 0 ' $ k' ' ' ' )
/$&H '
∧ n
β OLS = DUJ PLQ ¦ ri β
β
i =
ZKHUHri β = yi − β − β xi − − β p xip for ≤ i ≤ n i is cross VHF tion pis parameter number
& /'/ // / ' 0 /
) 0 /) ) )
/ $. '/ // ) )
) ) )' 4 ,L$. '
/
Yit = α + β X it + ε it i = N t = T
0 ݅ ݐ/ $q/) ' ) v
x4z2L ' /) 0 4z2L '
/ 0 ) ߝ݅ ݐ0 ' )
)
∧
UL = \L − \ L
M 0 0 ' )
) ' /$4z'* /0 bL$
. / )' 0k' Q
75
International Journal of Ecological Economics & Statistics
α = Y − β X − β X
2XWOLHUV'HWHFWLRQ0HWKRGVLQ3DQHO'DWD
7KH&ODVVLILFDWLRQRI2XWOLHUVLQ3DQHO'DWD
& '/ // &H ) 0 )' $
M 0 0 ) '/
) ' $ . '
T ' / 0 Q H /
` ' 1 ' )4( ''0H 4LL$R'
0 / ' $
H/ ) 0 2 '0 ' /) 0
$ . / 0 ) /
/ $- / ) / 2 )' '
$ _ ' / ' &H
)' $& ) /
) / 2 )' $M 0
' 0&H 4 / /L$. 3 '
) ) ' ) ')
0 ' $3 ' ' ) / '
' 4 $ 4K"LL$
` ' ) 0 ' )' 2 $.
/ ' &H /$
* ' ) 0 '
$
)LJXUH* 0 '
76
International Journal of Ecological Economics & Statistics
2XWOLHUV'HWHFWLRQ0HWKRGV
. ' / / ) )'
$. ' W / 0
$& ' ) ' )2 '
' ) / ' $R' /
' ) ' 0 / ' / 0
/ ' $Z' 1 / /0
) ') )/ / ' $
& 'T ' 0 ' ' {
/ U' ' ) ' ') .{
0 ) $3 'T'
.{)' 0 {/{ 4 $ 4K"LL$ . 'T '
' !
ei ei
6WXGHQWL]HGUHVLGXDO rj =
Sei − hii MSE − hii
| Sei ' hii $
k' $. 'T' ' )
} {$. '2 ' 4* 14KbbLL$
M 0 ' 0' ) '
/ / 4 ''' / ) L$ 3 0
' 0 ) /) $. '
) hii 2+$
+ ; ;7 ; ;7
3 ' ' ~4/L ) / $
/ ') / ') ) $
' ') '
' 4M H 04LL$
Z' 0' 0 ) 0 // $
/ Z' )0 / ' / 0
) 2 ' ' $ M 0 )
T) $Z '
) / $
∧ ∧
β − βi
DfBetas =
SE ∧
βi
77
International Journal of Ecological Economics & Statistics
| ߚመ 0 )' ߚప /
) $3 ' Z~4ʹȀξ݊L
) ' / 4
$ 4K"LL$
. 0 ' / Q* 1WZ 4* 1
|)4K"LLZR3. 4 4,LL| Z 4| K"L$_
) / ' ' {k' $ M 0 * 1W
ZR3. )' | k'
) ' ' T ) / '
' ) / ' '$
* 1W ' ' ) $* 1W '
0 ) $
/ ' 0' ) ' / '
$| * 1W ')U 10/$3 0
∧ ∧
n yj i − yj
&RRN¶VDi = ¦ ∧
j =
pσ
∧
yj i
| ) U ) ' 0
) $ߪ ଶ ) $3 '
* 1WZ~4L ) ' $& 0) 1 * 1
' / 0 ' '
1 ) ' )
' $
ZR ' / ' 0 ) '
2 ' $3' 0' / ' ) '
$
∧ ∧
yi − yi i hj
'I)LWV = = rj
si hi − hj
| ݕෝ
ప / '0 ' ) 0 ݕෞ
ఫሺపሻ
/ '0 ' ' ) $S(i) 0 ' '
) $r j 'T' $ 3 ' ZR~4ʹඥȀ݊L
/ ) ' x{ $
78
International Journal of Ecological Economics & Statistics
rj h j n −
Wj =
− hj
M 0 | ' ' 2 4͵ඥL )
' / $
* ( ' / ) 2$3'
) 20 0 ' ' ) $
∧ k
§ ·
¨ n − k − rj ¸
&295$7,2
− h j ¨¨ n − k − ¸¸
© ¹
3 ' *&`(_.3&2 ͳ േ ͵ሺȀ݊ሻ ) /
4 $ 4K"LL$
3 ' ) ' /
/ / $Z' 0x 1 ' /
) $. ) )
MDi = ( xi − μ ) ¦ − ( xi − μ )′
0 σ 2 /) $x1 0
))'ඥ߯ଶ -'$. ) // 2k'
ଶ
{k')' ඥ߯ଶ 0 $. '{ ' Zට߯ǡǤଽହ
' Z ' ' / )
/ ' $M 0Z )' ' / '
) &H 0 σ $ Z' 0 ' )'
)' σ ) ' ' 4*ZL 0
') ,X ) σ
')0 0 2$. *Z
)' / / )44( ''0`Z4KKKLL$
( xi − μ MCD ) ¦ ( xi − μ MCD )′
−
RD = MCD
& / / 0 ' '
/ ' / ' ''/ ' /
' T ' $ ( ''0 ' / 0 / )'
) T 20 )'T' /
79
International Journal of Ecological Economics & Statistics
2$. ') $, T ' $M 0 '
2 ඥ߯ଶ / $
$SSOLFDWLRQ$QDO\VLV
3 0 // '
$. '/ ' $3 2/
0 0 0 ' ' '
' ' $
80
International Journal of Ecological Economics & Statistics
* ( ' 0 , ) '
2 ' '{ / $. ) ) 'Z1R 3
H'2) ' 0$. )
) ' ) 2 0
)' '{ / $
)' ) ' ) 0
' / '{ / $ . )
Z1H'2) ' 0$
3 ' / )Z
' / ! -Z% * ' ) $ . ' 0
) / -Z% / '{
/ $ ) ' 0 H'2) '$ _
) * )
H'2) '$ R ' ) 0 /
/ / ' ) ) 0
) $. ) / '!
H'2) 'z &$| ) H'2) '
/ ) $. ' ) / '
' H'2) '$ &
' / z &' ' 0 '
T / ' / / '2 )
/ '4_ '
//2L.
Table 1:&' Z
&XWWLQJSRLQW 2EVHUYDWLRQ
2XWOLHUPHWKRGV
QXPEHUV
'T {
'
H ~4/L K
* 1W Z~4L
ZR ZR~4ʹඥȀ݊ሻ
| |~4͵ඥL K
* ( *~4ͳ േ ͵ሺȀ݊ሻL ,
) ଶ
ට߯ǡǤଽହ
Z -Z%
4ʹȀξ݊L
Z *
.' / T )'' ' )' )
/ R'$
81
International Journal of Ecological Economics & Statistics
,
H'2)
H'2)
H'2) ''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' / ' '
0 / K // $ . )
' H'2) '0 /) 1
' $. ' /0 ) '
.) $ _ ) H'2) ' ) 1
/ ) {
2{/ $ . )
0 T ) 1 ) / )
' 0 / / $&
) / ) 'QZ1R 3
0&0 ) 2{/
) $
7KH(VWLPDWLRQRI3DQHO'DWD0RGHOE\2/6(VWLPDWRU
_0 2 ' 0 '
) 2 ' ' $. ' /)
4(L k' 4( L
_11 4_3*L 43*L /4v L$
3 0 / ' ' 0 ' 4 L
2 ' ' ) )' ) 4 L) )
' * 1WZ ZR3. 4 L| Z 4 L$
* 1WZ ZR3. ') ' )
' 4 ) L' 0 / 0 ' '
) * 1W Z ZR3. $ M 0
2 ' K ) ) | $ 4. '
82
International Journal of Ecological Economics & Statistics
' //2L$ . '
'T.) $
Table 2!.
7KH(VWLPDWHG0RGHO
&RHIILFLHQW
:LWK2XWOLHUV :LWKRXW2XWOLHUV
RI&2
0RGHO 0RGHO 0RGHO 0RGHO
v* ,"$, ""$b K$ KK$
4"$L 4$bL 4KK$L 4$L
{$ {$ {$ {$
-Z%
4$L 4$L 4$"L 4$L
$" $"" $bb $"b
*
4$L 4$,L 4$,L 4$bL
{bK$b {"$" {""$ {$K"$
Z'
4"$KL 4$L 4$bL 4,$KL
( $" $K $ $"
_U'
$ $" $ $"
(
( K$ K$ K$ ,K$
_3* ,"$ $, $ ,"$
3* ,$b $K $K $"
K ,
Q ' .{X$,XX$
/ $ / ' 0 '
/ 2 ' ' ) ) /
2 ' ' ) * 1 ZR3. /
2 ' ' ) | $ . ') ) )0
' 2 ' ' ) $
R .) ) ' ' 0 $
_ ' X 0
2 ' ' 0 ''
' 0 ' ' ' $R ' (U'(
' 0 $K$"/ $| / *& )2/ )) '
X -Z% *$* / ' ( 0 ) 0(
0 K$$&'' ' 0( / )
$
_/ 0 ' $
0 / 0 ' 0 ' ' )'
$
3 / ' 0 ' 0
',"$,0 ) '0 2 '
' ) ) ""$b 0 ' $
R' ' ) _3*3* ' 0 '//
$
83
International Journal of Ecological Economics & Statistics
3' .) ) 0 ' ' 4 L)
0 ' 4 L ) 4( _3* 3*
( L$3 / 0 ' ' )' )
4 L '/ * 1ZR3. 4 L|
4 L ' )' ) '
' ) $. ' 0 ( '
0_3*3*( '$. '/ ) $
3 -Z%{$0 -Z%
/0 *& $ ' Z -Z% $
1 / / *& $ | * $"" 0 ' *
/ /0 *& $&' 1 k' / / *0
*& )$"" 1 / /$.'
0 ') 0 / ' / '
'{""$$. ' 0 / ' '/
/0 *& $. / ' '/ ""$' 0*&
/ ' '/$
&RQFOXVLRQ
. / '
'/ &H ' 0
)' $. )U ' ' ' / )
' $ . ' 'T '
ZZR| * ( * 1W )' ) $
. )U / ' &H ' / '
' / ' $ . ' ' ) (
( _3*3* /$. 2/'//
' / )0 *&
'/ 0 / / '$ .
/ K $
&''// ' 2 ' ' ' / ' /
' ' $ . )' ) ' '
) )' )' $Z' /
) / ' $ . '
// 0 -Z% /0 *& )' *
/ /0 *& $* / ' )00 '/ '0
) / ' '/ 0 *& ) $" ' /
/ ' '/$
84
International Journal of Ecological Economics & Statistics
5HIHUHQFHV
_ _$($\ 1 $z$$$ z'T*'! Z /
Z / $Applied Mathematical Sciencesb4L"{K$
$M$ _ % Z+ | \ ,$
`H0.$&' $ $0q 1!+ | \ QKK$
+ $b2' * '/ *& - 0 3!
. q - {*' _// $ 3 + '
"$!K"{$
Z_z' | ( $R $,3!( $0q 1!+ |
\ Q$/$2$
Z$_$ z' $ \| ($ $ K"$Regression Diagnostics. Identifying Influential Data and
Source of Collinearity$| $
R T %$ \M z$ "$ &' / ' )' $
Mathematical Geosciences4L{"$
R T %$ - ($ -$ \( *$ ,$ ' ' 2/
$Computers & Geosciences4,L,bK{,"b$
R' |$ z$ ^ ' ^$ q$ | $ *$ \ M x$ $ 3 ' '
/ 2 $ Journal of the Royal Statistical Society! Series B (Statistical
Methodology),4L,,{,bK$
z' $ \ * /0 %$ b$ ( )' 2/ ( % ' ./
% /' & / ( / $3 + '
"4L,{b$
3 ^$ _ _$ ($ \ z' $ $ ,$ Z / '/
0 ' ) / // $ _//
K4,{,L,{,$
3 ^$ _ _$ ($ \ z' $ ,$ . / )0 '/
0 ' / ' ) / // $ - ) + ' %' _//
4L{$
3 ^$ _ _$ ($ \ z' $ $ ,$ (0 // 0 {
'/ 2'$3 + ' % ,4L$
85
International Journal of Ecological Economics & Statistics
3^$_ _$($\z' $ $,$Z % ' %M
( /0 - 0 * '/ $_ H
4LKK,{KK"$
% ($+$$' / ' ' ) ' )' k'$
Chemometrics and Intelligent Laboratory Systems,4L"b{$
(' +$ H$ K""$ ' ' ! ) Z k' *
Z$' ( 4L"K{$
( ''0%$+$_$$H $$( )'( &' Z $0q 1!| $
( ''0%$+$z$Z$KKK$_ '
$Technometrics!$
0 $+$\ $M$K"$Z ' ' $The annals of statistics, 10
K{K,$
| ($ $K"$3 ' ' $3 Z_ $($H$
H'_$R$ KK$0q 1!_ %$
^ Z$ |$ KK$ _ ' ' / /
$Journal of General Psychology, 1214LK{$
86