View source: R/statistics.R View source: R/zzz-r4vn-inference.R
| sdtesti | R Documentation |
Performs a one-sample chi-squared variance test or a two-sample F test.
sdtesti(
n1,
sd1,
n2 = NULL,
sd2 = NULL,
sd0 = NULL,
alternative = c("two.sided", "less", "greater"),
level = 0.95,
digits = 3,
p_digits = 3,
show = TRUE,
console = FALSE
)
sdtest(
x,
y = NULL,
by = NULL,
data = NULL,
sd0 = NULL,
alternative = c("two.sided", "less", "greater"),
level = 0.95,
digits = 3,
p_digits = 3,
show = TRUE,
console = FALSE
)
n1, sd1 |
Sample size and standard deviation for sample 1. |
n2, sd2 |
Optional sample size and standard deviation for sample 2. |
sd0 |
Null standard deviation for a one-sample test. |
alternative |
Alternative hypothesis. |
level |
Confidence level. |
digits, p_digits |
Decimal places for estimates and p-values. |
show |
Logical; open the formatted result in the Viewer. Default |
console |
Logical; also print the traditional text result in the Console. Default |
x, y |
Numeric variables. |
by |
Optional two-level grouping variable. |
data |
Data frame. If |
Invisibly returns an object of class r4vn_stat.
sdtesti(40, 3, sd0 = 2.5)
sdtesti(40, 3, 35, 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.