pval_for_mag | R Documentation |
A helper function that calculates the estimated p-value for a given observed alternative and a given norm.
pval_for_mag(mc_limit_dstr, dir, norms_idx = 2, norm_type = "lp", ...)
mc_limit_dstr |
the simulated data draw from the limiting distribution under the null |
dir |
the observed estimate of the parameter |
norms_idx |
the index for the norm used |
norm_type |
the type of norm used |
... |
additional arguments that may be passed to pval_for_mag, but which will be ignored. |
The p-value for a test with estimate given by
dir
and limiting distribution given by mc_limit_dstr
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.