南京财经大学计量经济学RESET检验和异方差(考试)
更新时间:2023-11-23 02:55:01 阅读量: 教育文库 文档下载
住房价格方程
研究问题:住房价格和住房自身特征间的关系 (根据Wooldrige计量经济学导论P219,259,288改编) 数据集:hprice1 变量:
price:住房价格
lotsize:住房占地面积 (加上院子) sqrft:住房面积 bdrms:卧室数量
1.RESET检验
用变量的水平值建立模型price??0??1lotsize??2sqrft??3bdrms??
Source SS df MS Number of obs = 88 F( 3, 84) = 57.46 Model 617130.701 3 205710.234 Prob > F = 0.0000 Residual 300723.805 84 3580.0453 R-squared = 0.6724 Adj R-squared = 0.6607 Total 917854.506 87 10550.0518 Root MSE = 59.833 price Coef. Std. Err. t P>|t| [95% Conf. Interval] lotsize .0020677 .0006421 3.22 0.002 .0007908 .0033446 sqrft .1227782 .0132374 9.28 0.000 .0964541 .1491022 bdrms 13.85252 9.010145 1.54 0.128 -4.065141 31.77018 _cons -21.77031 29.47504 -0.74 0.462 -80.38466 36.84405
. estat ovtest Ramsey RESET test using powers of the fitted values of price Ho: model has no omitted variables F(3, 81) = 4.26 Prob > F = 0.0076. estat ovtest, rhsRamsey RESET test using powers of the independent variables Ho: model has no omitted variables F(9, 75) = 6.10 Prob > F = 0.0000
结果说明函数设定错误,可能漏掉了自变量高次方项,也有可能需要对变量做变换。这个检验不能得到可能存在异方差的结论。
2.异方差检验
. estat hettest, iidBreusch-Pagan / Cook-Weisberg test for heteroskedasticity Ho: Constant variance Variables: fitted values of price chi2(1) = 9.65 Prob > chi2 = 0.0019
. estat hettest, rhs iidBreusch-Pagan / Cook-Weisberg test for heteroskedasticity Ho: Constant variance Variables: lotsize sqrft bdrms chi2(3) = 14.09 Prob > chi2 = 0.0028
White's test for Ho: homoskedasticity against Ha: unrestricted heteroskedasticity chi2(9) = 33.73 Prob > chi2 = 0.0001Cameron & Trivedi's decomposition of IM-test Source chi2 df p Heteroskedasticity 33.73 9 0.0001 Skewness 8.14 3 0.0432 Kurtosis 2.91 1 0.0882 Total 44.78 13 0.0000
两种检验都说明存在异方差,注意这种异方差可能是变量间函数关系设定错误造成的,也可能是真正的异方差。
3. 对变量做对数变换,除bdrms外,因它是离散变量。
拟合模型ln(price)??0??1ln(lotsize)??2ln(sqrft)??3bdrms??
Source SS df MS Number of obs = 88 F( 3, 84) = 50.42 Model 5.15504028 3 1.71834676 Prob > F = 0.0000 Residual 2.86256324 84 .034078134 R-squared = 0.6430 Adj R-squared = 0.6302 Total 8.01760352 87 .092156362 Root MSE = .1846 lprice Coef. Std. Err. t P>|t| [95% Conf. Interval] llotsize .1679667 .0382812 4.39 0.000 .0918404 .244093 lsqrft .7002324 .0928652 7.54 0.000 .5155597 .8849051 bdrms .0369584 .0275313 1.34 0.183 -.0177906 .0917074 _cons -1.297042 .6512836 -1.99 0.050 -2.592191 -.001893
Ramsey RESET test using powers of the fitted values of lprice Ho: model has no omitted variables F(3, 81) = 2.45 Prob > F = 0.0692
Ramsey RESET test using powers of the independent variables Ho: model has no omitted variables F(9, 75) = 2.01 Prob > F = 0.0494
变换后的模型存在设定错误的证据较弱。
Breusch-Pagan / Cook-Weisberg test for heteroskedasticity Ho: Constant variance
Variables: fitted values of lprice chi2(1) = 1.39 Prob > chi2 = 0.2379
Breusch-Pagan / Cook-Weisberg test for heteroskedasticity Ho: Constant variance
Variables: llotsize lsqrft bdrms chi2(3) = 4.22 Prob > chi2 = 0.2383
White's test for Ho: homoskedasticity against Ha: unrestricted heteroskedasticity chi2(9) = 9.55 Prob > chi2 = 0.3882Cameron & Trivedi's decomposition of IM-test Source chi2 df p Heteroskedasticity 9.55 9 0.3882 Skewness 1.69 3 0.6381 Kurtosis 2.57 1 0.1090 Total 13.81 13 0.3872
这些异方差检验说明,对数变换后的模型不存在异方差。
至此,说明: (1)最初的模型存在设定错误;(2) 最初模型的异方差也是由于函数关系错误设定造成的。对因变量和自变量作对数变换后,两个问题都得到了解决。
当检验出模型存在异方差时,则给我们一个提醒,可能模型的设定有问题,也可能模型设定没问题而是真正的存在异方差(研究对象差别太大导致)。
理智而有经验的研究者首先会把它当作模型设定错误的信号,而不是一股脑地去做FGLS了事。首先去仔细检查模型设定是否存在问题;在确保设定没有问题后,如果还存在异方差,才考虑用OLS+异方差稳健标准误差,或者FGLS来解决。
正在阅读:
南京财经大学计量经济学RESET检验和异方差(考试)11-23
2019年有关平安夜圣诞节的作文06-13
门级静态时序分析与PrimeTime使用06-25
2007年中国博客市场调查报告10-24
(2013版)C++程序设计教学规范05-05
区交通运输局上半年工作情况和2022年推进工程建设工作计划05-04
计算机组装与维护试题及答案04-13
基于压电陶瓷材料的换能器可靠性研究05-13
人行道施工技术交底01-26
观察小狗的作文资料03-12
- exercise2
- 铅锌矿详查地质设计 - 图文
- 厨余垃圾、餐厨垃圾堆肥系统设计方案
- 陈明珠开题报告
- 化工原理精选例题
- 政府形象宣传册营销案例
- 小学一至三年级语文阅读专项练习题
- 2014.民诉 期末考试 复习题
- 巅峰智业 - 做好顶层设计对建设城市的重要意义
- (三起)冀教版三年级英语上册Unit4 Lesson24练习题及答案
- 2017年实心轮胎现状及发展趋势分析(目录)
- 基于GIS的农用地定级技术研究定稿
- 2017-2022年中国医疗保健市场调查与市场前景预测报告(目录) - 图文
- 作业
- OFDM技术仿真(MATLAB代码) - 图文
- Android工程师笔试题及答案
- 生命密码联合密码
- 空间地上权若干法律问题探究
- 江苏学业水平测试《机械基础》模拟试题
- 选课走班实施方案
- 计量经济学
- 方差
- 南京
- 检验
- 考试
- 财经
- 大学
- RESET
- 2019秋金版学案高中数学必修5(人教A版)练习:1.2第1课时距离问题含解析
- 制药工程期末试卷A卷
- 新人教版五年级语文下册第3单元课时同步练习-13打电话(1)附答案
- 2018年学雷锋纪念日活动总结
- 如何创建学习型组织 - 图文
- 2015人大代表名单分工改doc - 图文
- 《医学统计学》教学大纲
- 自然灾害试题
- 2017届高考数学三轮复习考点归纳:数列
- 消费者对商品包装及过度包装的认知调查 - 图文
- 2017届高中生物 胚胎工程 3.2 体外受精和早期胚胎培养导学案(无答案)新人教版选修3
- 电子科技大学研究生试题《图论及其应用》(参考答案)
- 明思教育七年级数学(上)期末模拟试卷
- 异形轴零件的加工工艺及编程1
- 上海市2015年高三二模汇编 - 三角函数
- 线路精调作业注意事项及要求改
- 陈涛后端面试总结 - v1
- 小学一、二年级美术特色课程化教学计划
- 北京交通大学电子测量第二章大作业
- 离散数学第9章习题答案