View source: R/test_hte_crump.R
| test_zero_cate | R Documentation |
H0: tau(x) = 0 for all x.
test_zero_cate(
Y,
W,
X,
poly_order = 1L,
covariate_select = c("all", "top_down", "bottom_up"),
t_threshold = 2,
regression = c("ols", "logistic", "poisson"),
offset = NULL
)
Y |
Numeric outcome vector. |
W |
Treatment indicator (0/1). |
X |
Numeric covariate matrix (no factors; use
|
poly_order |
Integer. Default: 1. |
covariate_select |
"all", "top_down", or "bottom_up". |
t_threshold |
Numeric. Default: 2.0. |
regression |
"ols", "logistic", or "poisson". |
offset |
Numeric offset vector (Poisson only). |
List with test results including covariates_selected.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.