Skip to contents

Design

Creation of Design Objects

rct_design() rd_design() obs_design()
Generates a Design object with the given specifications.
unit_of_assignment() unitid() cluster() uoa() block() forcing()
Special terms in Design creation formula
as_rct_design() as_obs_design() as_rd_design()
Convert Design between types

Accessors/Replacers for Design Objects

Summary and print methods

show(<Design>)
Show a Design
summary(<Design>) print(<summary.Design>)
Summarizing Design objects

Structure of Design objects

get_structure() show(<DesignStructure>)
Design Structure Information
design_table() dtable()
Table of elements from a Design
var_table() var_names()
Extract Variable Names from Design

Utility Functions for Design Objects

identify_small_blocks()
Identify fine strata
design_data_concordance()
Check for variable agreement within units of assignment
identical_Designs()
Test equality of two Design objects

Weights

Functions to create or interact with Weights

ett() ate()
Generate Direct Adjusted Weights for Treatment Effect Estimation

Working with WeightedDesign objects

Covariance Adjustment & SandwichLayer

cov_adj()
Covariance adjustment of teeMod model estimates
as.SandwichLayer()
Convert a PreSandwichLayer to a SandwichLayer with a Design object
subset(<PreSandwichLayer>) `[`(<PreSandwichLayer>)
PreSandwichLayer and SandwichLayer subsetting
show(<PreSandwichLayer>)
Show a PreSandwichLayer or SandwichLayer
bread(<teeMod>)
Extract bread matrix from a teeMod model fit
estfun(<teeMod>)
Extract empirical estimating equations from a teeMod model fit
estfun(<lmrob>) bread(<lmrob>)
Generate matrix of estimating equations for lmrob() fit
estfun(<glmrob>) bread(<glmrob>)
Extract empirical estimating equations from a glmbrob model fit

Estimating Model

Functions to carry out the treatment estimation accounting for the Design

lmitt()
Linear Model for Intention To Treat
assigned() adopters() a.() z.()
Obtain Treatment from Design
as.lmitt() as.teeMod()
Convert lm object into teeMod
confint(<teeMod>)
Confidence intervals with standard errors provided by vcov.teeMod()
show(<teeMod>)
Show a teeMod
summary(<teeMod>) print(<summary.teeMod>)
Summarizing teeMod objects
vcov(<teeMod>)
Compute variance-covariance matrix for fitted teeMod model
vcov_tee() .vcov_DB0()
Variance/Covariance for teeMod objects

Data

STARdata
STAR data
lsoSynth
Synthethic Regression Discontinuity Data
schooldata studentdata
Student data
simdata
Simulated data
michigan_school_pairs
Intervention data from a pair-matched study of schools in Michigan