用stata进行断点回归建模
进行局部线性回归时,出现了以下提示:
rd y1 xc, c(0)
Two variables specified; treatment is assumed to jump from zero to one at Z=0.
Assignment variable Z is xc
** Treatment variable X_T unspecified**
Outcome variable y is y1
最搞不明白的是这个: Treatment variable X_T unspecified
问了人说可能是建模有问题,没有检测到断点效应
但是我不知道应该怎样进行修改
另外,在进行局部多项式回归时,
输入命令之后总是显示
rdrobust y1 xc
c() should be set within the range of xc
也不知道是哪里出了问题
希望可以蹲到一个解决方案