Learn R Programming

PASWR2 (version 1.0.5)

STSCHOOL: School Satisfaction

Description

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.

Usage

STSCHOOL

Arguments

Format

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)

References

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.

Examples

Run this code
# NOT RUN {
with(data = STSCHOOL, t.test(x, y, var.equal=TRUE))
# }

Run the code above in your browser using DataLab