Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simAalenFrailty

Simulate from the Aalen Frailty model


Description

Simulate observations from Aalen Frailty model with Gamma distributed frailty and constant intensity.

Usage

simAalenFrailty(
  n = 5000,
  theta = 0.3,
  K = 2,
  beta0 = 1.5,
  beta = 1,
  cens = 1.5,
  cuts = 0,
  ...
)

Arguments

n

Number of observations in each cluster

theta

Dependence paramter (variance of frailty)

K

Number of clusters

beta0

Baseline (intercept)

beta

Effect (log hazard ratio) of covariate

cens

Censoring rate

cuts

time cuts

...

Additional arguments

Author(s)

Klaus K. Holst


mets

Analysis of Multivariate Event Times

v1.2.8.1
GPL (>= 2)
Authors
Klaus K. Holst [aut, cre], Thomas Scheike [aut]
Initial release
2020-09-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.