Learn R Programming

BSDA (version 1.2.0)

Engineer: Salaries after 10 years for graduates of three different universities

Description

Data for Example 10.7

Usage

Engineer

Arguments

Format

A data frame/tibble with 51 observations on two variables

salary

salary (in $1000) 10 years after graduation

university

a factor with levels A, B, and C

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(salary ~ university, data = Engineer,
        main = "Example 10.7", col = "yellow")
kruskal.test(salary ~ university, data = Engineer)
anova(lm(salary ~ university, data = Engineer))
anova(lm(rank(salary) ~ university, data = Engineer))

# }

Run the code above in your browser using DataLab