simjm_benchmark: Benchmark "True" analysis of data simulated by 'simjm'...

Description Usage Arguments Details Value References Examples

Description

simjm_benchmark fits Cox proportional hazards and semi-parametric additive hazards models to data generated by simjm using the perfect data, i.e. the true values of the time-dependent markers.

Usage

1
2
simjm_benchmark(data, surv_model = "Cox", marker_model = "RE",
  corr = "Low")

Arguments

data

A data.frame produced by simjm.

surv_model

Time-to-event model that was used to generate data. Options are "Cox" for Cox proportional hazard model and "Add" for semi-parametric additive hazards model.

marker_model

Multiple marker model that was used to generate data. Options are "RE" for the correlated random effects model and "PN" for the product normal model.

corr

Degree of marginal pairwise correlations between the markers that was used to generate data. Options are "Low", "Mod" and "High".

Details

The function is used to perform what is referred to as the "True" analysis in Moreno-Betancur et al. (2017) which is based on perfect data, i.e. the true values of the markers at each of the event times as drawn from the simulation model. This provides a benchmark for analyses performed with error-polluted and incomplete data using survtd.

Value

Returns regression coefficient estimates for each covariate based on the "True" analysis, along with 95 confidence intervals and p-values.

References

Moreno-Betancur M, Carlin JB, Brilleman SL, Tanamas S, Peeters A, Wolfe R (2017). Survival analysis with time-dependent covariates subject to missing data or measurement error: Multiple Imputation for Joint Modeling (MIJM). Biostatistics [Epub ahead of print 12 Oct 2017].

Examples

1
2
3
4
  dat<-simjm(n=200,surv_model="Cox",marker_model="PN",
             MErr="High",Miss="None",effects="Weak",corr="Low")

  simjm_benchmark(dat,surv_model="Cox",marker_model="PN",corr="Low")

moreno-betancur/survtd documentation built on May 20, 2019, 5:07 p.m.