timevar(rel_time)method(hdfe,cluster(stfips)absorb(stfipsyear))balanced/// nolinegraph_op(/// xlabel(,nogrid)/// xline(0,lpattern(dash)lcolor(gs12)lwidth(thin))/// legend(order(1"PointEstimate"2"95%CI")size(*0.8)position(6)rows(1)region(lc(black)))/// ) *Onlyspecifiedperiods...
eventdd dins, timevar(timeToTreat) method(hdfe, absorb(stfips year) cluster(stfips)) graph_op(ytitle("平均处理效应") xlabel(-5(1)2)) level(95) baseline(-1) leads(5) lags(1) inrange 从上图,我们可以看出,医疗救助计划扩围在处理前并不显著(95%),在处理之后,显著(95%)为正。通常,我们...
eventdd dins, timevar(timeToTreat) method(hdfe, absorb(stfips year) cluster(stfips)) graph_op(ytitle("平均处理效应") xlabel(-5(1)2)) level(95) baseline(-1) leads(5) lags(1) inrange 从上图,我们可以看出,医疗救助计划扩围在处理前并不显著(95%),在处理之后,显著(95%)为正。通常,我们...
只有当分组变量有3个或更多层次时才需要选项 ref2( )。 graphop( ):允许使用选项来控制图形的外观。 可以使用 Stata 图形的大多数常用图形选项。例如,title( )、xtitle( )、xlabel( )和其他图形选项,可以在graphop( )选项中指定。 nosort: 指定根据varlist中指定的变量的顺序来排序(从上到下)的图。默认情...
endpoints_op(string)允许包含在散点中允许的端点系数的任何图形选项,包括marker_options和marker_label_options等。这仅在指定accum和不允许使用graph_op()的一般选项时可用。如果没有指定,则将提供一个标准的图形输出。 *可以包括regress、xtreg或reghdfe允许的任何其他估计选项,并将其传递给指定的估计命令。这允许包...
graph_op(ytitle("空气质量(PM2.5)") xline(0, lc(black*0.5) lp(dash) ) xlabel(-10(5)10)) 1、简介 本文将国家级承接产业转移示范区政策视为一项准自然实验,研究2000至2020年设立国家级承接产业转移示范区对当地空气质量的...
. eventdd Y i.t,timevar(K) method(fe, cluster(i)) balanced graph_op(ytitle('Y')) note: lead15 omitted because of collinearityFixed-effects (within) regression Number of obs = 4500Group variable: i Number of groups = 300R-sq: Within = 0.9939 Obs per group: min = 15 Between = ...
这是我让AI学习了stata的help文档后给出的正确答案:eventdd DigTran $L1contral $L1contral_city, timevar(timeToTreat) hdfe absorb(stock year) cluster(city) baseline(0) graph_op(ytitle("政策动态效应") xtitle("政策时点") xlabel(-6(1)5))。 AI学习了help文档后,显著变得聪明了。 如果有时间,...
reghdfe TFPQD_OP FB $xlist , $regopt est store m5 1. 2. 3. 4. 5. 6. 基准回归及截面PSM - DID回归结果如下。 AI检测代码解析 --- (1) (2) (3) (4) (5) OLS FE Weight!=. On_Support Weight_Reg ---
·双重差分倾向得分匹配(PSM-DID)-stata实操(第二弹):https://www.bilibili.com/read/cv4360682?from=articleDetail 作者:mhhhpl 链接:https://www.jianshu.com/p/1a71fdff40d7来源:简书 logit Dfee CL_D Size Lev Roa Cfo Soe Rec Punish Dirs Age Op Top10 Big4 i.year i.industry, vce(cluster ...