目前正在研究melly(2006)分解方法,从网上下载的stata 中对应的命令为rqdeco,相应的do 文件也有,但是do文件的例子,有一部分没有看懂,具体如下:
do文件中:
svmatresults, names(col)运行后出现的表格列的名称依次为:
quantilefitted_0 counterfactual fitted_r total differential characteristicscoefficients
1、 counterfactual 反事实我没有弄明白是什么意思?ps:female==0是男性,female==1是女性,这里面得到的反事实是女性特征男性特征回报率还是男性特征女性特征回报呢?
2、fitted_0和 fitted_r 是什么意思呢?
3、do文件对计算中位数变动和残差变动完全没看懂,最终结果也没有运行出来
*The 90-10ranges can be calculated using this matrix:
*Q90-q10 for the fitted_1 distribution fitted_1 distribution
scaq90q10_fitted1=results[90,2]-results[10,2]-----看不懂
*Q90-q10 for thecounterfactual distribution
scaq90q10_counter=results[90,3]-results[10,3]]-----看不懂
*Q90-q10 for the fitted_0 distribution fitted_0 distribution
scaq90q10_fitted0=results[90,4]-results[10,4]]-----看不懂
在generateq90_q10_fitted1= X1_C1_90-X1_C1_10 这一步 运行不出来错误提示为X1_C1_90 not found r(111)
以上还请大家帮忙看看,万分感谢