Learn R Programming

crrcbcv (version 1.0)

cls: Clustered competing risks simulated data

Description

sample of 20 clusters with an average cluster size of 20

Usage

data(cls)

Arguments

Format

A data frame containing 20 clusters with an average cluster size of 20 and the following five variables. Simulation is detailed in the paper Finite-sample adjustments in variance estimators for clustered competing risks regression. Chen, Li. 2022. Under Review. Statistics in Medicine.

I

id of clusters

X_1

a cluster-level covariate generated from the standard normal distribution

X_2

an individual-level covariate generated from the standard normal distribution

eps

event type. 0=censored, 1, 2

T_obs

observed event time

References

Chen X, Li F. (2022). Finite-sample adjustments in variance estimators for clustered competing risks regression. Statistics in Medicine. 00(Under Review): 1-24.

Examples

Run this code
# NOT RUN {
data(cls)
# }

Run the code above in your browser using DataLab