斯托克,沃森计量经济学第七章实证练习stata

合集下载

计量经济学 第七章答案

计量经济学 第七章答案

练习题7.1参考解答(1)先用第一个模型回归,结果如下:22216.4269 1.008106 t=(-6.619723) (67.0592)R 0.996455 R 0.996233 DW=1.366654 F=4496.936PCE PDI =-+==利用第二个模型进行回归,结果如下:122233.27360.9823820.037158 t=(-5.120436) (6.970817) (0.257997)R 0.996542 R 0.996048 DW=1.570195 F=2017.064t t t PCE PDI PCE -=-++==(2)从模型一得到MPC=1.;从模型二得到,短期MPC=0.,长期MPC= 0.+(0.)=1.01954练习题7.2参考答案(1)在局部调整假定下,先估计如下形式的一阶自回归模型:*1*1*0*tt ttu Y X Y +++=-ββα估计结果如下:122ˆ15.104030.6292730.271676 se=(4.72945) (0.097819) (0.114858)t= (-3.193613) (6.433031) (2.365315)R =0.987125 R =0.985695 F=690.0561 DW=1.518595t t t Y X Y -=-++根据局部调整模型的参数关系,有****11 ttu u αδαβδββδδ===-=将上述估计结果代入得到: *1110.2716760.728324δβ=-=-=*20.738064ααδ==-*0.864001ββδ==故局部调整模型估计结果为: *ˆ20.7380640.864001ttYX =-+ 经济意义解释:该地区销售额每增加1亿元,未来预期最佳新增固定资产投资为0.亿元。

运用德宾h 检验一阶自相关:(121(1 1.34022d h =-=-⨯=在显著性水平05.0=α上,查标准正态分布表得临界值21.96h α=,由于21.3402 1.96h h α=<=,则接收原假设0=ρ,说明自回归模型不存在一阶自相关。

计量经济学斯托克沃森第三版答案

计量经济学斯托克沃森第三版答案

计量经济学斯托克沃森第三版答案1、盈余公积是企业从()中提取的公积金。

[单选题] *A.税后净利润(正确答案)B.营业利润C.利润总额D.税前利润2、企业在转销已经确认无法支付的应付账款时,应贷记的会计科目是()。

[单选题] *A.其他业务收入B.营业外收入(正确答案)C.盈余公积D.资本公积3、企业因解除与职工的劳动关系给予职工补偿而发生的职工薪酬,应借记的会计科目是()。

[单选题] *A.管理费用(正确答案)B.计入存货成本或劳务成本C.营业外支出D.计入销售费用4、由投资者投资转入的无形资产,应按合同或协议约定的价值,借记“无形资产”科目,按其在注册资本所占的份额,贷记“实收资本”科目,按其差额记入()科目。

[单选题] *A.“资本公积—资本溢价”(正确答案)B.“营业外收入”C.“资本公积—其它资本公积”D.“营业外支出”5、下列各项,不影响企业营业利润的项目是()。

[单选题] *A.主营业务收入B.其他收益C.资产处置损益D.营业外收入(正确答案)6、2018年12月31日,甲公司某项固定资产计提减值准备前的账面价值为1 000万元,公允价值为980万元,预计处置费用为80万元,预计未来现金流量的现值为1 050万元。

2018年12月31日,甲公司应对该项固定资产计提的减值准备为()万元。

[单选题] *A.0(正确答案)B.20C.50D.1007、.(年浙江省高职考)下列各项中,属于会计对经济活动进行事中核算的主要形式的是()[单选题] *A预测B决策C计划D控制(正确答案)8、专利权有法定有效期限,一般发明专利的有效期限为()。

[单选题] *A.5年B.10年C.15年D.20年(正确答案)9、.(年预测)下列属于货币资金转换为生产资金的经济活动的是()[单选题] *A购买原材料B生产领用原材料C支付工资费用(正确答案)D销售产品10、.(年浙江省第一次联考)下列各项中,不属于会计核算的前提条件的是()[单选题] *A持续经营B货币计量C权责发生制(正确答案)D会计主体11、下列各项税金中不影响企业损益的是()。

斯托克,沃森计量经济学第五章第六章实证练习stata操作及答案

斯托克,沃森计量经济学第五章第六章实证练习stata操作及答案

E5.2E5.3E6.2E6.3(1) VARIABLES ahe age 0.605*** (1.40e-09) Constant 1.082 (0.150) Observations 7,711 R-squared 0.029Robust pval in parentheses *** p<0.01, ** p<0.05, * p<0.1Robust t-statistics in parentheses *** p<0.01, ** p<0.05, * p<0.1a. 在对双边备择检验中,系数的t 统计量为24.70>2.58,与系数对应的p 值是0.0000000014趋近于0<0.01,所以可以在1%显著水平下拒绝原假设,自然可以在5%、10%水平下拒绝原假设。

(1) VARIABLES ahe age 0.605*** (0.550 - 0.660) Constant 1.082 (-0.473 - 2.638) Observations 7,711 R-squared 0.029Robust ci in parentheses *** p<0.01, ** p<0.05, * p<0.1b. 斜率系数95%的置信区间是(0.550,0.660)m1 VARIABLES ahe age 0.605*** (24.70) Constant 1.082 (1.574) Observations 7,711 R-squared 0.029 Ajusted R2 0.0289(1) m2 VARIABLES aheage 0.298***(7.513)Constant 6.522***(5.585)Observations 4,002R-squared 0.012Ajusted R2 0.0117Robust t-statistics in parentheses Robust pval in parentheses *** p<0.01, ** p<0.05, * p<0.1 *** p<0.01, ** p<0.05, * p<0.1只利用高中毕业生的数据,系数的t 统计量为7.513>2.58,与系数对应的p 值是0.0000364趋近于0<0.01,所以可以在1%显著水平下拒绝原假设,自然可以在5%、10%水平下拒绝原假设。

计量经济学第七章练习题及参考答案

计量经济学第七章练习题及参考答案

第七章练习题及参考答案7.1 表7.11中给出了1970-1987年期间美国的个人消费支出(PCE)和个人可支配收入(PDI)数据,所有数字的单位都是10亿美元(1982年的美元价)。

表7.11 1970-1987年美国个人消费支出(PCE)和个人可支配收入(PDI)数据估计下列模型:tt t t tt t PCE B PDI B B PCE PDI A A PCE υμ+++=++=-132121(1) 解释这两个回归模型的结果。

(2) 短期和长期边际消费倾向(MPC )是多少?练习题7.1参考解答:1)第一个模型回归的估计结果如下,Dependent Variable: PCEMethod: Least Squares Date: 07/27/05 Time: 21:41 Sample: 1970 1987 Included observations: 18Variable Coefficient Std. Error t-StatisticProb. C -216.4269 32.69425 -6.619723 0.0000 PDI 1.008106 0.015033 67.05920 0.0000 R-squared 0.996455 Mean dependent var1955.606 Adjusted R-squared 0.996233 S.D. dependent var 307.7170 S.E. of regression 18.88628 Akaike info criterion 8.819188 Sum squared resid 5707.065 Schwarz criterion 8.918118 Log likelihood -77.37269 F-statistic 4496.936 Durbin-Watson stat 1.366654 Prob(F-statistic)0.000000回归方程:ˆ216.4269 1.008106t tPCE PDI =-+(32.69425) (0.015033) t =(-6.619723) (67.05920) 2R =0.996455 F=4496.936 第二个模型回归的估计结果如下,Dependent Variable: PCEMethod: Least Squares Date: 07/27/05 Time: 21:51 Sample (adjusted): 1971 1987 Included observations: 17 after adjustmentsVariable Coefficient Std. Error t-Statistic Prob.C -233.2736 45.55736 -5.120436 0.0002 PDI 0.982382 0.140928 6.970817 0.0000 PCE(-1) 0.037158 0.144026 0.2579970.8002R-squared 0.996542 Mean dependent var 1982.876 Adjusted R-squared 0.996048 S.D. dependent var 293.9125 S.E. of regression 18.47783 Akaike info criterion 8.829805 Sum squared resid 4780.022 Schwarz criterion 8.976843 Log likelihood -72.05335 F-statistic 2017.064 Durbin-Watson stat 1.570195 Prob(F-statistic)0.000000回归方程:1ˆ233.27360.98240.0372t t t PCE PDI PCE -=-+- (45.557) (0.1409) (0.1440)t = (-5.120) (6.9708) (0.258) 2R =0.9965 F=2017.0642)从模型一得到MPC=1.008;从模型二得到,短期MPC=0.9824,由于模型二为自回归模型,要先转换为分布滞后模型才能得到长期边际消费倾向,我们可以从库伊克变换倒推得到长期MPC=0.9824/(1+0.0372)=0.9472。

计量经济学第七章第5,6,7题答案

计量经济学第七章第5,6,7题答案

