数学建模社区-数学中国

标题: 利用spss进行异方差检验的方法,望借鉴 [打印本页]

作者: 馨冉回忆    时间: 2013-10-13 16:12
标题: 利用spss进行异方差检验的方法,望借鉴
1. 用图表检验Analyze -> regression -> Linear-> Plots7 v  s  ?) y1 ^
Scatter plot of the standardised residuals on the standardised predicted values (ZRESID as  the Y variable, and ZPRED as the X variable
/ |# h0 y! V( _" x- }( Y' M0 J" z% b9 h0 Z1 x- m
如果图表显示有可能存在异方差,需要用统计检验来进一步检测异方差是否确实存在。
/ ]; {+ p3 q3 `5 q+ c2. 用统计检验. G$ m1 F0 e5 A' O( J/ t3 A& h
Heteroscedasticity——Testing and Correcting in SPSS.pdf Gwilym Pryce March 2002.doc (172.5 KB, 下载次数: 4)
; h" r6 [7 K2 b9 }9 S
! q' t9 q. e- }! t/ @* @
8 W- u/ V9 v7 ]Levene’s Test
7 W3 e. J8 T; O8 @  x5 o/ s4 Z8 cGoldfeld-Quandt Test# u, ]% y8 i) P3 z4 c) y0 D
Breusch-Pagan Test
8 `- T" E# C- u  T2 yWhite‘s Test (比较常用来检验异方差)
3 F8 Q+ L# M1 K  _0 ]# Y" J& J0 K
Assume you want to run a regression of wage on age, work experience,education, gender, and a dummy for sectorofemployment (whether employed in the public sector).
wage = function(age, workexperience, education, gender, sector)
or, as your textbook will have it,
wage = b1 + b2*age + b3*work experience+ b4*education + b5*gender + b6*sector
The White’s test is usually used as a test for heteroskedasticity.  In this test, a regression of the squares ofthe residuals is run on the variables suspected of causing theheteroskedasticity, their squares, and cross products.
(residuals)2 = b0 + b1 educ + b2 work_ex+ b3 (educ)2  + b4 (work_ex)2 + b5(educ*work_ex)

5 o, M$ c+ \1 {

4 n) d4 f4 W! d% t  D! z
! ~/ q/ Y* a8 n. G6 \9 q8 |
, u6 N" \( a' B! m9 y
White’s Test
·        Calculate n*R2                            à              R2  = 0.037, n=2016           à    Thus, n*R2 = .037*2016 = 74.6.
# b: U) }( b* s) D
·        Compare this value with c2 (n), i.e.with  c2 (2016)  
# m& j) C6 O# t3 m( `3 `$ D(c2  is the symbol for theChi-Square distribution)
) m1 \7 w6 k2 H. E
c2 (2016) = 124obtained from c2 table.            (For 955 confidence)              As n*R2  < c2 ,heteroskedasticity can not be confirmed.
: s% {7 d6 v" p9 \" J0 N

: [1 ]- S' y. d  z' O& O请参考:regression_explained_SPSS regression_explained_SPSS.doc (368 KB, 下载次数: 0)
+ ~  T! T4 b+ y/ I/ [




欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) Powered by Discuz! X2.5