Skip to contents

Obtain prediction bias within each stratum.

Usage

bias(residual, treatment, group_idx)

Arguments

residual

(numeric) residuals.

treatment

(factor) treatment.

group_idx

(character) stratum index.

Value

Numeric matrix of bias in each stratum.