第7章练习5在申请出国读学位的16名学生中有如下GRE数量与词汇分数*EviewDependent Variable: YMethod: ML - Binary Logit (Quadratic hill climbing)Date: 05/22/11 Time: 22:19Sample: 1 16Included observations: 16Convergence achieved after 5 iterationsCovariance matrix computed using second derivativesVariable Coefficient Std・ Error z^Statistic Prob ・C -11. 10741 6.124290 -1. 813665 0. 0697Q 0.003968 0.008008 0. 495515 0. 6202V 0.017696 0.008752 2.021914 0. 0432 McFadden R^squared 0. 468521 Mean dependent var 0. 562500 S・ D・ dependent var 0. 512348 S・ E・ of regression 0.382391Akaike info criterion 1. 103160 Sum squared resid 1.900896 Schwarz criterion 1. 248321 Log likelihood -5. 827681Restr・ logHannan-Quinn criter・ 1. 1108781ikelihood -10. 96503 LR statistic 10.27469 Avg・ log likelihood -0. 364230 Prob(LR statistic) 0.005873Obs with Dep=0 7 Total obs 16 Obs with Dep=l 9于是,我们可得到Logit模型为:Y,. =-11.107 + 0.004<) + 0.0177V(-1.81) (0.49) (2.02)R MCT =0.4685 , LR(2)=10. 27如果在Binary estination这一栏中选择Probit估计方法,可得到如卜•表:Dependent Variable: YMethod: ML - Binary Probit (Quadratic hill climbing)Date: 05/22/11 Time: 22:25Sample: 1 16Included observations: 16Convergence achieved after 5 iterationsCovariance matrix computed using second derivativesVariable Coefficient Std・ Error z^Statistic Prob ・C -6. 634542 3.396882 -1. 953127 0. 0508Q 0.002403 0.001585 0. 524121 0. 6002V 0.010532 0.001693 2.244299 0. 0248McFadden R-squared 0.476272 Mean dependent var 0. 562500S・ D・ dependent var 0.512348 S・ E・ of regression 0.381655Akaike info criterion 1.092836 Sum squared resid 1.893588Schwarz criterion 1. 237696 Log likelihood -5.742687Restr・ logHannan-Quinn criter・ 1.100254 likelihood -10. 96503LR statistic 10. 44468 Avg・ log likelihood -0. 358918Prob(LR statistic) 0.005395Obs with Dep=0 7 Total obs 16Obs with Dep=l 9于是,我们可得到Probit模型为:Y; = -6.635 + 0.0024(2 + 0.0105V(-1.95) (0.52) (2.24)=0.4763 , LR(2)=10. 44第7章练习6下表列出了美国、加拿大、英国在1980^1999年的失业率Y以及对制造业的补偿X的相关数据资料。

斯托克,沃森计量经济学实证练习stata操作及答案

斯托克,沃森计量经济学实证练习stata操作及答案

E4.1E4.21 jse 17 C : \ UsEiaVa sus\Deakt.op\T each! "gRat i"ca.dta172twoway scatter course_eval beauty.「,第一,可画课程评t★和萝三容能的段点匡3reg course_eval beauty, robust 匚1口5七日工山日3口七y)//第二月建立国.三.方程replace .- / -r- [H]4outreg2 asing 2 . docf5mean tiEaut”/算t:—nty的样本均值6logout, save (docJ) word replace : ir.ean beauty ;-zibeautit7sum EEautv“想计算"日口七产的标,佳差「logout, save (doc2) word replace: sum Iieauty9 sum cour s e_eva 1Z / 埴计算corn s e一sal的标准差,结合t―uty的标准差评价效应估计10 logout, save (doc3} word replace : snim. course evalE4.31 'jse :\UBErs\aEij.B\.Des]ctop\CoLLegeE'iBtanceweBt.dta"2leg ed. dist, rotoust. cluster [tlist}3 outreg'2 jsing 3 .doc, replaceE4.41 use n C:\U5er3\a3u3XDe3ktop\GEDwCh.dtfi w2twcway scatter growth tzadeshar一同绘制平启年亳长率对平均贸易额的敖卓民3leg growth cradeshare, robust 匚Luwter 111第三同建立口rmrth对七r^d巳写ti日工己的回!闩d outrea2;asina i. aoc工曰口工30■己,,.出回!3结果r5口工口口IX sun"y_n面ne=n MaJxaT"第四i司剔除马其他的数招6zegress growth tradeahare, robust cluater (trad^shmre) 」/身!除冬至.、二数书.~n^2. gi cwth^j-tr a de aha z e 的回!月~ outregS asxng 5 . doc t上三口J_me;三//导出回结果VARIABLES aheage 0.605(0.0245)Constant 1.082(0.688)Observations 7,711R-squared 0.029Robust standard errors in parentheses *** p<0.01, ** p<0.05, * p<0.11.① 截距估计值estimated intercept: 1,082② 斜率估计值estimated slope: 0,605回归方程:ahe= 1.082+0,605*age③当工人年长1岁,平均每小时工资增加0.605美元。

詹姆斯·斯托克,马克·沃森计量经济学第三章实证练习stata答案

詹姆斯·斯托克,马克·沃森计量经济学第三章实证练习stata答案

詹姆斯·斯托克,马克·沃森计量经济学第三章实证练习stata答案⼀、Two-sample t test with equal variancesGroup Obs Mean Std.Err. Std.Dev. 95% Conf. Interval1992 7,612 11.62 0.0644 5.619 11.49 11.742012 7,440 19.80 0.124 10.69 19.56 20.04combined 15,052 15.66 0.0770 9.442 15.51 15.81diff -8,183 0.139 -8.455 -7.911 diff = mean(1992) - mean(2012) t = -58.9871Ho: diff = 0 degrees of freedom = 15050Ha: diff < 0 Ha: diff != 0 Ha: diff > 0Pr(T < t) = 0.0000 Pr(|T| > |t|) = 0.0000 Pr(T > t) = 1.0000⼆、Two-sample t test with equal variancesGroup Obs Mean Std.Err. Std.Dev. 95% Conf. Interval 1992 7,612 15.64 0.0867 7.564 15.47 15.81 2012 7,440 19.80 0.124 10.69 19.56 20.04 combined 15,052 17.69 0.0772 9.471 17.54 17.85 diff -4.164 0.151 -4.459 -3.869diff = mean(1992) - mean(2012) t = -27.6423Ho: diff = 0 degrees of freedom = 15050Ha: diff < 0 Ha: diff != 0 Ha: diff > 0Pr(T < t) = 0.0000 Pr(|T| > |t|) = 0.0000 Pr(T > t) = 1.0000三、第⼆题根据通货膨胀率进⾏了调整,反映了购买⼒的变化,所以可⽤利⽤第⼆题的结果进⾏分析。

计量课后习题第七章答案

计量课后习题第七章答案

习题7.1 解释概念(1)分类变量 (2)定量变量 (3)虚拟变量 ( 4)虚拟变量陷阱 (5)交互项(6)结构不稳定 (7)经季节调整后的时间序列答:(1)分类变量:在回归模型中,我们对具有某种特征或条件的情形赋值1,不具有某种特征或条件的情形赋值0,这样便定义了一个变量D :1,0,D ⎧=⎨⎩具有某种特征不具有某种特征我们称这样的变量为分类变量。

(2)具有数值特征的变量,如工资、工作年数、受教育年数等,这些变量就称为定量变量。

(3)在回归模型中,我们对具有某种特征或条件的情形赋值1,不具有某种特征或条件的情形赋值0,这样便定义了一个变量D :1,0,D ⎧=⎨⎩具有某种特征不具有某种特征 我们称这样的变量为虚拟变量(dummy variable )。

(4)虚拟变量陷阱是指回归方程包含了所有类别(特征)对应的虚拟变量以及截距项,从而导致了完全共线性问题。

(5)交互项是指虚拟变量与定量变量相乘,或者两个定量变量相乘或是两个虚拟变量相乘,甚至更复杂的形式。

比如模型:12345i i i i i i i household lwage female married female married u βββββ=++++⋅+female married ⋅就是交互项。

(6)如果利用不同的样本数据估计同一形式的计量模型,可能会得到1β、2β不同的估计结果。

如果估计的参数之间存在着显著性差异,就称为模型结构不稳定。

(7)一些重要的经济时间序列,如果是受到季节性因素影响的数据,利用季节虚拟变量或者其他方法将其中的季节成分去除,这一过程被称为经季节调整的时间序列。

7.2 如果你有连续几年的月度数据,为检验以下假设,需要引入多少个虚拟变量?如何设定这些虚拟变量?(1)一年中的每一个月份都表现出受季节因素影响;(2)只有2、7、8月表现出受季节因素影响。

答:(1)对于一年中的每个月份都受季节因素影响这一假设,需要引入三个虚拟变量。

斯托克,沃森计量经济学第四章实证练习stata操作及答案

斯托克,沃森计量经济学第四章实证练习stata操作及答案

斯托克,沃森计量经济学第四章实证练习stata操作及答案E4.1E4.2E4.3E4.4VARIABLES aheage 0.605(0.0245)Constant 1.082(0.688)Observations 7,711R-squared 0.029Robust standard errors in parentheses*** p<0.01, ** p<0.05, * p<0.11.①截距估计值estimated intercept:1.082②斜率估计值estimated slope:0.605回归方程:ahe= 1.082+0.605*age③当工人年长1岁,平均每小时工资增加0.605美元。

2.Bob: 0.605*26+1.082=16.812(美元)Alexis: 0.605*30+1.082=19.232(美元)答:预测Bob的收入为每小时16.812美元,Alexis为19.232美元。

3.年龄不能解释不同个体收入变化的大部分。

因为R-squared反映了因变量的全部变化能通过回归关系被自变量充分解释的比例,而分析得R-squared的值为0.029,解释度低,说明年龄不能解释不同个体收入变化的大部分。

1.答:两者看上去有微弱的正相关关系2.VARIABLES course_evalbeauty 0.133(0.0550)Constant 3.998(0.0449)Observations 463R-squared 0.036Robust standard errors in parentheses*** p<0.01, ** p<0.05, * p<0.1①截距估计值:3.998斜率估计值:0.133回归方程:Course_Eval=3.998+0.133*beauty//mean beautyMean estimation Number of obs = 463Mean Std.Err. 95% Conf. Interval beauty 4.75e-08 0.0367 -0.0720 0.0720②截距的估计值=Course_Eval的样本均值-斜率估计值*Beauty 的样本均值计算得Beauty的样本均值趋近于零,所以截距的估计值等于Course_Eval的样本均值。

斯托克计量经济学课后习题实证答案

斯托克计量经济学课后习题实证答案

