Dear All,
I tried to use rdrobust to estimate a sharp RD treatment effect and draw the discontinuity of y around the cutoff using the following code:
However, the visualization of fitted y is totally off from the data points as shown below. The shape looks right but the levels are off.
Can anybody help with why the fitted lines are totally off? Thank you very much!

I tried to use rdrobust to estimate a sharp RD treatment effect and draw the discontinuity of y around the cutoff using the following code:
PHP Code:
rdrobust y RunningVar ,p(2) covs( x1 x2 x3)
rdplot y RunningVar ,p(2) covs( x1 x2 x3)
Can anybody help with why the fitted lines are totally off? Thank you very much!