SurvTimesAFTshiftWeib: Simulation survival times from Shift AFT/Weibull model

View source: R/internal.R

SurvTimesAFTshiftWeibR Documentation

Simulation survival times from Shift AFT/Weibull model

Description

Simulation survival times from Shift AFT/Weibull model

Usage

SurvTimesAFTshiftWeib(Z, beta, beta2, Y, pp, hazParams)

Arguments

Z

Matrix of covariates

beta

regression parameter

beta2

vector of regression parameter or distribution of regression parameter

Y

random uniform

pp

number of pertinent covariates

hazParams

distribution parameters of baseline hazard risk

Value

Ts Observed times

Examples

library(survMS)

mathildesautreuil/survMS documentation built on June 13, 2022, 4:07 p.m.