interacted_linear_estimators {PUMP} | R Documentation |
Interacted linear regression models
Description
Code taken from: https://github.com/lmiratrix/blkvar/blob_master/R/linear_model_method.R
Usage
interacted_linear_estimators(
Yobs,
Z,
B,
siteID = NULL,
data = NULL,
control_formula = NULL,
use.lmer = FALSE
)
Details
These linear models have block by treatment interaction terms. The final ATE estimates are then weighted average of the block (site) specific ATE estimates.
If siteID passed, it will weight the RA blocks within site and then average these site estimates.
SEs come from the overall variance-covariance matrix.
Value
Dataframe of the different versions of this estimator (person and site weighted)
[Package PUMP version 1.0.3 Index]