Description Usage Arguments Value
View source: R/testfunctions_splines.R
This function generates the Gamma moments for a given set of weights. This funciton is written specifically for tests.
1 | genGammaSplinesTT(distr, weight, zvars, u1s1, u0s1, u0s2, target = FALSE, ...)
|
distr |
data.frame, the distribution of the data. |
weight |
function, the S-function corresponding to a particular IV-like estimand. |
zvars |
vector, string names of the covariates, other than the intercept and treatment variable. |
u1s1 |
matrix, the spline basis for the treated group ("u1") corresponding to the first (and only) spline specification ("s1"). |
u0s1 |
matrix, the spline basis for the control group ("u0") corresponding to the first spline specification ("s1"). |
u0s2 |
matrix, the spline basis for the control group ("u0") corresponding to the second spline specification ("s2"). |
target |
boolean, set to |
... |
all other arguments that enter into |
vector, the Gamma moments associated with weight
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.