Description Usage Arguments Value
This function is used to estimate the magnitude needed for a certain direction to achieve 80% power for a proposed alternative.
1  | mag_for_pow(mc_limit_dstr, dir, norms_idx = 2, null_quants, norm_type = "lp")
 | 
mc_limit_dstr | 
 MC draws from the estimated (centered) limiting distribution. Columns correspond to different covariates, and rows are independent observations.  | 
dir | 
 the direction for which we wish to find the magnitude needed to achieve 80% power.  | 
norms_idx | 
 the norms to be considered.  | 
null_quants | 
 ninety five percent quantiles for each of the different norms  | 
norm_type | 
 the class of norms to be used  | 
Magnitude for the specified lp norm for a given local alternative.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.