全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
602 1
2022-07-04
最近做小组作业 论文复现 有一个代码找不到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. */

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2022-7-5 10:21:55
按照note里的注释,应该先去下载_gweightave2.ado,在以下链接可以下载https://www.openicpsr.org/openic ... 2.ado&type=file
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群