点上面附件图标,上传附件后可设置现金定价
基于oster(2019)的无工具变量法解决内生性问题,目前已得到学者的广泛采用。
Across a Few Prohibitive Miles: The Impact of the Anti-Poverty Relocation Program in China
The impact of regulation on cryptocurrency market volatility in the context of the COVID-19 pandemic — evidence from China
在这里我根据自己的研究,写出了基于stata的psacalc命令的do文档代码,根据注释替换你的变量就行,可以直接ols基础上进行检验,也可以使用固定效应模型基础上进行oster检验。此外,可实现批量操作,比如设置理论r2为模型r2的1.2 1.3 1.5倍,求对应的delta值,可以一次跑出结果,也有求β值的代码,并且有注释怎么样才能算通过检验。
方便,省事,清晰,准确,看了代码之后保证你以后可以对oster的无工具变量法运用自如!