. honestdid, pre(1/5) post(6/7) mvec(0.5(0.5)2) omit 这里需要注意的是,因为基准时期不再包括在内,post() 里面的是 6 和 7。 . reghdfe dins b2013.Dyear, absorb(stfips year) cluster(stfips) noconstant . honestdid, numpre(5) mvec(0.5(0.5)2) omit | M | lb | ub | | ---...
Keywords:平行趋势,敏感性检验,honestdid,相对偏离程度限制,平滑性限制 1. 引言 Kahn-Lang 和 Lang (2020) 指出,越来越多的研究者使用统计上不显著的处理前趋势检验来支持“平行趋势假设”。虽然处理前趋势检验对于验证平行趋势假设非常重要,但我们不能因为无法拒绝处理前符合平行趋势假设,就认为处理后也一定符合平行...
cd"C:\Download\1-s2.0-S0140988324008429-mmc1\Code and Data"udata,clearxtsetidyearglControlsLevROATobinQFirmAgeCashflowSizeDualBig4reghdfeECIpre6pre5pre4pre3pre2currentpost1post2post3post4post5$Controls,absorb(idyear)cluster(id)matrixliste(b)honestdid,pre(1/5)post(6/11)mvec(0(0.01)0.06)...
git clone https://github.com/mcaceresb/stata-honestdidcdstata-honestdid sed -i's/\r$//'src/compile.sh bash src/compile.sh Once the plugin is compiled, from a Stata session run cd /path/to/stata-honestdid/ do src/install.do
local github https://raw.githubusercontent.com net install honestdid, from(`github'/mcaceresb/stata-honestdid/main) replace honestdid _plugin_check Version 1.3.0 (25Jan2024) of the package is currently available via SSC: ssc install honestdid honestdid _plugin_check Compiling honestdid uses ...
选择合适的命令或方法:根据分析目标选择合适的Stata命令或方法,如sensemakr用于绘制敏感性等高线图,honestdid用于进行平行趋势敏感性检验。 执行敏感性分析:使用选定的命令或方法执行敏感性分析,并调整参数以探索不同假设下的结果变化。 解读结果:仔细解读敏感性分析的结果,评估研究结论的稳健性和可靠性。 具体的Stata命令...
为了帮助大家更好地了解全球范围内某些 Stata 程序的使用趋势,特意收集了 2023 年下载量最高的500个程序名单。从这份最广泛使用的榜单中,我们可以略知一二,各种最新的因果识别方法,如异质性稳健的差分中断法(DID)等程序都位居前十名的位置。 序号 Stata程序下载量前500排序(从高到低) ...
Robust inference in difference-in-differences and event study designs (Stata version of the R package of the same name) - stata-honestdid/test/unit-tests.do at main · mcaceresb/stata-honestdid
unit-tests-consistency.do.log unit-tests-consistency.md unit-tests-speed.md unit-tests.do .bumpver.py .gitignore Makefile README.md honestdid.pkg stata.toc Breadcrumbs stata-honestdid /test / unit-tests-consistency.R.log Latest commit ...