interacted_linear_estimators: Interacted linear regression models

View source: R/model_fitting.R

interacted_linear_estimatorsR 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)


MDRCNY/PUMP documentation built on Feb. 26, 2025, 11:22 a.m.