楼主: xddlovejiao1314
41335 7

[SPSS] SPSS做异方差检验操作步骤详解 [推广有奖]

教师

心灵导师

学术权威

74%

还不是VIP/贵宾

-

TA的文库  其他...

个人学术成果库

威望
6
论坛币
253191 个
通用积分
30832.6729
学术水平
1935 点
热心指数
2485 点
信用等级
1632 点
经验
716588 点
帖子
7056
精华
7
在线时间
5196 小时
注册时间
2013-5-24
最后登录
2024-3-23

一级伯乐勋章 初级学术勋章 初级热心勋章 初级信用勋章 中级热心勋章 中级学术勋章 中级信用勋章 高级热心勋章 高级学术勋章 高级信用勋章 特级热心勋章 特级学术勋章 特级信用勋章

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
     申明:本帖转自SPSS版块:https://bbs.pinggu.org/thread-1353699-1-1.html,感谢coral033坛友的贡献。https://bbs.pinggu.org/thread-304894-1-1.html,感谢原点哦坛友的解答。



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

Heteroscedasticity_ Testing and Correcting in SPSS.pdf (532.01 KB)

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 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)





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 regression_explained_SPSS.doc (368 KB)

分割点:原点哦坛友的解答
首先必须根据回归结果保存残差,并计算残差的平方,然后画残差平方与X 的散点图。步骤如下:
(1)回归计算时,在回归主对话框中单击[Save]按钮,选择[Residuals]中的[Unstandardized]选项,单击[Continue]返回主对话框。输出结果的同时,将把残差保存为一新变量res_1。
(2)计算残差的平方。选择 [Transform] => [Compute],在显示的对话框中输入残差平方的变量名(如e2)和计算残差平方的表达式(如res_1 **2 )。单击[OK]后将产生一个新变量。
(3)采用加权最小二乘法(WLS),可设置权数为1/|e|。做一个加权最小二乘法的回归喽
Weighted Least Squares)。


二维码

扫码加我 拉你入群

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

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

关键词:异方差检验 方差检验 操作步骤 SPSS PSS SPSS;异方差检验

已有 2 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
niuniuyiwan + 60 + 60 + 5 + 5 + 5 精彩帖子
我的素质低 + 30 + 5 + 5 + 5 精彩帖子

总评分: 经验 + 60  论坛币 + 90  学术水平 + 10  热心指数 + 10  信用等级 + 10   查看全部评分

本帖被以下文库推荐

说话是一种能力,少说是一种智慧
沙发
xddlovejiao1314 学生认证  发表于 2015-4-9 23:26:44 来自手机 |只看作者 |坛友微信交流群
xddlovejiao1314 发表于 2015-4-7 19:58
申明:本帖转自SPSS版块:https://bbs.pinggu.org/thread-1353699-1-1.html,感谢coral033 ...
默默的顶一个!

使用道具

藤椅
xddlovejiao1314 学生认证  发表于 2015-5-5 22:45:50 |只看作者 |坛友微信交流群
自己再默默的顶一下。

使用道具

板凳
niuniuyiwan 在职认证  发表于 2015-8-12 15:12:38 |只看作者 |坛友微信交流群
感谢分享

使用道具

报纸
2009141211 发表于 2017-1-4 15:46:01 |只看作者 |坛友微信交流群
感谢分享!

使用道具

地板
静蕾绽放 学生认证  发表于 2018-4-23 20:46:52 来自手机 |只看作者 |坛友微信交流群
xddlovejiao1314 发表于 2015-4-7 19:58
申明:本帖转自SPSS版块:https://bbs.pinggu.org/thread-1353699-1-1.html,感谢coral033 ...
顶一下

使用道具

7
86819306 发表于 2019-3-21 16:53:12 |只看作者 |坛友微信交流群
1/|e|还是1/(e^2)?

使用道具

8
texplorert 发表于 2021-1-1 20:42:13 |只看作者 |坛友微信交流群

好东西

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-19 19:27