simulation_nofrailty {survregVB}R Documentation

Simulated data without shared frailty effects to model unclustered time-to-event data.

Description

Simulated data without shared frailty effects to model unclustered time-to-event data.

Usage

simulation_nofrailty

Format

A dataframe with 300 observations.

x1

Continuous covariate from N(1, 0.2^2)

x2

Binary covariate from Bernoulli(0.5)

Time

True survival time

Time.10

Observed survival time accounting for uniformly distributed right censoring time from uniform(0,48)

Time.30

Observed survival time accounting for uniformly distributed right censoring time from uniform(0,17)

delta

Event indicator for uncensored data (always 1 in this simulation.)

delta.10

Event indicator for T.10 (1 = event, 0 = censored).

delta.30

Event indicator for T.30 (1 = event, 0 = censored).

@references Xian, C., Souza, C. P. E. de, He, W., Rodrigues, F. F., & Tian, R. (2024). Variational Bayesian analysis of survival data using a log-logistic accelerated failure time model. Statistics and Computing, 34(2). https://doi.org/10.1007/s11222-023-10365-6


[Package survregVB version 0.0.1 Index]