simClaytonOakes: Simulate from the Clayton-Oakes frailty model

Description Usage Arguments Author(s)

View source: R/sim.clayton.oakes.R

Description

Simulate observations from the Clayton-Oakes copula model with piecewise constant marginals.

Usage

1
2
simClaytonOakes(K, n, eta, beta, stoptime, left = 0, pairleft = 0,
  trunc.prob = 0.5)

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

left

Left truncation

pairleft

pairwise (1) left truncation or individual (0)

trunc.prob

Truncation probability

Author(s)

Klaus K. Holst


mets documentation built on May 2, 2019, 4:43 p.m.