Learn R Programming

BSDA (version 1.2.0)

Homework: Number of hours per week spent on homework for private and public high school students

Description

Data for Exercise 7.78

Usage

Homework

Arguments

Format

A data frame with 30 observations on two variables

school

type of school either private or public

time

number of hours per week spent on homework

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code
# NOT RUN {
boxplot(time ~ school, data = Homework, 
        ylab = "Hours per week spent on homework")
#
t.test(time ~ school, data = Homework)

# }

Run the code above in your browser using DataLab