Description Usage Arguments Value Author(s) References See Also Examples
Calculates the z, t, χ^2, or F critical value/s of confidence limits associated with the specified confidence interval/s.
1 2 3 4 5 6 7 |
ci |
Numeric vector.
Confidence interval.
By default,
|
dist |
Character string.
|
two.tailed |
Logical.
If |
right.tail |
Logical.
If |
... |
Degrees of freedom.
|
Returns z, t, χ^2, or F critical value/s associated with the specified confidence interval/s. The results are sorted from smallest to largest.
Ivan Jacob Agaloos Pesigan
Wikipedia: Statistical significance
Wikipedia: Confidence interval
Other alpha functions:
alpha2crit()
,
alpha2prob()
,
ci2prob()
,
nhstplot()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | # z two-tailed
## vector
ci2crit(
ci = c(
0.999,
0.99,
0.95
),
)
## single numeric value
ci2crit(ci = 0.95)
# t two-tailed
## vector
ci2crit(
ci = c(
0.999,
0.99,
0.95
),
dist = "t",
df = 1000
)
## single numeric value
ci2crit(
ci = 0.95,
dist = "t",
df = 1000
)
# z one-tailed right
## vector
ci2crit(
ci = c(
0.999,
0.99,
0.95
),
dist = "z",
two.tailed = FALSE
)
# t one-tailed right
## vector
ci2crit(
ci = c(
0.999,
0.99,
0.95
),
dist = "t",
two.tailed = FALSE,
df = 5
)
# F one-tailed
## vector
ci2crit(
ci = c(
0.999,
0.99,
0.95
),
dist = "F",
two.tailed = FALSE,
df1 = 2,
df2 = 2
)
# chisq one-tailed
## vector
ci2crit(
ci = c(
0.999,
0.99,
0.95
),
dist = "chisq",
two.tailed = FALSE,
df = 1
)
# z one-tailed left
## vector
ci2crit(
ci = c(
0.999,
0.99,
0.95
),
dist = "z",
two.tailed = FALSE,
right.tail = FALSE
)
# t one-tailed left
## vector
ci2crit(
ci = c(
0.999,
0.99,
0.95
),
dist = "t",
two.tailed = FALSE,
right.tail = FALSE,
df = 5
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.