Hello everyone,

I am currently writing my thesis and doing an RDD. It is very intersting but I am now stuck at a weird problem. When I try to plot my data, the regression line is not fitted to the dots from the data.
I wonder why that is happening? I dont have many data points, might that be the reason? When I run this command without any covariates then the regression line fits the dots.


Used code:
[rdplot $Y $running, c($cutoff) nbins(10 3) p(2) binselect(esmv) kernel($kernel) covs($cov)]

Background: I am investigating the effect of voting system on corruption. In Brazil, municipalities with more than 200 000 inhabitants use the dual ballot system, while cities with less than 200 000 citizens use the single ballot system. Exploiting this threshold leads to a sharp RDD. My theory is that municipalities with over 200 000 inhabitants have better politicians, more competition and hence this system leads to less corruption.

I am sorry if this format of question is not appropriate for your stadards, very first time asking a question

Array