Description Usage Arguments Value References Examples
Empirical power calculation using univariate Shapiro-Wilk test statistic.
1 |
a |
significance level (α). |
n |
number of rows (observations). |
p |
p=1 for univariate. |
B |
number of Monte Carlo simulations, default is 1000 (can increase B to increase the precision). |
FUN |
self-defined function for generate multivariate distribution. See example. |
... |
optional arguments passed to |
Returns a numeric value of the estimated empirical power (value between 0 and 1).
Shapiro, S. S., & Wilk, M. B. (1965). An analysis of variance test for normality (complete samples). Biometrika, 52(3/4), 591-611.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.