I have a problem regarding a regression discontinuity design. I use panel data, where I have two years, and some schools have data for the two years. The dataset is in the long form. The dependent variable is var1, the independent variable is var2 and the running variable is var3. Var3 contains of 3 values, which is 0, 1 or 2. When var3 has the value 1 or 2, var2 gets the value 1 (otherwise 0). Var1 is a variable that has values in percentages. I would like to make a rdplot. I have installed rd robust (net install rdrobust, from(https://raw.githubusercontent.com/rd...t/master/stata) replace). Then I sorted the dataset according to var3. But when I use: rdplot var1 var3, c(1), I get an error: rangen(): 3351 argument has missing values
<istmt>: - function returned error
I already dropped all the observations that have missing values. But that didn't solve the problem. How can I make a rdplot?
Thanks in advance.
Related Posts with Error rdplot
Identifying the Distribution of DataHi All, the COVID-19 epidemics proposed the need to estimate the distribtion of the serial interval…
HELP! confidence intervals for meta-analysis STATA v16I am trying to do a meta-analysis and calculated odds ratios and Upper and Lower 95% CI. On STATA v1…
Different colors on ascending and descending connect lines in scatter plotDear All, Is it possible to color connecting lines in a scatter plot in different colors ? I plott…
How to convert from Quarterly to Annual data set?Hi. I am facing problem in converting my quarterly bank level data to annual data. My data set is li…
Comparing Means without Standard DeviationHello, My colleague and I are working on a latent class analysis of roughly 30 different behaviors.…
Subscribe to:
Post Comments (Atom)
0 Response to Error rdplot
Post a Comment