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

simClaytonOakesWei

Simulate from the Clayton-Oakes frailty model


Description

Simulate observations from the Clayton-Oakes copula model with Weibull type baseline and Cox marginals.

Usage

simClaytonOakesWei(
  K,
  n,
  eta,
  beta,
  stoptime,
  weiscale = 1,
  weishape = 2,
  left = 0,
  pairleft = 0
)

Arguments

K

Number of clusters

n

Number of observations in each cluster

eta

1/variance

beta

Effect (log hazard ratio) of covariate

stoptime

Stopping time

weiscale

weibull scale parameter

weishape

weibull shape parameter

left

Left truncation

pairleft

pairwise (1) left truncation or individual (0)

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.