Learn R Programming

SemiPar (version 1.0-4.2)

trade.union: Trade union data

Description

The trade.union data frame has data on 534 U.S. workers.

Usage

data(trade.union)

Arguments

Format

This data frame contains the following columns:

years.educ

number of years of education.

south

indicator of living in southern region of U.S.A.

female

gender indicator: 0=male,1=female.

years.experience

number of years of work experience

union.member

indicator of trade union membership: 0=non-member, 1=member.

wage

wages in dollars per hour.

age

age in years.

race

1=black, 2=Hispanic, 3=white.

occupation

1=management, 2=sales, 3=clerical, 4=service, 5=professional, 6=other.

sector

0=other, 1=manufacturing, 2=construction.

married

indicator of being married: 0=unmarried, 1=married.

References

Ruppert, D., Wand, M.P. and Carroll, R.J. (2003) Semiparametric Regression Cambridge University Press. http://stat.tamu.edu/~carroll/semiregbook/

Examples

Run this code
# NOT RUN {
library(SemiPar)
data(trade.union)
pairs(trade.union,pch=".")
# }

Run the code above in your browser using DataLab