斯托克计量经济学课后习题实证答案P ART T WO Solutions to EmpiricalExercisesChapter 3Review of StatisticsSolutions to Empirical Exercises1. (a)Average Hourly Earnings, Nominal $’sMean SE(Mean) 95% Confidence Interval AHE199211.63 0.064 11.50 11.75AHE200416.77 0.098 16.58 16.96Difference SE(Difference) 95% Confidence Interval AHE2004 AHE1992 5.14 0.117 4.91 5.37(b)Average Hourly Earnings, Real $2004Mean SE(Mean) 95% Confidence Interval AHE199215.66 0.086 15.49 15.82AHE200416.77 0.098 16.58 16.96Difference SE(Difference) 95% Confidence Interval AHE2004 AHE1992 1.11 0.130 0.85 1.37(c) The results from part (b) adjust for changes in purchasing power. These results should be used.(d)Average Hourly Earnings in 2004Mean SE(Mean) 95% Confidence Interval High School13.81 0.102 13.61 14.01College20.31 0.158 20.00 20.62Difference SE(Difference) 95% Confidence Interval College High School 6.50 0.188 6.13 6.87Solutions to Empirical Exercises in Chapter 3 109(e)Average Hourly Earnings in 1992 (in $2004)Mean SE(Mean) 95% Confidence Interval High School13.48 0.091 13.30 13.65 College19.07 0.148 18.78 19.36Difference SE(Difference) 95% Confidence Interval College High School5.59 0.173 5.25 5.93(f) Average Hourly Earnings in 2004Mean SE(Mean) 95% Confidence Interval AHE HS ,2004AHE HS ,19920.33 0.137 0.06 0.60 AHE Col ,2004AHE Col ,19921.24 0.217 0.82 1.66Col–HS Gap (1992)5.59 0.173 5.25 5.93 Col–HS Gap (2004)6.50 0.188 6.13 6.87Difference SE(Difference) 95% Confidence Interval Gap 2004 Gap 1992 0.91 0.256 0.41 1.41Wages of high school graduates increased by an estimated 0.33 dollars per hour (with a 95%confidence interval of 0.06 0.60); Wages of college graduates increased by an estimated 1.24dollars per hour (with a 95% confidence interval of 0.82 1.66). The College High School gap increased by an estimated 0.91 dollars per hour.(g) Gender Gap in Earnings for High School Graduates Yearm Y s m n m w Y s w n w m Y w Y SE (m Y w Y )95% CI 199214.57 6.55 2770 11.86 5.21 1870 2.71 0.173 2.37 3.05 200414.88 7.16 2772 11.92 5.39 1574 2.96 0.192 2.59 3.34There is a large and statistically significant gender gap in earnings for high school graduates.In 2004 the estimated gap was $2.96 per hour; in 1992 the estimated gap was $2.71 per hour(in $2004). The increase in the gender gap is somewhat smaller for high school graduates thanit is for college graduates.Chapter 4Linear Regression with One RegressorSolutions to Empirical Exercises1. (a) ·AHE 3.32 0.45 u AgeEarnings increase, on average, by 0.45 dollars per hour when workers age by 1 year.(b) Bob’s predicted earnings 3.32 0.45 u 26 $11.70Alexis’s predicted earnings 3.32 0.45 u 30 $13.70(c) The R2 is 0.02.This mean that age explains a small fraction of the variability in earnings acrossindividuals.2. (a)There appears to be a weak positive relationship between course evaluation and the beauty index.Course Eval 4.00 0.133 u Beauty. The variable Beauty has a mean that is equal to 0; the(b) ·_estimated intercept is the mean of the dependent variable (Course_Eval) minus the estimatedslope (0.133) times the mean of the regressor (Beauty). Thus, the estimated intercept is equalto the mean of Course_Eval.(c) The standard deviation of Beauty is 0.789. ThusProfessor Watson’s predicted course evaluations 4.00 0.133 u 0 u 0.789 4.00Professor Stock’s predicted course evaluations 4.00 0.133 u 1 u 0.789 4.105Solutions to Empirical Exercises in Chapter 4 111(d) The standard deviation of course evaluations is 0.55 and the standard deviation of beauty is0.789. A one standard deviation increase in beauty is expected to increase course evaluation by0.133 u 0.789 0.105, or 1/5 of a standard deviation of course evaluations. The effect is small.(e) The regression R2 is 0.036, so that Beauty explains only3.6% of the variance in courseevaluations.3. (a) ?Ed 13.96 0.073 u Dist. The regression predicts that if colleges are built 10 miles closerto where students go to high school, average years of college will increase by 0.073 years.(b) Bob’s predicted years of completed education 13.960.073 u 2 13.81Bob’s predicted years of completed education if he was 10 miles from college 13.96 0.073 u1 13.89(c) The regression R2 is 0.0074, so that distance explains only a very small fraction of years ofcompleted education.(d) SER 1.8074 years.4. (a)Yes, there appears to be a weak positive relationship.(b) Malta is the “outlying” observation with a trade share of 2.(c) ·Growth 0.64 2.31 u TradesharePredicted growth 0.64 2.31 u 1 2.95(d) ·Growth 0.96 1.68 u TradesharePredicted growth 0.96 1.68 u 1 2.74(e) Malta is an island nation in the Mediterranean Sea, south of Sicily. Malta is a freight transportsite, which explains its larg e “trade share”. Many goods coming into Malta (imports into Malta)and immediately transported to other countries (as exports from Malta). Thus, Malta’s importsand exports and unlike the imports and exports of most other countries. Malta should not beincluded in the analysis.Chapter 5Regression with a Single Regressor:Hypothesis Tests and Confidence IntervalsSolutions to Empirical Exercises1. (a) ·AHE 3.32 0.45 u Age(0.97) (0.03)The t -statistic is 0.45/0.03 13.71, which has a p -value of 0.000, so the null hypothesis can berejected at the 1% level (and thus, also at the 10% and 5% levels).(b) 0.45 r 1.96 u 0.03 0.387 to 0.517(c) ·AHE 6.20 0.26 u Age(1.02) (0.03)The t -statistic is 0.26/0.03 7.43, which has a p -value of 0.000, so the null hypothesis can berejected at the 1% level (and thus, also at the 10% and 5% levels).(d) ·AHE 0.23 0.69 u Age(1.54) (0.05)The t -statistic is 0.69/0.05 13.06, which has a p -value of 0.000, so the null hypothesis can berejected at the 1% level (and thus, also at the 10% and 5% levels).(e) The difference in the estimated E 1 coefficients is 1,1,??College HighScool E E 0.69 0.26 0.43. Thestandard error of for the estimated difference is SE 1,1,??()College HighScoolE E (0.032 0.052)1/2 0.06, so that a 95% confidence interval for the difference is 0.43 r 1.96 u 0.06 0.32 to 0.54(dollars per hour).2. ·_ 4.000.13CourseEval Beauty u (0.03) (0.03)The t -statistic is 0.13/0.03 4.12, which has a p -value of 0.000, so the null hypothesis can be rejectedat the 1% level (and thus, also at the 10% and 5% levels).3. (a) ?Ed13.96 0.073 u Dist (0.04) (0.013)The t -statistic is 0.073/0.013 5.46, which has a p -value of 0.000, so the null hypothesis can be rejected at the 1% level (and thus, also at the 10% and 5% levels).(b) The 95% confidence interval is 0.073 r 1.96 u 0.013 or0.100 to 0.047.(c) ?Ed13.94 0.064 u Dist (0.05) (0.018)Solutions to Empirical Exercises in Chapter 5 113(d) ?Ed13.98 0.084 u Dist (0.06) (0.013)(e) The difference in the estimated E 1 coefficients is 1,1,??Female Male E E 0.064 ( 0.084) 0.020.The standard error of for the estimated difference is SE 1,1,??()Female Male E E (0.0182 0.0132)1/20.022, so that a 95% confidence interval for the difference is 0.020 r 1.96 u 0.022 or 0.022 to0.064. The difference is not statistically different.Chapter 6Linear Regression with Multiple RegressorsSolutions to Empirical Exercises1. Regressions used in (a) and (b)Regressor a bBeauty 0.133 0.166Intro 0.011OneCredit 0.634Female 0.173Minority 0.167NNEnglish 0.244Intercept 4.00 4.07SER 0.545 0.513R2 0.036 0.155(a) The estimated slope is 0.133(b) The estimated slope is 0.166. The coefficient does not change by an large amount. Thus, theredoes not appear to be large omitted variable bias.(c) Professor Smith’s predicted course evaluation (0.166 u 0)0.011 u 0) (0.634 u 0) (0.173 u0) (0.167 u 1) (0.244 u 0) 4.068 3.9012. Estimated regressions used in questionModelRegressor a bdist 0.073 0.032bytest 0.093female 0.145black 0.367hispanic 0.398incomehi 0.395ownhome 0.152dadcoll 0.696cue80 0.023stwmfg80 0.051intercept 13.956 8.827SER 1.81 1.84R2 0.007 0.279R0.007 0.277Solutions to Empirical Exercises in Chapter 6 115(a) 0.073(b) 0.032(c) The coefficient has fallen by more than 50%. Thus, it seems that result in (a) did suffer fromomitted variable bias.(d) The regression in (b) fits the data much better as indicated by the R2, 2,R and SER. The R2 and R are similar because the number of observations is large (n 3796).(e) Students with a “dadcoll 1” (so that the student’s father went to college) complete 0.696 moreyears of education, on average, than students with “dadcoll 0” (so that the student’s father didnot go to college).(f) These terms capture the opportunity cost of attending college. As STWMFG increases, forgonewages increase, so that, on average, college attendance declines. The negative sign on thecoefficient is consistent with this. As CUE80 increases, it is more difficult to find a job, whichlowers the opportunity cost of attending college, so that college attendance increases. Thepositive sign on the coefficient is consistent with this.(g) Bob’s predicted years of education 0.0315 u 2 0.093 u58 0.145 u 0 0.367 u 1 0.398 u0 0.395 u 1 0.152 u 1 0.696 u 0 0.023 u 7.5 0.051 u 9.75 8.82714.75(h) Jim’s expected years of education is 2 u 0.0315 0.0630 less than Bob’s. Thus, Jim’s expectedyears of education is 14.75 0.063 14.69.3.Variable Mean StandardDeviation Unitsgrowth 1.86 1.82 Percentage Pointsrgdp60 3131 2523 $1960tradeshare 0.542 0.229 unit freeyearsschool 3.95 2.55 yearsrev_coups 0.170 0.225 coups per yearassasinations 0.281 0.494 assasinations per yearoil 0 0 0–1 indicator variable (b) Estimated Regression (in table format):Regressor Coefficienttradeshare 1.34(0.88)yearsschool 0.56**(0.13)rev_coups 2.15*(0.87)assasinations 0.32(0.38)rgdp60 0.00046**(0.00012)intercept 0.626(0.869)SER 1.59R2 0.29R0.23116 Stock/Watson - Introduction to Econometrics - Second EditionThe coefficient on Rev_Coups is í2.15. An additional coup in a five year period, reduces theaverage year growth rate by (2.15/5) = 0.43% over this 25 year period. This means the GPD in 1995 is expected to be approximately .43×25 = 10.75% lower. This is a larg e effect.(c) The 95% confidence interval is 1.34 r 1.96 u 0.88 or 0.42 to 3.10. The coefficient is notstatistically significant at the 5% level.(d) The F-statistic is 8.18 which is larger than 1% critical value of 3.32.Chapter 7Hypothesis Tests and Confidence Intervals in Multiple RegressionSolutions to Empirical Exercises1. Estimated RegressionsModelRegressor a bAge 0.45(0.03)0.44 (0.03)Female 3.17(0.18)Bachelor 6.87(0.19)Intercept 3.32(0.97)SER 8.66 7.88R20.023 0.1902R0.022 0.190(a) The estimated slope is 0.45(b) The estimated marginal effect of Age on AHE is 0.44 dollars per year. The 95% confidenceinterval is 0.44 r 1.96 u 0.03 or 0.38 to 0.50.(c) The results are quite similar. Evidently the regression in (a) does not suffer from importantomitted variable bias.(d) Bob’s predicted average hourly earnings 0.44 u 26 3.17 u 0 6.87 u 0 3.32 $11.44Alexis’s predicted average hourly earnings 0.44 u 30 3.17 u 1 6.87 u 1 3.32 $20.22 (e) The regression in (b) fits the data much better. Gender and education are important predictors of earnings. The R2 and R are similar because the sample size is large (n 7986).(f) Gender and education are important. The F-statistic is 752, which is (much) larger than the 1%critical value of 4.61.(g) The omitted variables must have non-zero coefficients and must correlated with the includedregressor. From (f) Female and Bachelor have non-zero coefficients; yet there does not seem to be important omittedvariable bias, suggesting that the correlation of Age and Female and Age and Bachelor is small. (The sample correlations are ·Cor(Age, Female) 0.03 and·Cor(Age,Bachelor) 0.00).118 Stock/Watson - Introduction to Econometrics - Second Edition2.ModelRegressor a b cBeauty 0.13**(0.03) 0.17**(0.03)0.17(0.03)Intro 0.01(0.06)OneCredit 0.63**(0.11) 0.64** (0.10)Female 0.17**(0.05) 0.17** (0.05)Minority 0.17**(0.07) 0.16** (0.07)NNEnglish 0.24**(0.09) 0.25** (0.09)Intercept 4.00**(0.03) 4.07**(0.04)4.07**(0.04)SER 0.545 0.513 0.513R2 0.036 0.155 0.1552R0.034 0.144 0.145(a) 0.13 r 0.03 u 1.96 or 0.07 to 0.20(b) See the table above. Intro is not significant in (b), but the other variables are significant.A reasonable 95% confidence interval is 0.17 r 1.96 u 0.03 or0.11 to 0.23.Solutions to Empirical Exercises in Chapter 7 119 3.ModelRegressor (a) (b) (c)dist 0.073**(0.013) 0.031**(0.012)0.033**(0.013)bytest 0.092**(0.003) 0.093** (.003)female 0.143**(0.050) 0.144** (0.050)black 0.354**(0.067) 0.338** (0.069)hispanic 0.402**(0.074) 0.349** (0.077)incomehi 0.367**(0.062) 0.374** (0.062)ownhome 0.146*(0.065) 0.143* (0.065)dadcoll 0.570**(0.076) 0.574** (0.076)momcoll 0.379**(0.084) 0.379** (0.084)cue80 0.024**(0.009) 0.028** (0.010)stwmfg80 0.050*(0.020) 0.043* (0.020)urban 0.0652(0.063) tuition 0.184(0.099)intercept 13.956**(0.038) 8.861**(0.241)8.893**(0.243)F-statitisticfor urban and tuitionSER 1.81 1.54 1.54R2 0.007 0.282 0.284R0.007 0.281 0.281(a) The group’s claim is that the coefficien t on Dist is 0.075 ( 0.15/2). The 95% confidence forE Dist from column (a) is 0.073 r 1.96 u 0.013 or 0.099 to 0.046. The group’s claim is includedin the 95% confidence interval so that it is consistent with the estimated regression.120 Stock/Watson - Introduction to Econometrics - Second Edition(b) Column (b) shows the base specification controlling for other important factors. Here thecoefficient on Dist is 0.031, much different than the resultsfrom the simple regression in (a);when additional variables are added (column (c)), the coefficient on Dist changes little from the result in (b). From the base specification (b), the 95% confidence interval for E Dist is0.031 r1.96 u 0.012 or 0.055 to 0.008. Similar results are obtained from the regression in (c).(c) Yes, the estimated coefficients E Black and E Hispanic are positive, large, and statistically significant.Chapter 8Nonlinear Regression FunctionsSolutions to Empirical Exercises1. This table contains the results from seven regressions that are referenced in these answers.Data from 2004(1) (2) (3) (4) (5) (6) (7) (8)Dependent VariableAHE ln(AHE) ln(AHE) ln(AHE) ln(AHE) ln(AHE) ln(AHE) ln(AHE) Age 0.439**(0.030) 0.024**(0.002)0.147**(0.042)0.146**(0.042)0.190**(0.056)0.117*(0.056)0.160Age2 0.0021**(0.0007) 0.0021** (0.0007)0.0027**(0.0009)0.0017(0.0009)0.0023(0.0011)ln(Age) 0.725**(0.052)Female u Age 0.097 (0.084) 0.123 (0.084) Female u Age2 0.0015 (0.0014)0.0019 (0.0014) Bachelor u Age 0.064 (0.083)0.091 (0.084) Bachelor u Age2 0.0009 (0.0014) 0.0013 (0.0014) Female 3.158**(0.176) 0.180**(0.010)0.180**(0.010)0.180**(0.010)(0.014)1.358*(1.230)0.210**(0.014)1.764(1.239)Bachelor 6.865**(0.185) 0.405**(0.010)0.405**(0.010)0.405**(0.010)0.378**(0.014)0.378**(0.014)0.769(1.228)1.186(1.239)Female u Bachelor 0.064** (0.021) 0.063**(0.021)0.066**(0.021)0.066**(0.021)Intercept 1.884(0.897) 1.856**(0.053)0.128(0.177)0.059(0.613)0.078(0.612)0.633(0.819)0.604(0.819)0.095(0.945)F-statistic and p-values on joint hypotheses(a) F-statistic on terms involving Age 98.54(0.00)100.30(0.00)51.42(0.00)53.04(0.00)36.72(0.00)(b) Interaction termswithAge24.12(0.02)7.15(0.00)6.43(0.00)SER 7.884 0.457 0.457 0.457 0.457 0.456 0.456 0.456 R0.1897 0.1921 0.1924 0.1929 0.1937 0.1943 0.1950 0.1959 Significant at the *5% and **1% significance level.122 Stock/Watson - Introduction to Econometrics - Second Edition(a) The regression results for this question are shown in column (1) of the table. If Age increasesfrom 25 to 26, earnings are predicted to increase by $0.439 per hour. If Age increases from33 to 34, earnings are predicted to increase by $0.439 per hour. These values are the samebecause the regression is a linear function relating AHE and Age .(b) The regression results for this question are shown in column (2) of the table. If Age increasesfrom 25 to 26, ln(AHE ) is predicted to increase by 0.024. This means that earnings are predicted to increase by 2.4%. If Age increases from 34 to 35, ln(AHE ) is predicted to increase by 0.024.This means that earnings are predicted to increase by 2.4%. These values, in percentage terms,are the same because the regression is a linear function relating ln(AHE ) and Age .(c) The regression results for this question are shown in column (3) of the table. If Age increasesfrom 25 to 26, then ln(Age ) has increased by ln(26) ln(25) 0.0392 (or 3.92%). The predictedincrease in ln(AHE ) is 0.725 u (.0392) 0.0284. This means that earnings are predicted toincrease by 2.8%. If Age increases from 34 to 35, then ln(Age ) has increased by ln(35) ln(34) .0290 (or 2.90%). The predicted increase in ln(AHE ) is 0.725 u (0.0290) 0.0210. This means that earnings are predicted to increase by 2.10%.(d) When Age increases from 25 to 26, the predicted change in ln(AHE ) is(0.147 u 26 0.0021 u 262) (0.147 u 25 0.0021 u 252) 0.0399.This means that earnings are predicted to increase by 3.99%.When Age increases from 34 to 35, the predicted change in ln(AHE ) is(0. 147 u 35 0.0021 u 352) (0. 147 u 34 0.0021 u 342) 0.0063.This means that earnings are predicted to increase by 0.63%.(e) The regressions differ in their choice of one of the regressors. They can be compared on the basis of the .R The regression in (3) has a (marginally) higher 2,R so it is preferred.(f) The regression in (4) adds the variable Age 2 to regression(2). The coefficient on Age 2 isstatistically significant ( t 2.91), and this suggests that the addition of Age 2 is important. Thus,(4) is preferred to (2).(g) The regressions differ in their choice of one of the regressors. They can be compared on the basis of the .R The regression in (4) has a (marginally) higher 2,R so it is preferred.(h)Solutions to Empirical Exercises in Chapter 8 123 The regression functions using Age (2) and ln(Age) (3) are similar. The quadratic regression (4) is different. It shows a decreasing effect of Age on ln(AHE) as workers age.The regression functions for a female with a high school diploma will look just like these, but they will be shifted by the amount of the coefficient on the binary regressor Female. The regression functions for workers with a bachelor’s degree will also look just like these, but they would be shifted by the amount of the coefficient on the binary variable Bachelor.(i) This regression is shown in column (5). The coefficient on the interaction term Female uBachelor shows the “extra effect” of Bachelor on ln(AHE) for women relative the effect for men.Predicted values of ln(AHE):Alexis: 0.146 u 30 0.0021 u 302 0.180 u 1 0.405 u 1 0.064 u 1 0.078 4.504Jane: 0.146 u 30 0.0021 u 302 0.180 u 1 0.405 u 0 0.064 u 0 0.078 4.063Bob: 0.146 u 30 0.0021 u 302 0.180 u 0 0.405 u 1 0.064 u 0 0.078 4.651Jim: 0.146 u 30 0.0021 u 302 0.180 u 0 0.405 u 0 0.064 u 0 0.078 4.273Difference in ln(AHE): Alexis Jane 4.504 4.063 0.441Difference in ln(AHE): Bob Jim 4.651 4.273 0.378Notice that the difference in the difference predicted effects is 0.441 0.378 0.063, which is the value of the coefficient on the interaction term.(j) This regression is shown in (6), which includes two additional regressors: the interactions of Female and the age variables, Age and Age2. The F-statistic testing the restriction that the coefficients on these interaction terms is equal to zero is F 4.12 with a p-value of 0.02. This implies that there is statistically significant evidence (at the 5% level) that there is a different effect of Age on ln(AHE) for men and women.(k) This regression is shown in (7), which includes two additional regressors that are interactions of Bachelor and the age variables, Age and Age2. The F-statistic testing the restriction that the coefficients on these interaction terms is zero is 7.15 with a p-value of 0.00. This implies that there is statistically significant evidence (at the 1% level) that there is a different effect of Age on ln(AHE) for high school and college graduates.(l) Regression (8) includes Age and Age2 and interactions terms involving Female and Bachelor.The figure below shows the regressions predicted value of ln(AHE) for male and females with high school and college degrees.124 Stock/Watson - Introduction to Econometrics - Second EditionThe estimated regressions suggest that earnings increase as workers age from 25–35, the rangeof age studied in this sample. There is evidence that the quadratic term Age2 belongs in theregression. Curvature in the regression functions in particularly important for men.Gender and education are significant predictors of earnings, and there are statistically significant interaction effects between age and gender and age and education. The table below summarizes the regressions predictions for increases in earnings as a person ages from 25 to 32 and 32 to 35Gender, Education Predicted ln(AHE) at Age(Percent per year)25 32 35 25 to 32 32 to 35Males, High School 2.46 2.65 2.67 2.8% 0.5%Females, BA 2.68 2.89 2.93 3.0% 1.3%Males, BA 2.74 3.06 3.09 4.6% 1.0%Earnings for those with a college education are higher than those with a high school degree, andearnings of the college educated increase more rapidly early in their careers (age 25–32). Earnings for men are higher than those of women, and earnings of men increase more rapidly early in theircareers (age 25–32). For all categories of workers (men/women, high school/college) earningsincrease more rapidly from age 25–32 than from 32–35.。

