最近做小组作业 论文复现 有一个代码找不到weightave2,找到了来源文章,但是这个文章并没有途径可以下载代码 ,所以想知道这个是啥意思 可以的话想自己更改哪位大神看得懂啊**Note: These normalization makes sure that the control group mean is zero in the regressions.
egen z_depression = weightave2($list1), normby(controldummy)
egen z_somatic= weightave2($list2), normby(controldummy)
egen z_nonsomatic = weightave2($list3), normby(controldummy)
egen z_religion = weightave2($list4), normby(controldummy)
generate indices for main sample. NOTE - the egen function
weightave2 function comes from _gweightave2.ado - the .ado file will
be read into stata when it's in the working directory of the do file
that calls it. however - it is better practice to put it in your
personal ado path - which is ~/ado/personal. this function was sent
from Bilal Siddiqi to Sam Asher, based on Anderson (2008): Multiple
Inference and Gender Differences in the Effects of Early Intervention:
A Reevaluation of the Abecedarian, Perry Preschool, and Early Training
Projects. */