Learn R Programming

BSDA (version 1.2.0)

Jobsat: Job satisfaction and stress level for 9 school teachers

Description

Data for Exercise 9.60

Usage

Jobsat

Arguments

Format

A data frame/tibble with nine observations on two variables

wspt

Wilson Stress Profile score for teachers

satisfaction

job satisfaction score

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 {
plot(satisfaction ~ wspt, data = Jobsat)
model <- lm(satisfaction ~ wspt, data = Jobsat)
abline(model, col = "blue")
summary(model)
rm(model)

# }

Run the code above in your browser using DataLab