计量经济学第七章

计量经济学第七章

P lim( 1 xt t ) n 1 P lim( 1 xt2 ) n 1 Cov( X t , t ) Var( X t ) 0
3)如果X与同期相关,得到的参数估计量 有偏、且非一致。
2的证明中已得到 注意: 如果模型中带有滞后被解释变量作为解释变量, 则当该滞后被解释变量与随机误差项同期相关时, OLS估计量是有偏的、且是非一致的。
第七章 关于虚拟变量的回归与随 机解释变量问题

虚拟变量的性质 含有虚拟变量的回归问题 比较两个回归——虚拟变量法 随机解释变量问题
一、虚拟变量的性质

许多经济变量是可以定量度量的,如:商品需求量、价格、 收入、产量等 但也有一些影响经济变量的因素无法定量度量,如:职业、 性别对收入的影响,战争、自然灾害对GDP的影响,季节 对某些产品(如冷饮)销售的影响等等。 为了在模型中能够反映这些因素的影响,并提高模型的精 度,需要将它们“量化”,这种“量化”通常是通过引入 “虚拟变量”来完成的。根据这些因素的属性类型,构造 只取“0”或“1”的人工变量,通常称为虚拟变量 (dummy variables),记为D。


一、虚拟变量的性质

虚拟变量(定性变量、范畴变量):


