R/experimental.R
test_via_fisher.Rd
Computes a p-value by comparing the observed test statistic (DM) to the distribution under random treatment reassignment.
test_via_fisher(obj, ...) # S3 method for class 'experimental' test_via_fisher(obj, n_draws = 1000, ...)
An experimental object.
experimental
Additional arguments passed to methods.
Number of random draws. Default 1000.
Numeric p-value.