bread_and_meat: (Internal) Piece-wise generation of Bread and Meat matrices.

bread_and_meatR Documentation

(Internal) Piece-wise generation of Bread and Meat matrices.

Description

Computes the Bread and Meat matrices. The diagonal elements are typical sandwich estimators, with scaling, and thus only use the model argument. The off-diagonal Bread element requires further specification.

Usage

bread11(model)

bread22(model)

meat11(model, cluster = NULL)

meat22(model, cluster = NULL)

bread21(model, eta)

Arguments

model

For Bread & Meat that can be calculated using sandwich package, we only need the model, either first or second stage, depending.

cluster

For Meat only; A vector defining clusters.

eta

Estimated version of the coefficient on the interaction between predicted and treatment. This could be from a model or a hypothesis.


josherrickson/epb documentation built on July 6, 2023, 9:12 p.m.