ci2prob: Confidence Intervals to Probabilities

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/alpha2prob.R

Description

Calculates the cumulative probabilities of confidence limits associated with the specified confidence interval/s for a two-tailed test.

Usage

1
ci2prob(ci = c(0.999, 0.99, 0.95))

Arguments

ci

Numeric vector. Confidence interval. By default, ci is set to conventional confidence intervals ci = c(0.999, 0.99, 0.95).

Value

Returns probabilities associated with the specified confidence interval/s. The results are sorted from smallest to largest.

Author(s)

Ivan Jacob Agaloos Pesigan

References

Wikipedia: Statistical significance

Wikipedia: Confidence interval

See Also

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

Examples

1
2
3
4
# vector
ci2prob(ci = c(0.999, 0.99, 0.95))
# single numeric value
ci2prob(ci = 0.95)

jeksterslabds/jeksterslabRboot documentation built on July 20, 2020, 12:56 p.m.