SurvTimesAFTshiftWeib: Simulation survival times from Shift AFT/Weibull model

Description Usage Arguments Value Examples

View source: R/internal.R

Description

Simulation survival times from Shift AFT/Weibull model

Usage

1
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

1

survMS documentation built on April 16, 2021, 9:07 a.m.