Learn R Programming

BSDA (version 1.2.2)

Tv: Percent of students that watch more than 6 hours of TV per day versus national math test scores

Description

Data for Examples 2.1 and 2.7

Usage

Tv

Arguments

Format

A data frame/tibble with 53 observations on three variables

state

U.S. state

percent

percent of students who watch more than six hours of TV a day

test

state average on national math test

References

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

Examples

Run this code

plot(test ~ percent, data = Tv, col = "blue")
cor(Tv$test, Tv$percent)

Run the code above in your browser using DataLab