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

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

1

Example output

Loading required package: car
  Degree Rank Sex Year YSdeg Salary
1      1    3   0   25    35  36350
2      1    3   0   13    22  35350
3      1    3   0   10    23  28200
4      1    3   1    7    27  26775
5      0    3   0   19    30  33696
6      1    3   0   16    21  28516

alr3 documentation built on May 2, 2019, 5:20 p.m.

Related to salary in alr3...