View source: R/alpha_standardized.R
alpha_standardized | R Documentation |
Compute standardized alpha level based on unstandardized alpha level and the number of observations N.
alpha_standardized(alpha, N, standardize_N = 100)
alpha |
The unstandardized alpha level (e.g., 0.05), independent of the sample size. |
N |
The number of observations (e.g., the sample size) in the dataset |
standardize_N |
The number of observations (e.g., the sample size) you want to use to standardize the alpha level for. Defaults to 100 (base on Good, 1982). |
Good, I. J. (1982). C140. Standardized tail-area probabilities. Journal of Statistical Computation and Simulation, 16(1), 65–66. <https://doi.org/10.1080/00949658208810607>
## Check it yields .05 for N = 100:
alpha_standardized(alpha = 0.05, N = 100)
## Check it yields .05 for N = 200:
alpha_standardized(alpha = 0.07071068, N = 200)
## Which alpha should we use with N = 200?
alpha_standardized(alpha = 0.05, N = 200)
## You can change the standardization N, repeating the example above:
alpha_standardized(alpha = 0.05, N = 100, standardize_N = 200)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.