Learn R Programming

HLMdiag (version 0.5.0)

wages: Wages for male high school dropouts

Description

Data on the labor-market experience of male high school dropouts.

Arguments

Format

A data frame with 6402 observations on the following 15 variables.

id

respondent id - a factor with 888 levels.

lnw

natural log of wages expressed in 1990 dollars.

exper

years of experience in the work force

ged

equals 1 if respondent has obtained a GED as of the time of survey, 0 otherwise

postexp

labor force participation since obtaining a GED (in years) - before a GED is earned postexp = 0, and on the day a GED is earned postexp = 0

black

factor - equals 1 if subject is black, 0 otherwise

hispanic

factor - equals 1 if subject is hispanic, 0 otherwise

hgc

highest grade completed - takes integers 6 through 12

hgc.9

hgc - 9, a centered version of hgc

uerate

local area unemployment rate for that year

ue.7

ue.centert1

ue.mean

ue.person.cen

ue1

References

Singer, J. D. and Willett, J. B. (2003), Applied Longitudinal Data Analysis: Modeling Change and Event Occurrence, New York: Oxford University Press.

Cook, D. and Swayne, D. F. (2007), Interactive and Dynamic Graphics for Data Analysis with R and GGobi, Springer.

Examples

Run this code
# NOT RUN {
str(wages)
summary(wages)

# }
# NOT RUN {
library(lme4)
lmer(lnw ~ exper + (exper | id), data = wages)
# }

Run the code above in your browser using DataLab