Hi all,

I am currently using rdplot to visualise the discontinuity of my outcome variable along the cutoff. Following Cattaneo I let the code chose the number of bins on each side of the cutoff (evenly spaced bins). I want to weight the linear function of the dependent variable by the number of observations in each bin. Any idea?

Here is my code below.

Code:
rdplot outcome dependent_variable, c(0) p(1) binselect(es) graph_options(title(MY TITLE) graphregion(color(white)))