Description Usage Arguments Value Examples
We use equation 5-25, found on page 226 of our book, Applied Multivariate Statistical Analysis, 6th Edition, by Johnson and Wichern
1 | ciDiffMeans(data, alpha = 0.05, i = 1, k = 2)
|
data |
a data.frame |
alpha |
the significance level, set to the standard 0.05 |
i |
the first column in our data frame that we want to use in our calculation |
k |
the second column in our data frame that we want to use in our calculation |
The (1 - α)*100% confidence interval for the difference in means, μ_i - μ_k
1 2 | testData <- datasets::mtcars
ciDiffMeans(data = testData, i = 1, k = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.