Calculates the cumulative probabilities of confidence limits associated with the specified significance level/s \(\left( \alpha \right)\) for a two-tailed test.

alpha2prob(alpha = c(0.001, 0.01, 0.05))

Arguments

alpha

Numeric vector. Significance level \(\left( \alpha \right)\) . By default, alpha is set to conventional significance levels alpha = c(0.001, 0.01, 0.05).

Value

Returns probabilities associated with the specified significance level/s \(\left( \alpha \right)\) for a two-tailed test. The results are sorted from smallest to largest.

References

Wikipedia: Statistical significance

Wikipedia: Confidence interval

See also

Other alpha functions: alpha2crit(), ci2crit(), ci2prob(), nhstplot()

Examples

# vector alpha2prob( alpha = c( 0.001, 0.01, 0.05 ) )
#> [1] 0.0005 0.0050 0.0250 0.9750 0.9950 0.9995
# single numeric value alpha2prob(alpha = 0.05)
#> [1] 0.025 0.975