Convert data to standardized format for use with low-level functions. If the cutoff for treatment is non-zero, shift the running variable so that cutoff is at zero.
data frame with first column corresponding to outcome variable,
second column corresponding to running variable and optionally a column
specifies the RD cutoff in the running variable.
An object of class
"RDData", which is a list containing the
Outcome vector for observations below cutoff
Outcome vector for observationsabove cutoff
Running variable for observations below cutoff
Running variable for observationsabove cutoff
Conditional variance of outcome for observations below cutoff
Conditional variance of outcome for observations above cutoff
itemvar.namesNames of outcome and running variable in supplied data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.