marriage_dataset: Marriage data

marriage_datasetR Documentation

Marriage data

Description

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).

Usage

data(marriage_dataset)

Format

Time-to-event data.

References

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.


bayesCureRateModel documentation built on Oct. 4, 2024, 1:07 a.m.