请问大家:我在使用无条件分位数分解的stata命令oaxaca_rif时,以下的option项命令无法正确使用,不知道是什么问题引起?
如下,使用无其他options的oaxaca_rif 命令时可以得到分解结果:
. oaxaca_rif logmwage agei agei2 aa_married aa_mino work_exp mig_time $occ $own $indu $edu if year==2011 , rif (q(5)) by(gender)
No wgt specified. Using default 0
No Reweighted Strategy Choosen
Estimating Standard RIF-OAXACA using RIF:q(5)
Model : Blinder-Oaxaca RIF-decomposition
Type : Standard
RIF : q(5)
Scale : 1
Group 1: gender = 1 x1*b1 N of obs 1 = 28794
Group c: x1*b2 N of obs C = .
Group 2: gender = 2 x2*b2 N of obs 2 = 19807
-------------------------------------------------------------------------------
logmwage | Coef. Std. Err. z P>|z| [95% Conf. Interval]
--------------+----------------------------------------------------------------
Differential |
Prediction_1 | 7.034183 .0093922 748.94 0.000 7.015774 7.052591
Prediction_2 | 6.840106 .0069167 988.93 0.000 6.826549 6.853662
Difference | .1940771 .0116643 16.64 0.000 .1712156 .2169386
--------------+----------------------------------------------------------------
Decomposition |
Explained | -.0025166 .0051492 -0.49 0.625 -.0126089 .0075757
Unexplained | .1965937 .0124429 15.80 0.000 .1722061 .2209813
-------------------------------------------------------------------------------
1)当加入 rwlogit(varlist) 的option时stata提示如下错误:
. oaxaca_rif logmwage agei agei2 aa_married aa_mino work_exp mig_time $occ $own $indu $edu if year==2011 , rif (q(5)) by(gender) rwlogit(agei age
> i2 aa_married aa_mino work_exp mig_time $occ $own $indu $edu )
No wgt specified. Using default 0
Estimating Reweighted RIF-OAXACA using RIF:q(5)
overall:group_1 not found
r(111);
2)当加入 retain(newvar) 的option时stata提示如下错误:
. oaxaca_rif logmwage agei agei2 aa_married aa_mino work_exp mig_time $occ $own $indu $edu if year==2011 , rif (q(5)) by(gender) retain(rif)
No wgt specified. Using default 0
No Reweighted Strategy Choosen
*1 invalid name
r(198);
我已经检查语法结构(也许检查地不到位),并未发现可以改进的内容,本人实在水平有限,希望有专业人士可以帮忙给点建议!十分感谢!!


雷达卡




京公网安备 11010802022788号







