在运行断点回归的时候,发生了如图的问题,请问该如何解决?稳健性检验的时候!
use "RDD_simu_data0.dta", clear
sum xc
local xcmax=r(max)
local xcmin= r(min)
forvalues i=1(1)4{
local jr=`xcmax'/(`i'+1)
local jl=`xcmin'/(`i'+1)
rdrobust y1 xc if xc>0,c(`jr')
estimates store jl`i'
rdrobust y1 xc if xc<0,c(`jl')
estimates store jr`i'
}
//加上真实断点的回归结果,作为benchmark结果
rdrobust y1 xc ,c(0)
estimates store jbaseline
附件列表