全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SPSS论坛
31296 14
2012-02-19
1. 用图表检验Analyze -> regression -> Linear-> Plots
Scatter plot of the standardised residuals on the standardised predicted values (ZRESID as  the Y variable, and ZPRED as the X variable

如果图表显示有可能存在异方差,需要用统计检验来进一步检测异方差是否确实存在。
2. 用统计检验
Heteroscedasticity——Testing and Correcting in SPSS.pdf



Levene’s Test
Goldfeld-Quandt Test
Breusch-Pagan Test
White‘s Test (比较常用来检验异方差)

Assume you want to run a regression of wage on age, work experience,education, gender, and a dummy for sectorof employment (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)


a.jpg



White’s Test

·        Calculate n*R2                            à              R2  = 0.037, n=2016           à    Thus, n*R2 = .037*2016 = 74.6.


·        Compare this value with c2 (n), i.e.with  c2 (2016)  
(c2  is the symbol for theChi-Square distribution)


c2 (2016) = 124obtained from c2 table.            (For 955 confidence)              As n*R2  < c2 ,heteroskedasticity can not be confirmed.


请参考:regression_explained_SPSS
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2012-2-19 19:27:08
支持,不错的
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-2-19 19:32:26
谢谢楼主!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-8-13 15:53:40
非常感谢楼主!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-8-13 19:54:47
谢谢
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-10-2 17:10:47

SPSS 独立样本T检验做异方差检验的难点

谢谢楼主。但还是不太懂:1,独立样本T检验的“检验变量”要填的Residual就是回归分析时输出的标准化残差吗?
2,“分组变量”究竟该填什么数据?
3,“定义组”究竟该怎么设置?

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群