Learn R Programming

asbio (version 1.9-7)

case1202: Dataset of salary attributes for male and female workers from Ramsey and Schafer (1997)

Description

Ramsey and Schafer (1997) used this dataset to illustrate considerations in model selection. The data describe attributes of 61 female and 32 male clerical employees hired between 1965 and 1975 by a bank sued for sexual harassment.

Usage

data("case1202")

Arguments

Format

A data frame with 93 observations on the following 7 variables.

Yhire

Annual salary upon hire (US dollars).

Y77

Annual salary in 1977 (US dollars).

Xsex

Sex; a factor with the levels FEMALE and MALE.

Xsen

Seniority (months since first hired).

Xage

Age (in months).

Xed

Education (in years).

Xexp

Experience previous to being hired by the bank (in months).

Examples

Run this code
data(case1202)

Run the code above in your browser using DataLab