Stschool | R Documentation |
A questionnaire is randomly administered to 11 students from State School
X
and to 15 students from State School Y
(the results have
been ordered and stored in the data frame Stschool
). Data are used
in Example 9.11.
A data frame with 26 observations on the following 4 variables:
satisfaction score
satisfaction score
combined satisfaction scores
a factor with levels X
and Y
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. (2008) Probability and Statistics with R. Chapman & Hall/CRC.
with(data = Stschool, t.test(X, Y, var.equal = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.