Description Usage Format References Examples
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.
1 |
A data frame with 26 observations on the following 4 variables:
x (satisfaction score)
y (satisfaction score)
satisfaction (combined satisfaction scores)
school (a factor with levels x and y)
Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.
1 |
Loading required package: lattice
Loading required package: ggplot2
Two Sample t-test
data: x and y
t = 2.0798, df = 24, p-value = 0.0484
alternative hypothesis: true difference in means is not equal to 0
95 percent confidence interval:
0.05691592 14.85217499
sample estimates:
mean of x mean of y
83.45455 76.00000
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.