simdata: Simulated data with mixed types of events

Description Usage Format References Examples

Description

This simulated data contains event times that are left censored, right censored, interval censored, or non-censored (observed event). The data is generated from a stratified Weibull distribution model in which each stratum is assumed to have an independent stratum-specific shape parameter. In addition, the regression coefficients corresponding to the vector of explanatory variables excluding the stratum indicator are assumed to be constant across strata.

Usage

1

Format

A data frame with 298 observations on the following 6 variables:

ID

subject id

strata

strata

cov1

a continuous covariate

cov2

a continuous covariate

left

left endpoint of censoring interval

right

right endpoint of censoring interval

References

see icweib for details on how to set L and R for different types of events.

Examples

1

straweib documentation built on Jan. 11, 2020, 9:11 a.m.