block_estimator_tabulated: Block variance estimation function.

View source: R/blocked_experiment_method.R

block_estimator_tabulatedR Documentation

Block variance estimation function.

Description

This function takes the block-level summary statistics of a dataset and returns a treatment effect estimate, variance estimate and some summary info about the block structure.

Usage

block_estimator_tabulated(
  summary_stats,
  method = c("hybrid_m", "hybrid_p", "plug_in_big", "rct_yes_all", "rct_yes_small",
    "rct_yes_mod_all", "rct_yes_mod_small"),
  throw.warnings = TRUE
)

Arguments

summary_stats

Summary statistics of all the blocks in a dataset. In particular, this is the output of calc_summary_stats method.

method

The method to be used for variance estimation, defauly "hybrid_m"

throw.warnings

TRUE means throw warnings if the hybrid estimators are breaking down due to violation of assumptions.


lmiratrix/blkvar documentation built on Nov. 18, 2024, 1:27 p.m.