Generates a function of time for specified covariate values from a "pssm" object created by pssm that fits a joint proportional hazards and survival model using a piecewise exponential underlying hazard function
pssm.noninferiority.boundary(x,time,cov1,cov2,
approximate=TRUE,alpha=0.05,iterations=50000)
A pssm object created by pssm
The time point at which the treatments are to be compared
a \(a*b\) matrix of values of the \(b\) covariates affecting the time to progession
a matrix of values of the covariates affecting survival after progression with the same number of rows as cov1
If false it uses a metropolis hasting MCMC to calculate the upper boundary otherwise it uses a normal approximation for the posterior
The one sided alpha level of the bound
Number of MCMC iterations, only used if approximate=FALSE
A function is returned that takes a vector input. For each element the function outputs the lower alpha confidence bound of the survival difference
pssm-class
,
pssm-package
,
pssm.generate.data
,
pssm.object
,
pssm
,
pssm.simulate
,