用来表示某一“性质”或属性出现或不出现, 通常取值0或1,因而也称两值变量或两分变 量。 如:x表示性别,0=男性,1=女性 或x=0表示政策实施前,x=1表示政策实施 后。
一、虚拟变量的性质

例:教授薪金与性别、教龄的关系

男教授平均薪金和女 教授平均薪金水平相 差2,但平均年薪对 教龄的变化率是一样 的
利润t 6515 581 1331 352D2t 0.0393 . . 销售t se : (1623 1) (493.02) . (0.0106 ) t: (4.0143 (2.7004 ) ) (3.7173 r 2 0.515 )

詹姆斯·斯托克,马克·沃森计量经济学第三章实证练习stata答案

詹姆斯·斯托克,马克·沃森计量经济学第三章实证练习stata答案

一、Two-sample t test with equal variancesGroup Obs Mean Std.Err. Std.Dev. 95% Conf. Interval1992 7,612 11.62 0.0644 5.619 11.49 11.742012 7,440 19.80 0.124 10.69 19.56 20.04combined 15,052 15.66 0.0770 9.442 15.51 15.81diff -8,183 0.139 -8.455 -7.911 diff = mean(1992) - mean(2012) t = -58.9871Ho: diff = 0 degrees of freedom = 15050Ha: diff < 0 Ha: diff != 0 Ha: diff > 0Pr(T < t) = 0.0000 Pr(|T| > |t|) = 0.0000 Pr(T > t) = 1.0000二、Two-sample t test with equal variancesGroup Obs Mean Std.Err. Std.Dev. 95% Conf. Interval 1992 7,612 15.64 0.0867 7.564 15.47 15.81 2012 7,440 19.80 0.124 10.69 19.56 20.04 combined 15,052 17.69 0.0772 9.471 17.54 17.85 diff -4.164 0.151 -4.459 -3.869diff = mean(1992) - mean(2012) t = -27.6423Ho: diff = 0 degrees of freedom = 15050Ha: diff < 0 Ha: diff != 0 Ha: diff > 0Pr(T < t) = 0.0000 Pr(|T| > |t|) = 0.0000 Pr(T > t) = 1.0000三、第二题根据通货膨胀率进行了调整,反映了购买力的变化,所以可用利用第二题的结果进行分析。

计量经济学第七章答案

计量经济学第七章答案

练习题7.1参考解答(1)先用第一个模型回归,结果如下:22216.4269 1.008106 t=(-6.619723) (67.0592)R 0.996455 R 0.996233 DW=1.366654 F=4496.936PCE PDI =-+==利用第二个模型进行回归,结果如下:122233.27360.9823820.037158 t=(-5.120436) (6.970817) (0.257997)R 0.996542 R 0.996048 DW=1.570195 F=2017.064t t t PCE PDI PCE -=-++==(2)从模型一得到MPC=1.008106;从模型二得到,短期MPC=0.982382,长期MPC=0.982382+(0.037158)=1.01954练习题7.2参考答案(1)在局部调整假定下,先估计如下形式的一阶自回归模型:*1*1*0*t t t t u Y X Y +++=-ββα估计结果如下:122ˆ15.104030.6292730.271676 se=(4.72945) (0.097819) (0.114858)t= (-3.193613) (6.433031) (2.365315)R =0.987125 R =0.985695 F=690.0561 DW=1.518595t t t Y X Y -=-++根据局部调整模型的参数关系,有****1 1 t tu u αδαβδββδδ===-=将上述估计结果代入得到:*1110.2716760.728324δβ=-=-=*20.738064ααδ==-*0.864001ββδ==故局部调整模型估计结果为:*ˆ20.7380640.864001t tY X =-+经济意义解释:该地区销售额每增加1亿元,未来预期最佳新增固定资产投资为0.864001亿元。

