spec.data.all | R Documentation |
Generates running variables, and corresponding standard deviations and regression function values for all specifications.
spec.data.all(spec.all, which.fun, n, th, C.big, C.small, sig.scale, seed = 1)
spec.all |
|
which.fun |
which regression function to evaluate; supports |
n |
sample size. |
th |
true RD parameter. |
C.big |
the value of C corresponding to the large C. |
C.small |
the value of C corresponding to the small C. |
sig.scale |
scaling parameter for the standard deviation. |
seed |
the random number seed used to generate regressors; the default is
|
a list with nrow(spec.all)
components, where each of them contains
data corresponding to each specification.
spec.all <- spec.grid(c("unif", "homo", "trueCsmall")) spec.data.all(spec.all, 4, 100, 1, 3, 1, 1/2) spec.data.all(spec.all, 5, 100, 1, 3, 1, 1/2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.