View source: R/clustered_weights.R
compute_cluster_se | R Documentation |
Compute point estimate and standard error with clustered weights
compute_cluster_se(y, wts, trt, clusters, m1hat, m0hat)
y |
Vector of outcomes |
wts |
Vector of weight |
trt |
Vector of treatment assignments |
clusters |
Vector of cluster assignments |
m1hat |
Vector of model predictions of E[Y(1) | covariates] |
m0hat |
Vector of model predictions of E[Y(0) | covariates] |
Data.Frame with the point estimate and standard error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.