nrdse | R Documentation |
Calculates the standard error for the semiparametric estimates in the nonlinear structural function in RDD
nrdse(df, gamma, t, e)
df |
Data frame whose columns are outcome Y, treatment Treat, and running variable R, respectively. |
gamma |
Value of the parameters in the structural function. |
t |
Treatment value for calculating the marginal effect. |
e |
Value of the error term for calculating the marginal effect. |
n <- 500
set.seed(123)
data <- nrddgp(n)
nrdse(data,c(1,1,1),.5,.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.