Skip to contents

R parity of morie.mrm_design (Python). Four general- purpose statistical-design entry points covering the designexptr.org pedagogical sequence: two-treatment comparison, one-way ANOVA with Tukey HSD, 2^k factorial design, and a designed-experiment convenience wrapper around the morie causal estimator family.

Value

Each design callable returns a named list of estimates, test statistics, p-values, and a plain-language interpretation.

References

Box, G. E. P., Hunter, J. S., & Hunter, W. G. (2005). Statistics for Experimenters. Wiley.

Examples

set.seed(2026)
a <- rnorm(40, mean = 5, sd = 1.2)
b <- rnorm(40, mean = 5.5, sd = 1.5)
mrm_two_treatment_test(a, b)$p_welch
#> [1] 0.2184419