plot.RD {rdd} | R Documentation |
Plot of the Regression Discontinuity
Description
Plot the relationship between the running variable and the outcome
Usage
## S3 method for class 'RD'
plot(x, gran = 400, bins = 100, which = 1, range, ...)
Arguments
x |
|
gran |
the granularity of the plot. This specifies the number of points to either side of the cutpoint for which the estimate is calculated. |
bins |
if the dependent variable is binary, include the number of bins within which to average |
which |
identifies which of the available plots to display. For a sharp
design, the only possibility is |
range |
the range of values of the running variable for which to plot. This
should be a vector of length two of the format |
... |
unused |
Details
It is important to note that this function will only plot the discontinuity
using the bandwidth which is first in the vector of bandwidths passed to RDestimate
Author(s)
Drew Dimmery <drewd@nyu.edu>