运用德宾h检验一阶自相关:(121(1 1.34022d h =-=-⨯=在显著性水平05.0=α上,查标准正态分布表得临界值,由于,则接收21.96h α=21.3402 1.96h h α=<=原假设0=ρ,说明自回归模型不存在一阶自相关。

伍德里奇---计量经济学第7章部分计算机习题详解(STATA)

伍德里奇---计量经济学第7章部分计算机习题详解(STATA)

班级:金融学×××班姓名:××学号:×××××××C7.10 NBASAL.RAWpoints=β0+β1exper+β2exper2+β3guard+β4forward+u 解:(ⅰ)估计一个线性回归模型,将单场得分与联赛中打球经历和位置(后卫、前锋或中锋)联系起来。

包括打球经历的二次项形式,并将中锋作为基组。

以通常形式报告结果。

由上图可知:points=4.76+1.28exper−0.072exper2+2.31guard+1.54forward1.180.330.024 1.00 (1.00)n=269,R2=0.0910,R2=0.0772。

(ⅱ)在第(ⅰ)部分中,你为什么不将所有三个位置虚拟变量包括进来?由于forward+center+guard=1,意味着forward和guard之和是center的一个线性函数,所以如果在模型中同时使用三个虚拟变量将会导致完全多重共线性,即包括三个位置虚拟变量会掉入虚拟变量陷阱,故不能将三个位置虚拟变量都包括在模型中。

(ⅲ)保持经历不变,一个后卫的得分比一个中锋多吗?多多少?这个差异统计显著吗?由(ⅰ)中估计方程可知:一个后卫的得分比一个中锋多,且多得2.31分。

同时,guard的t统计量为2.31,所以这个差异统计显著。

(ⅳ)现在,将婚姻状况加入方程。

保持位置和经历不变,已婚球员是否更高效?将婚姻状况加入方程后,回归结果如下所示:points=4.703+1.233exper−0.0704exper2+2.286guard+1.541forward+0.584marr1.180.330.024 1.00 1.00 (0.74)n=269,R2=0.0931,R2=0.0759。

从方程中marr的系数不难发现:在保持位置和经历不变时,已婚球员每场得分比没结婚的球员高0.5分,可是事实上,变量marr的t统计量为0.789,t检验的p值为43.1%,所以marr统计并不显著,故无法得出“已婚球员得分更高效”的结论。

斯托克计量经济学第八章第九章stata实证

斯托克计量经济学第八章第九章stata实证

E8.1(1) (2) (3) (4)ahe lnahe lnahe lnahe age 0.585***0.0273***0.0814(0.0365) (0.00186) (0.0434) female -3.664***-0.186***-0.186***-0.186***(0.208) (0.0108) (0.0108) (0.0108) bachelor 8.083***0.428***0.428***0.428***(0.213) (0.0108) (0.0108) (0.0108) lnage 0.804***(0.0545)age2 -0.000915(0.000735) _cons -0.636 1.876***-0.0345 1.085(1.083) (0.0559) (0.185) (0.635) N7711 7711 7711 7711R20.200 0.201 0.201 0.201 adj. R20.1995 0.2003 0.2005 0.2004 Standard errors in parentheses (表1)*p < 0.05, **p < 0.01, ***p < 0.001(1)该问的回归结果如表第(1)列所示。

如果age从25增加到26岁,则预期收入每小时增加0.585美元。

如果age从33增加到34岁,则预期收入也是每小时增加0.585美元。

(2)该问的回归结果如表第(2)列所示。

如果age从25增加到26,则lnahe预计增加0.0273,即预期收入每小时增加2.73%。

如果age从33增加到34岁,则预期收入也是每小时增加2.73%。

(3)该问的回归结果如表第(3)列所示。

如果age从25增加到26岁,则lnage增加ln26-ln25≈0.04,预计lnahe增加0.04×0.804=0.03216,所以预期收入每小时增加3.216%。

计量经济学作业第七章

计量经济学作业第七章

计量经济学作业第七章习题7.4 ⼀个解释了CEO 薪⽔的⼯资⽅程是()()()()()()()()357.0,209099.0085.0283.0181.0089.0004.0032.030.0158.0011.0ln 257.059.4ln 2==-++++=∧R n utilityconsprod financeroe sales salary所⽤数据在RAW CEOSAL .1中给出,其中finance ,consprod 和utility 分别是表⽰⾦融业、消费品⾏业和公⽤事业单位的⼆值变量。

被省略的产业是交通运输业。

(1)保持sales 和roe 不变,计算公⽤事业和交通运输业CEO 薪⽔估计值的近似百分⽐差异。

在%1的显著性⽔平上,这个差异是统计上显著的吗?解模型中交通运输业是对照组,由估计⽅程直接可以看到,在保持sales 和roe 不变的情况下,预计公⽤事业的CEO 薪⽔估计值⽐交通运输业的CEO 薪⽔估计值要低28.3%。

utility 的t 统计量859.2099.0283.0-=-==∧∧utility utilityutility se t ββ,在%1的显著性⽔平上t 统计量的临界值等于2.576。

所以在%1的显著性⽔平上,这个差异是统计上显著。

(2)利⽤⽅程(7.10)求解公⽤事业和交通运输业估计薪⽔的精确百分⽐差异,并与第(1)部分中的回答进⾏⽐较。

解根据⽅程(7.10)可得:()()6.241754.010011001100283.0-=-=-=??--∧e e utility β,所以公⽤事业和交通运输业估计薪⽔的精确百分⽐差异为24.6%,这个更精确的结果意味着在保持sales 和roe 不变的情况下公⽤事业的CEO 薪⽔估计值⽐交通运输业要低24.6%。

由此可以看出,相对于(1)⽽⾔,公⽤事业的CEO 薪⽔估计值与交通运输业的CEO 薪⽔估计值的真实差异要更⼩⼀些。

计量经济学stata操作指南

计量经济学stata操作指南

计量经济学stata操作(实验课)第一章stata基本知识1、stata窗口介绍2、基本操作(1)窗口锁定:Edit-preferences-general preferences-windowing-lock splitter (2)数据导入(3)打开文件:use E:\example.dta,clear(4)日期数据导入:gen newvar=date(varname, “ymd”)format newvar %td 年度数据gen newvar=monthly(varname, “ym”)format newvar %tm 月度数据gen newvar=quarterly(varname, “yq”)format newvar %tq 季度数据(5)变量标签Label variable tc ` “total output” ’(6)审视数据describelist x1 x2list x1 x2 in 1/5list x1 x2 if q>=1000drop if q>=1000keep if q>=1000(6)考察变量的统计特征summarize x1su x1 if q>=10000su q,detailsutabulate x1correlate x1 x2 x3 x4 x5 x6(7)画图histogram x1, width(1000) frequencykdensity x1scatter x1 x2twoway (scatter x1 x2) (lfit x1 x2)twoway (scatter x1 x2) (qfit x1 x2)(8)生成新变量gen lnx1=log(x1)gen q2=q^2gen lnx1lnx2=lnx1*lnx2gen larg=(x1>=10000)rename larg largeg large=(q>=6000)replace large=(q>=6000)drop ln*(8)计算功能display log(2)(9)线性回归分析regress y1 x1 x2 x3 x4vce #显示估计系数的协方差矩阵reg y1 x1 x2 x3 x4,noc #不要常数项reg y1 x1 x2 x3 x4 if q>=6000reg y1 x1 x2 x3 x4 if largereg y1 x1 x2 x3 x4 if large==0reg y1 x1 x2 x3 x4 if ~largepredict yhatpredict e1,residualdisplay 1/_b[x1]test x1=1 # F检验,变量x1的系数等于1test (x1=1) (x2+x3+x4=1) # F联合假设检验test x1 x2 #系数显著性的联合检验testnl _b[x1]= _b[x2]^2(10)约束回归constraint def 1 x1+x2+x3=1cnsreg y1 x1 x2 x3 x4,c(1)cons def 2 x4=1cnsreg y1 x1 x2 x3 x4,c(1-2)(11)stata的日志File-log-begin-输入文件名log off 暂时关闭log on 恢复使用log close 彻底退出(12)stata命令库更新Update allhelp command第二章有关大样本ols的stata命令及实例(1)ols估计的稳健标准差reg y x1 x2 x3,robust(2)实例use example.dta,clearreg y1 x1 x2 x3 x4test x1=1reg y1 x1 x2 x3 x4,rtestnl _b[x1]=_b[x2]^2第三章最大似然估计法的stata命令及实例(1)最大似然估计help ml(2)LR检验lrtest #对面板数据中的异方差进行检验(3)正态分布检验sysuse auto #调用系统数据集auto.dtahist mpg,normalkdensity mpg,normalqnorm mpg*手工计算JB统计量sum mpg,detaildi (r(N)/6)*((r(skewness)^2)+[(1/4)*(r(kurtosis)-3)^2])di chi2tail(自由度,上一步计算值)*下载非官方程序ssc install jb6jb6 mpg*正态分布的三个检验sktest mpgswilk mpgsfrancia mpg*取对数后再检验gen lnmpg=log(mpg)kdensity lnmpg, normaljb6 lnmpgsktest lnmpg第四章处理异方差的stata命令及实例(1)画残差图rvfplotrvfplot varname*例题use example.dta,clearreg y x1 x2 x3 x4rvfplot # 与拟合值的散点图rvfplot x1 # 画残差与解释变量的散点图(2)怀特检验estat imtest,white*下载非官方软件ssc install whitetst(3)BP检验estat hettest #默认设置为使用拟合值estat hettest,rhs #使用方程右边的解释变量estat hettest [varlist] #指定使用某些解释变量estat hettest,iidestat hettest,rhs iidestat hettest [varlist],iid(4)WLSreg y x1 x2 x3 x4 [aw=1/var]*例题quietly reg y x1 x2 x3 x4predict e1,resgen e2=e1^2gen lne2=log(e2)reg lne2 x2,nocpredict lne2fgen e2f=exp(lne2f)reg y x1 x2 x3 x4 [aw=1/e2f](5)stata命令的批处理(写程序)Window-do-file editor-new do-file#WLS for examplelog using E:\wls_example.smcl,replaceset more offuse E:\example.dta,clearreg y x1 x2 x3 x4predict e1,resgen e2=e1^2g lne2=log(e2)reg lne2 x2,nocpredict lne2fg e2f=exp(lne2f)*wls regressionreg y x1 x2 x3 x4 [aw=1/e2f]log closeexit第五章处理自相关的stata命令及实例(1)滞后算子/差分算子tsset yearl.l2.D.D2.LD.(2)画残差图scatter e1 l.e1ac e1pac e1(3)BG检验estat bgodfrey(默认p=1)estat bgodfrey,lags(p)estat bgodfrey,nomiss0(使用不添加0的BG检验)(4)Ljung-Box Q检验reg y x1 x2 x3 x4predict e1,residwntestq e1wntestq e1,lags(p)* wntestq指的是“white noise test Q”,因为白噪声没有自相关(5)DW检验做完OLS回归后,使用estat dwatson(6)HAC稳健标准差newey y x1 x2 x3 x4,lag(p)reg y x1 x2 x3 x4,cluster(varname)(7)处理一阶自相关的FGLSprais y x1 x2 x3 x4 (使用默认的PW估计方法)prais y x1 x2 x3 x4,corc (使用CO估计法)(8)实例use icecream.dta, cleartsset timegraph twoway connect consumption temp100 time, msymbol(circle) msymbol(triangle) reg consumption temp price incomepredict e1, resg e2=l.e1twoway (scatter e1 e2) (lfit e1 e2)ac e1pac e1estat bgodfreywntestq e1estat dwatsonnewey consumption temp price income, lag (3)prais consumption temp price income, corcprais consumption temp price income, nologreg consumption temp l.temp price incomeestat bgodfreyestat dwatson第六章模型设定与数据问题(1)解释变量的选择reg y x1 x2 x3estat ic*例题use icecream.dta, clearreg consumption temp price incomeestat icreg consumption temp l.temp price incomeestat ic(2)对函数形式的检验(reset检验)reg y x1 x2 x3estat ovtest (使用被解释变量的2、3、4次方作为非线性项)estat ovtest, rhs (使用解释变量的幂作为非线性项,ovtest-omitted variable test)*例题use nerlove.dta, clearreg lntc lnq lnpl lnpk lnpfestat ovtestg lnq2=lnq^2reg lntc lnq lnq2 lnpl lnpk lnpfestat ovtest(3)多重共线性estat vif*例题use nerlove.dta, clearreg lntc lnq lnpl lnpk lnpfestat vif(4)极端数据reg y x1 x2 x3predict lev, leverage (列出所有解释变量的lev值)gsort –levsum levlist lev in 1/3*例题use nerlove.dta, clearquietly reg lntc lnq lnpl lnpk lnpfpredict lev, leveragesum levgsort –levlist lev in 1/3(5)虚拟变量gen d=(year>=1978)tabulate province, generate (pr)reg y x1 x2 x3 pr2-pr30(6)经济结构变动的检验方法1:use consumption_china.dta, cleargraph twoway connect c y year, msymbol(circle) msymbol(triangle)reg c yreg c y if year<1992reg c y if year>=1992计算F统计量方法2:gen d=(year>1991)gen yd=y*dreg c y d ydtest d yd第七章工具变量法的stata命令及实例(1)2SLS的stata命令ivregress 2sls depvar [varlist1] (varlist2=instlist)如:ivregress 2sls y x1 (x2=z1 z2)ivregress 2sls y x1 (x2 x3=z1 z2 z3 z4) ,r firstestat firststage,all forcenonrobust (检验弱工具变量的命令)ivregress liml depvar [varlist 1] (varlist2=instlist)estat overid (过度识别检验的命令)*对解释变量内生性的检验(hausman test),缺点:不适合于异方差的情形reg y x1 x2estimates store olsivregress 2sls y x1 (x2=z1 z2)estimates store ivhausman iv ols, constant sigmamore*DWH检验estat endogenous*GMM的过度识别检验ivregress gmm y x1 (x2=z1 z2) (两步GMM)ivregress gmm y x1 (x2=z1 z2),igmm (迭代GMM)estat overid*使用异方差自相关稳健的标准差GMM命令ivregress gmm y x1 (x2=z1 z2), vce (hac nwest[#])(2)实例use grilic.dta,clearsumcorr iq sreg lw s expr tenure rns smsa,rreg lw s iq expr tenure rns smsa,rivregress 2sls lw s expr tenure rns smsa (iq=med kww mrt age),restat overidivregress 2sls lw s expr tenure rns smsa (iq=med kww),r firstestat overidestat firststage, all forcenonrobust (检验工具变量与内生变量的相关性)ivregress liml lw s expr tenure rns smsa (iq=med kww),r*内生解释变量检验quietly reg lw s iq expr tenure rns smsaestimates store olsquietly ivregress 2sls lw s expr tenure rns smsa (iq=med kww)estimates store ivhausman iv ols, constant sigmamoreestat endogenous (存在异方差的情形)*存在异方差情形下,GMM比2sls更有效率ivregress gmm lw s expr tenure rns smsa (iq=med kww)estat overidivregress gmm lw s expr tenure rns smsa (iq=med kww),igmm*将各种估计方法的结果存储在一张表中quietly ivregress gmm lw s expr tenure rns smsa (iq=med kww)estimates store gmmquietly ivregress gmm lw s expr tenure rns smsa (iq=med kww),igmmestimates store igmmestimates table gmm igmm第八章短面板的stata命令及实例(1)面板数据的设定xtset panelvar timevarencode country,gen(cntry) (将字符型变量转化为数字型变量)xtdesxtsumxttab varnamextline varname,overlay*实例use traffic.dta,clearxtset state yearxtdesxtsum fatal beertax unrate state yearxtline fatal(2)混合回归reg y x1 x2 x3,vce(cluster id)如:reg fatal beertax unrate perinck,vce(cluster state)estimates store ols对比:reg fatal beertax unrate perinck(3)固定效应xtreg y x1 x2 x3,fe vce(cluster id)xi:reg y x1 x2 x3 i.id,vce(cluster id) (LSDV法)xtserial y x1 x2 x3,output (一阶差分法,同时报告面板一阶自相关)estimates store FD*双向固定效应模型tab year, gen (year)xtreg fatal beertax unrate perinck year2-year7, fe vce (cluster state)estimates store FE_TWtest year2 year3 year4 year5 year6 year7(4)随机效应xtreg y x1 x2 x3,re vce(cluster id) (随机效应FGLS)xtreg y x1 x2 x3,mle (随机效应MLE)xttest0 (在执行命令xtreg, re 后执行,进行LM检验)(5)组间估计量xtreg y x1 x2 x3,be(6)固定效应还是随机效应:hausman testxtreg y x1 x2 x3,feestimates store fextreg y x1 x2 x3,reestimates store rehausman fe re,constant sigmamore (若使用了vce(cluster id),则无法直接使用该命令,解决办法详见P163)estimates table ols fe_robust fe_tw re be, b se (将主要回归结果列表比较)第九章长面板与动态面板(1)仅解决组内自相关的FGLSxtpcse y x1 x2 x3 ,corr(ar1) (具有共同的自相关系数)xtpcse y x1 x2 x3 ,corr(psar1) (允许每个面板个体有自身的相关系数)例题:use mus08cigar.dta,cleartab state,gen(state)gen t=year-62reg lnc lnp lnpmin lny state2-state10 t,vce(cluster state)estimates store OLSxtpcse lnc lnp lnpmin lny state2-state10 t,corr(ar1) (考虑存在组内自相关,且各组回归系数相同)estimates store AR1xtpcse lnc lnp lnpmin lny state2-state10 t,corr(psar1) (考虑存在组内自相关,且各组回归系数不相同)estimates store PSAR1xtpcse lnc lnp lnpmin lny state2-state10 t, hetonly (仅考虑不同个体扰动性存在异方差,忽略自相关)estimates store HETONL Yestimates table OLS AR1 PSAR1 HETONL Y, b se(2)同时处理组内自相关与组间同期相关的FGLSxtgls y x1 x2 x3,panels (option/iid/het/cor) corr(option/ar1/psar1) igls注:执行上述xtpcse、xtgls命令时,如果没有个体虚拟变量,则为随机效应模型;如果加上个体虚拟变量,则为固定效应模型。

计量经济学实验报告 stata

计量经济学实验报告 stata

计量经济学实验报告 stata计量经济学实验报告导言计量经济学是经济学中的一个重要分支,通过运用数学和统计学的方法来研究经济现象。

在实证研究中,计量经济学实验是一种重要的手段,可以帮助经济学家验证理论假设、评估政策效果以及预测经济变量。

本报告将介绍我在使用stata软件进行计量经济学实验的过程和结果。

实验设计在实验设计阶段,我首先明确了研究问题和目标。

本次实验的目标是探究教育对个体收入的影响,并评估教育对收入的回报率。

为了实现这一目标,我选择了一个具有代表性的样本,包括不同教育水平的个体,并收集了相关的数据,包括教育程度、工作经验、年龄、性别和收入等变量。

数据处理在数据处理阶段,我首先导入了数据,并进行了数据清洗和整理。

我使用了stata中的命令来处理缺失值、异常值和重复值,并对数据进行了描述性统计分析。

通过对数据的初步分析,我发现了一些有趣的现象和变量之间的关联。

数据分析在数据分析阶段,我使用了stata中的计量经济学方法来研究教育对收入的影响。

首先,我运用了OLS(最小二乘法)回归模型来估计教育对收入的线性关系。

结果显示,教育水平与收入呈正相关,即受教育程度越高,收入越高。

这一结果与我们的研究假设相符。

然后,我进一步拓展了模型,引入了其他控制变量,例如工作经验、年龄和性别。

通过引入这些变量,我希望能够更准确地评估教育对收入的回报率。

结果显示,教育对收入的影响仍然显著,且回报率较高。

同时,工作经验和年龄也对收入有显著影响,而性别对收入的影响不显著。

进一步分析在进一步分析阶段,我对模型进行了稳健性检验和异方差性检验。

通过运用stata中的命令,我发现模型的稳健性和异方差性都得到了验证,模型结果的可靠性得到了进一步确认。

结论通过本次计量经济学实验,我得出了教育对个体收入的正向影响和高回报率的结论。

这一结论与现实生活中的观察结果相符,也与以往的研究成果一致。

同时,我还发现工作经验和年龄也对收入有显著影响,而性别对收入的影响不显著。

斯托克,沃森计量经济学第十三章实证练习stata操作及答案

斯托克,沃森计量经济学第十三章实证练习stata操作及答案

E13.1(1) (2) (3) (4)call_back call_back call_back call_back black -0.0320***-0.0382**-0.0231*(0.00778) (0.0117) (0.0106)Black×female 0.00799(0.0115)high 0.0141 0.0229(0.00779) (0.0120)Black×high -0.0178(0.0156)_cons 0.0965***0.0965***0.0734***0.0850***(0.00599) (0.00599) (0.00530) (0.00801)N4870 4870 4870 4870R20.003 0.004 0.001 0.004 adj. R20.0033 0.0031 0.0005 0.0038 Standard errors in parentheses*p < 0.05, **p < 0.01, ***p < 0.001(1)回归如上表第(1)列所示。

可知,白人答复率为0.0965,美籍非洲人答复率为0.0645(0.0965-0.032=0.645)。

stata计算得两个答复率之差的95%置信区间为(-0.0473,-0.0168)。

这个差异在0.1%的水平下显著,各1000个美籍非洲人和白人投简历,收到回复率的白人约比美籍非洲人多32个,这个差异现实意义较大。

(2)本题所涉及的回归如上表第(2)列所示。

男性美籍非洲人的答复率为0.0583(0.0965-0.0382=0.0583),女性美籍非洲人的答复率为0.0503(0.0965-0.0382-0.008=0.0503),两者答复率的差异为0.008,该差异在5%水平下不显著,美籍非洲/白人答复率差异对男性和女性没有明显不同。

(3)本题涉及的回归如上表第(2)(3)列所示。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

E7.2E7.3E7.4-------------------------------------------- (1) (2) ahe ahe -------------------------------------------- age 0.605*** 0.585*** (15.02) (16.02)female -3.664*** (-17.65)bachelor 8.083*** (38.00)_cons 1.082 -0.636 (0.93) (-0.59)(表2)Robust ci in parentheses*** p<0.01, ** p<0.05, * p<0.1-------------------------------------------- N 7711 7711 -------------------------------------------- t statistics in parentheses* p<0.10, ** p<0.05, *** p<0.01 (表1)(1) 建立ahe 对age 的回归。

截距估计值是1.082,斜率估计值是0.605。

(2) ①建立ahe 对age ,female 和bachelor 的回归。

Age 对收入的效应的估计值是0.585。

② age 回归系数的95%置信区间: (0.514,0.657)(3) 设H 0:βa,(2)-βa,(1)=0 H1:βa,(2)-βa (1)≠0由表3,得SE ,SE(βa,(2)-βa,(1))=√(0.0403)²+(0.0365)²=0.054t=(0.605-0.585)/0.054=0.37<1.96所以不拒绝原假设,即在5%显著水平下age 对ahe 的效应估计没有显著差异,所以(1)中的回归没有遭遇遗漏变量偏差。

(4) B ob’s predicted ahe=0.585×26-3.664×0+8.083×0-0.636=$14.574Alexis ’s predicted ahe=0.585×30-3.664×1+8.083×1-0.636=$21.333VARIABLES ahe age 0.585***(0.514 - 0.657) female -3.664***(-4.071 - -3.257) bachelor 8.083***(7.666 - 8.500)Constant -0.636 (-2.759 - 1.487)Observations 7,711 R-squared0.200(5)(1) (2)m1 m2VARIABLES ahe aheage 0.605*** 0.585***(0.0403) (0.0365)female -3.664***(0.208)bachelor 8.083***(0.213)Constant 1.082 -0.636(1.167) (1.083)Observations 7,711 7,711R-squared 0.029 0.200Ajusted R2 0.199 0.199Robust standard errors in parentheses*** p<0.01, ** p<0.05, * p<0.1 (表3)通过比较,(2)回归的标准误更小,且R-squared和Ajusted R2更接近1,因此(2)中回归的拟合效果更好。

(2)中R-squared和Ajusted R2如此相近是因为样本量足够大(n=7711)。

(6)对Female: H0:βFemale=0 H1: βFemale≠0由表1得,t=-17.65<-1.96,所以在5%的显著水平下拒绝原假设,即不可以剔除female。

对Bachelor:H0:βBachelor=0 H1: βBachelor≠0由表1得,t=38.00>1.96,所以在5%的显著水平下拒绝原假设,即不可以剔除bachelor。

对Female和Bachelor:H0:βFemale+βBachelor=0 H1: βFemale+βBachelor≠0由表3得SE,SE(βFemale+βBachelor)=√(0.208)²+(0.213)²=0.0886t=(8.083-3.664)/0.0886=49.88>1.96所以在5%的显著水平下拒绝原假设,即回归中不能同时剔除Female和Bachelor。

(7)这两个条件是:①至少有一个回归变量必须与遗漏变量相关;②遗漏变量必须是因变量Y的一个决定因素。

遗漏变量year(从业时间),它既与回归变量age(年龄)有关,又与因变量ahe(平均每小时收入)有关。

所以这两个条件成立,这个多元回归遭遇了遗漏变量偏差。

E7.2-------------------------------------------- (1) (2) course_eval course_eval-------------------------------------------- beauty 0.133*** 0.159*** (4.12) (5.19)minority -0.169** (-2.50)age -0.00195(表1) Robust ci in parentheses (-0.75)*** p<0.01, ** p<0.05, * p<0.1female -0.183***(-3.51)onecredit 0.633***(5.87)intro 0.00795 (0.14)nnenglish -0.244** (-2.54)_cons 3.998*** 4.169*** (157.73) (29.98) -------------------------------------------- N 463 463 -------------------------------------------- t statistics in parentheses (表2) * p<0.10, ** p<0.05, *** p<0.01(1) 建立course_eval 对beauty 的回归,course_eval=0.133*beauty+3.998由表1得,Beauty 对course_eval 效应的95%置信区间:(0.0695,0.197)(2) 对age : H 0:βage =0 H 1: βage ≠0由表2得,-1.96<t=-0.75<1.96,所以在5%的显著水平下不能拒绝原假设,即可以剔除age 。

(1) VARIABLES course_evalbeauty 0.133***(0.0695 - 0.197) Constant 3.998*** (3.948 - 4.048)Observations 463 R-squared0.036对intro:H0:βintro=0 H1: βintro≠0由表2得,t=0.14<1.96,所以在5%的显著水平下不能拒绝原假设,即可以剔除intro。

对age和intro:H0:βage+βintro=0 H1: βage+βintro≠0SE(βage+βintro)=√(0.0026218)²+(0 .0565)²=0.0567t=(0.00795-0.00195)/0.0567=0.106<1.96所以在5%的显著水平下不能拒绝原假设,即回归中可以同时剔除age和intro。

我认为应该包含在回归中的控制变量:beauty, minority, female, onecredit, nnenglish。

(1)VARIABLES course_evalbeauty 0.166***(0.104 - 0.228)minority -0.165**(-0.299 - -0.0309)female -0.174***(-0.271 - -0.0769)onecredit 0.641***(0.451 - 0.831)nnenglish -0.248***(-0.431 - -0.0655)Constant 4.072***(4.008 - 4.136)Observations 463R-squared 0.155Robust ci in parentheses*** p<0.01, ** p<0.05, * p<0.1 (表3)Beauty对course_eval效应的合理的95%置信区间是(0.104,0.228)E7.3---------------------------------------------------------------------------- (1) (2) (3) (4) ed ed ed ed ---------------------------------------------------------------------------- dist -0.0677*** -0.0418** -0.0517*** -0.0402** (-3.57) (-2.10) (-2.75) (-2.09)female 0.0547 0.0614 (0.55) (0.62)black 0.0983 0.133 (0.54) (0.76)hispanic 0.187 0.213* (1.63) (1.85)bytest 0.0738*** 0.0751*** 0.0723*** (11.40) (11.67) (11.62)dadcoll 0.478*** 0.477*** 0.445*** (3.55) (3.56) (3.32)momcoll 0.368** 0.368** 0.358** (2.24) (2.26) (2.21)ownhome 0.197 0.179 (1.55) (1.41)urban -0.0811 (-0.63)cue80 0.0444** 0.0433** 0.0476** (1.97) (1.97) (2.10)stwmfg80 0.0237 -0.0305 (0.54) (-0.76)tuition -0.528** -0.511** (-2.18) (-2.39)incomehi 0.410*** 0.436*** 0.408*** (3.39) (3.60) (3.47)_cons 13.86*** 9.233*** 9.453*** 9.755***(201.37) (17.76) (17.98) (28.41)----------------------------------------------------------------------------N 943 943 943 943----------------------------------------------------------------------------t statistics in parentheses* p<0.10, ** p<0.05, *** p<0.01(1)建立ed对dist的回归,得ed=-0.0677*dist+13.86回归中dist的系数的95%置信区间为:-0.0677±1.96×0.0189724,即(-0.1048934,-0.0304273)根据该组织的声称,它赞同的dist的系数为-0.15/2=-0.075,-0.075包含于回归中dist的系数的95%置信区间(-0.1048934,-0.0304273),因此该组织倡导的言论与回归估计一致。

相关文档
最新文档