spduration: Split-Population Duration (Cure) Regression

An implementation of split-population duration regression models. Unlike regular duration models, split-population duration models are mixture models that accommodate the presence of a sub-population that is not at risk for failure, e.g. cancer patients who have been cured by treatment. This package implements Weibull and Loglogistic forms for the duration component, and focuses on data with time-varying covariates. These models were originally formulated in Boag (1949) <http://www.jstor.org/stable/2983694> and Berkson and Gage (1952) <http://www.jstor.org/stable/2281318>, and extended in Schmidt and Witte (1989) <doi:10.1016/0304-4076(89)90034-1>.

Install the latest version of this package by entering the following in R:
install.packages("spduration")
AuthorAndreas Beger [aut, cre], Daina Chiba [aut], Daniel W. Hill, Jr. [aut], Nils W. Metternich [aut], Shahryar Minhas [aut], Michael D. Ward [aut, cph]
Date of publication2017-04-11 13:00:53 UTC
MaintainerAndreas Beger <adbeger@gmail.com>
LicenseGPL-3
Version0.16.0

View on CRAN

Man pages

accessors: Accessor methods for spdur Objects

add_duration: Add duration variables to panel data

AIC.spdur: AIC method for spdur

as.data.frame.spdur: Convert spdur results to summary data frame

attempt_date: Attempt to convert to R date format

BIC.spdur: BIC method for spdur

bscoup: B&S 2003 coup data

coups: Global coups, 1979 to 2010

expand.call: Expand call to full names.

forecast: Model forecasts

forecast.default: Default forecast method

forecast.spdur: Forecast from a spdur model

hazard: Calculate hazard function values

loglog: Regular Log-logistic regression

loglog_lnl: Regular Log-logistic likelihood

model.coups: Model of global coups from 1979 to 2010

panel_lag: Lag panel data

plot_hazard: Plot hazard function

plot_hazard1: Plot conditional hazard rate

plot_hazard2: Simulate and plot hazard function

plot.spdur: Plot split-duration model results.

predict.spdur: Predict methods for spdur Objects

print.summary.spdur: Print a split-population duration model results summary

sepplot: Generate a Separation Plot

spdur: Split-population duration (cure) regression

spduration: Split-Population Duration (Cure) Regression Models

sploglog: Split-population Log-logistic regression

sploglog_lnl: Split-population Log-logistic log likelihood

spweib_lnl: Split-population Weibull log likelihood

spweibull: Split-population Weibull regression

summary.spdur: Summarize split-population duration results

weib_lnl: Regular weibull log likelihood

weibull: Regular Weibull regression

xtable.spdur: Create export table for a split-duration model

Functions

accessors Man page
add_duration Man page
AIC.spdur Man page
as.data.frame.spdur Man page
attempt_date Man page
BIC.spdur Man page
bscoup Man page
coef.spdur Man page
coups Man page
expand.call Man page
fitted.spdur Man page
forecast Man page
forecast.default Man page
forecast.spdur Man page
hazard Man page
logLik.spdur Man page
loglog Man page
loglog_lnl Man page
model.coups Man page
model.matrix.spdur Man page
nobs.spdur Man page
panel_lag Man page
plot_hazard Man page
plot_hazard1 Man page
plot_hazard2 Man page
plot.spdur Man page
predict.spdur Man page
print.summary.spdur Man page
residuals.spdur Man page
sepplot Man page
spdur Man page
spduration Man page
spduration-package Man page
sploglog Man page
sploglog_lnl Man page
spweib_lnl Man page
spweibull Man page
summary.spdur Man page
terms.spdur Man page
vcov.spdur Man page
weib_lnl Man page
weibull Man page
xtable.spdur Man page

Files

inst
inst/doc
inst/doc/introduction.R
inst/doc/introduction.html
inst/doc/introduction.Rmd
tests
tests/testthat.R
tests/testthat
tests/testthat/test_predict.spdur.R tests/testthat/test_plotting.R tests/testthat/test_panel_lag.R tests/testthat/test_add_duration.R
src
src/weib_lnl.cpp
src/Makevars
src/spweib_lnl.cpp
src/loglog_lnl.cpp
src/Makevars.win
src/init.c
src/RcppExports.cpp
src/sploglog_lnl.cpp
NAMESPACE
NEWS
NEWS.md
data
data/coups.rda
data/model.coups.rda
data/bscoup.rda
R
R/spduration-package.R R/add_duration.R R/predict.spdur.R R/accessors.spdur.R R/attempt_date.R R/summary.spdur.R R/expand.call.R R/fit-stats.R R/xtable.spdur.R R/sploglog.R R/RcppExports.R R/spdur.R R/forecast.R R/data-docs.R R/spweibull.R R/panel_lag.R R/as.data.frame.spdur.R R/plot.spdur.R
vignettes
vignettes/rates.png
vignettes/spdur.bib
vignettes/introduction.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/xtable.spdur.Rd man/attempt_date.Rd man/add_duration.Rd man/spweibull.Rd man/plot.spdur.Rd man/print.summary.spdur.Rd man/sploglog.Rd man/bscoup.Rd man/sepplot.Rd man/model.coups.Rd man/panel_lag.Rd man/plot_hazard1.Rd man/spdur.Rd man/expand.call.Rd man/spduration.Rd man/plot_hazard2.Rd man/AIC.spdur.Rd man/loglog.Rd man/loglog_lnl.Rd man/hazard.Rd man/forecast.default.Rd man/summary.spdur.Rd man/as.data.frame.spdur.Rd man/plot_hazard.Rd man/coups.Rd man/weib_lnl.Rd man/forecast.spdur.Rd man/forecast.Rd man/sploglog_lnl.Rd man/predict.spdur.Rd man/spweib_lnl.Rd man/weibull.Rd man/accessors.Rd man/BIC.spdur.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.