marriage_dataset | R Documentation |
The variable of interest (time
) corresponds to the duration (in years) of first marriage for 1500 individuals. The available covariates are:
age
age of respondent (in years) at the time of first marriage. The values are standardized (sample mean and variance equal to 0 and 1, respectively).
kids
factor: whether there were kids during the first marriage ("yes"
) or not ("no"
).
race
race of respondent with levels: "black"
, "hispanic"
and "other"
.
Among the 1500 observations, there are 1018 censoring times (censoring = 0
) and 482 divorces (censoring = 1
). Source: National Longitudinal Survey of Youth 1997 (NLSY97).
data(marriage_dataset)
Time-to-event data.
Bureau of Labor Statistics, U.S. Department of Labor. National Longitudinal Survey of Youth 1997 cohort, 1997-2022 (rounds 1-20). Produced and distributed by the Center for Human Resource Research (CHRR), The Ohio State University. Columbus, OH: 2023.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.