pssm.noninferiorityboundary: Non inferiority boundary as a function of the prior precision

Description Usage Arguments Value Author(s) See Also

Description

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

Usage

1
2
pssm.noninferiority.boundary(x,time,cov1,cov2,
                                       approximate=TRUE,alpha=0.05,iterations=50000)

Arguments

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

Value

A function is returned that takes a vector input. For each element the function outputs the lower alpha confidence bound of the survival difference

Author(s)

David A. Schoenfeld

See Also

pssm-class, pssm-package, pssm.generate.data, pssm.object, pssm, pssm.simulate,

plot-methods, pssm.power


pssm documentation built on May 2, 2019, 11:12 a.m.