在探究用ccfps14数据探究“郎才女貌是最幸福的婚姻模式吗”中
先合并数据集中adult和famconf,再新另一个变量match充当核心变量(才貌匹配)
gen match =.
replace match = 2 if (above==1 & xabove==1) | (below==1 & xbelow==1)
replace match = 1 if (above==1 & xbelow==1) | (below==1 & xabove==1)
above below是外貌的虚拟变量,xabove和xbelow是配偶学历的虚拟变量
再和qm801 婚姻满意度回归后完全不显著,加减多个控制变量后还是不显著
进行了多重共线性(无)、异方差检验(有)
百度过的方法尝试过,感觉缩尾不适用于这里,不知道哪里出错了,求助各位大佬。
结果如下:
. reg qm801 match ltotal_income qm803 qm802 qp201 qm1101
Source | SS df MS Number of obs = 998
-------------+------------------------------ F( 6, 991) = 69.31
Model | 248.363509 6 41.3939182 Prob > F = 0.0000
Residual | 591.837894 991 .597212809 R-squared = 0.2956
-------------+------------------------------ Adj R-squared = 0.2913
Total | 840.201403 997 .842729592 Root MSE = .7728
-------------------------------------------------------------------------------
qm801 | Coef. Std. Err. t P>|t| [95% Conf. Interval]
--------------+----------------------------------------------------------------
match | .0649105 .0491269 1.32 0.187 -.0314943 .1613153
ltotal_income | .1719681 .0909158 1.89 0.059 -.0064416 .3503778
qm803 | .1805123 .0247735 7.29 0.000 .1318978 .2291268
qm802 | .3513522 .0273217 12.86 0.000 .2977373 .4049672
qp201 | -.0738524 .0221843 -3.33 0.001 -.1173861 -.0303188
qm1101 | .023514 .0197247 1.19 0.234 -.0151929 .0622209
_cons | 2.125717 .1803657 11.79 0.000 1.771775 2.47966
-------------------------------------------------------------------------------


雷达卡



京公网安备 11010802022788号







