Skip to contents

Calculate $$\frac{1}{n_C} + \frac{1}{n_{\bar{C}}} + \frac{1}{n_B} + \frac{1}{n_{\bar{B}}}$$.

Usage

marginal_variance(ald, treatments = list("B", "C"))

Arguments

ald

Aggregate-level data

treatments

Treatment labels list; default B vs C

Value

Sum of variances