lambdacensor_betapw: Find the Censor Hazard Function Parameter for Nonproportional...

Description Usage Arguments References

Description

calculate censor hazard function parameter for a given dropout rate. (for piecewise hazard ratios)

Usage

1
2
LambdaCensor_betapw(lambda=lambda,gamma=gamma,theta=theta,ebx=1,
  gammac=1,groupfreq=1,censordist='exponential',timeinterval=NULL)

Arguments

lambda

lambda for event hazard function

gamma

gamma for event hazard function

gammac

gamma for censor hazard function. This is required if the censoring hazard function is weibull

theta

Dropout rate

ebx

exp(beta*x), if there's no covariates, ebx=1.

groupfreq

frequence of each level of ebx value

censordist

censor hazard function distribution

timeinterval

time intervals for piecewise baseline hazard function

References

Wan F. (2017) Simulating survival data with predefined censoring rates for proportional hazards models. Statist. Med. 2017; 36(5): 838-854

Martinez EZ, Achcar JA, de Oliveira Peres MV, de Queiroz JAM (2016) A brief note on the simulation of survival data with a desired percentage of right-censored data. Journal of Data Science . 2016, Vol. 14 Issue 4, p701-712. 12p


TwoArmSurvSim documentation built on Feb. 26, 2021, 9:06 a.m.