Learn R Programming

alr3 (version 2.0.5)

salary: Salary data

Description

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

Arguments

Format

This data frame contains the following columns:
Degree
Degree, 1 if PhD, 0 if Masters
Rank
Rank (1 = Asst Prof, 2 Assoc Prof, 3 Prof)
Sex
1 if female, 0 if male
Year
Years in current rank
YSdeg
Years since highest degree earned
Salary
dollars per year

Source

Sanford Weisberg

References

Weisberg, S. (2005). Applied Linear Regression, 3rd edition. New York: Wiley, Problem 6.10.

Examples

Run this code
head(salary)

Run the code above in your browser using DataLab