Learn R Programming

LMest (version 3.1.2)

NLSYlong: National Longitudinal Survey of Youth data

Description

Longitudinal dataset in long format deriving from the National Longitudinal Survey of Youth with information about 581 individuals followed from 1990 to 1994.

Usage

data(NLSYlong)

Arguments

Format

A data frame with 1743 observations on the following 12 variables.

momage

mother's age at birth.

gender

0 if male, 1 if female.

childage

child's age at first interview.

hispanic

1 if child is Hispanic, 0 if not.

black

1 if child is black, 0 if not.

momwork

1 if mother works, 0 if not.

married

1 if parents are married, 0 if not.

time

occasion of observation.

anti

a measure of antisocial behavior measured on a scale from 0 to 6.

self

a measure of self-esteem measured on a scale from 6 to 24.

pov

a time varying variable assuming value 1 if family is in poverty, 0 if not.

id

subject id.

References

The wide format of this dataset is downloadable from the package `panelr`.

Examples

Run this code
data(NLSYlong)

Run the code above in your browser using DataLab