全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
522 0
2023-12-16
相似文件换一批
sgmediation2.zip
1.55 KB0个论坛币

sgmediation——new.zip
3.92 KB0个论坛币

sgmediation.zip
4.01 KB0个论坛币



2024年寒假Flag:从零基础掌握Stata ...
机器学习及Python应用_寒假陈强老师现场班



求助请问理查森投资模型(图1)的差分GMM回归估计代码怎么写,year和industry是虚拟变量,
已经做了如图2 的相关操作

egen mis=rowmiss(Capexp age q SA asset size lev ROA Inv1 Inv cash risk top1 gpay FintechN)
drop if mis
ssc install winsor2
winsor2 Capexp q SA asset size lev ROA Inv Inv1 cash risk top1 gpay, cuts(1 99)
gen FintechN_R=max_n
tabstat FintechN FintechN_R Inv_w Inv1_w q_w SA_w lev_w ROA_w cash_w age size_w risk_w top1_w gpay_w Capexp_w asset_w,stat(mean sd min p25 median p75 max)
*(5)生成行业、年度虚拟变量 为了避免共线性,删掉原行业变量
tab Industry,gen(indu)  
drop Industry   
tab year,gen(time)  
drop year     
***对理查森模型做差分GMM
ssc install xtabond2

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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