salary: Salary data

Description Format Source References Examples

Description

Salary of faculty in a small Midwestern college in the early 1980s.

Format

This data frame contains the following columns:

degree

Factor with levels "PhD" or "Masters"

rank

Factor, "Asst", "Assoc" or "Prof"

sex

Factor, "Male" or "Female"

year

Years in current rank

ysdeg

Years since highest degree earned

salary

dollars per year

Source

Sanford Weisberg

References

Weisberg, S. (2014). Applied Linear Regression, 4th edition. Hoboken NJ: Wiley.

Examples

1

Example output

Loading required package: car
Loading required package: carData
Loading required package: effects
lattice theme set by effectsTheme()
See ?effectsTheme for details.
   degree rank    sex year ysdeg salary
1 Masters Prof   Male   25    35  36350
2 Masters Prof   Male   13    22  35350
3 Masters Prof   Male   10    23  28200
4 Masters Prof Female    7    27  26775
5     PhD Prof   Male   19    30  33696
6 Masters Prof   Male   16    21  28516

alr4 documentation built on April 20, 2018, 5:05 p.m.