View source: R/test_hte_crump.R
| test_hte | R Documentation |
Run Both Crump et al. Tests
test_hte(
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). |
Object of class hte_test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.