Description Usage Arguments Value Author(s) See Also
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
1 2 | pssm.noninferiority.boundary(x,time,cov1,cov2,
approximate=TRUE,alpha=0.05,iterations=50000)
|
x |
A pssm object created by pssm |
time |
The time point at which the treatments are to be compared |
cov1 |
a a*b matrix of values of the b covariates affecting the time to progession |
cov2 |
a matrix of values of the covariates affecting survival after progression with the same number of rows as cov1 |
approximate |
If false it uses a metropolis hasting MCMC to calculate the upper boundary otherwise it uses a normal approximation for the posterior |
alpha |
The one sided alpha level of the bound |
iterations |
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
David A. Schoenfeld
pssm-class
,
pssm-package
,
pssm.generate.data
,
pssm.object
,
pssm
,
pssm.simulate
,
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.