| get_tau_vector | R Documentation |
Creates a sequence of tau values spanning a confidence interval around the estimated treatment effect, with oversampling near the point estimate.
get_tau_vector(
Y,
Z,
X = NULL,
gamma = 0.001,
grid.size = 21,
grid.gamma = 100 * gamma
)
Y |
Outcome vector. |
Z |
Treatment assignment vector (0/1). |
X |
Optional covariate matrix for regression-adjusted estimation. |
gamma |
Width of the confidence interval. Default is 0.001. |
grid.size |
Number of grid points. Default is 21. |
grid.gamma |
Controls oversampling density near the estimate. Default is 100*gamma. |
A numeric vector of tau values with attributes te.hat,
te.se, and te.MOE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.