The declaration below defines a finite-population randomized experiment from its data-generating model through its estimator. The treatment effect varies with a baseline covariate, but the inquiry is the finite-population average treatment effect.
Sampling distributions of the two declared estimators across complete reruns of the research design.
The output joins each estimate to the inquiry generated in the same simulation. The default diagnosis reports the mean estimand and estimate, bias, Monte Carlo standard deviation, root mean squared error, power, coverage, and simulation count. Diagnosis.plot() returns an Altair chart for a selected diagnosand.