View source: R/piecewiseExp_test_changepoint.r
piecewiseExp_test_changepoint | R Documentation |
This function implements the Wald test described in Goodman et al (2011) and applied in Fang & Zheng (2011) to infer a change point in an estimated piecewise Exponential hazard function. Adjusts for sequential testing.
piecewiseExp_test_changepoint(peMLE, alpha = 0.05)
peMLE |
Piecewise Exponential hazard function estimate, as generated by |
alpha |
Overall significance level. Will be adjusted for sequential testing internally, see function output. |
A data.frame
containing the sequential test results.
Kaspar Rufibach (maintainer)
kaspar.rufibach@roche.com
Fang, L., Zheng, S. (2011). A hybrid approach to predicting events in clinical trials with time-to-event outcomes. Contemp. Clin. Trials, 32, 755–759.
Goodman, M.S., Li, Y., Tiwari, R.C. (2011). Detecting multiple change points in piecewise constant hazard functions. J. Appl. Stat, 38(11), 2523–2532.
# see vignette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.