spduration: Split-Population Duration (Cure) Regression

Functions for estimating split-duration regression models and various associated generic function methods.

AuthorAndreas Beger [aut, cre], Daina Chiba [aut], Daniel Hill [aut], Nils Metternich [aut], Shahryar Minhas [aut], Michael Ward [cph]
Date of publication2016-05-12 15:15:16
MaintainerAndreas Beger <adbeger@gmail.com>
LicenseGPL-3
Version0.15.1

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: Plot spdur object predictions

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

separationplot.spdur: 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

Files in this package

spduration
spduration/tests
spduration/tests/testthat.R
spduration/tests/testthat
spduration/tests/testthat/Rplots.pdf
spduration/tests/testthat/test_predict.spdur.R
spduration/tests/testthat/test_plotting.R
spduration/tests/testthat/test_panel_lag.R
spduration/tests/testthat/test_add_duration.R
spduration/src
spduration/src/weib_lnl.cpp
spduration/src/Makevars
spduration/src/spweib_lnl.cpp
spduration/src/loglog_lnl.cpp
spduration/src/Makevars.win
spduration/src/RcppExports.cpp
spduration/src/sploglog_lnl.cpp
spduration/NAMESPACE
spduration/NEWS
spduration/NEWS.md
spduration/data
spduration/data/coups.rda
spduration/data/model.coups.rda
spduration/data/bscoup.rda
spduration/R
spduration/R/spduration-package.R spduration/R/add_duration.R spduration/R/predict.spdur.R spduration/R/accessors.spdur.R spduration/R/attempt_date.R spduration/R/summary.spdur.R spduration/R/expand.call.R spduration/R/fit-stats.R spduration/R/xtable.spdur.R spduration/R/sploglog.R spduration/R/RcppExports.R spduration/R/spdur.R spduration/R/forecast.R spduration/R/data-docs.R spduration/R/spweibull.R spduration/R/panel_lag.R spduration/R/as.data.frame.spdur.R spduration/R/plot.spdur.R
spduration/README.md
spduration/MD5
spduration/DESCRIPTION
spduration/man
spduration/man/xtable.spdur.Rd spduration/man/attempt_date.Rd spduration/man/add_duration.Rd spduration/man/spweibull.Rd spduration/man/plot.spdur.Rd spduration/man/print.summary.spdur.Rd spduration/man/sploglog.Rd spduration/man/bscoup.Rd spduration/man/model.coups.Rd spduration/man/panel_lag.Rd spduration/man/plot_hazard1.Rd spduration/man/separationplot.spdur.Rd spduration/man/spdur.Rd spduration/man/expand.call.Rd spduration/man/spduration.Rd spduration/man/plot_hazard2.Rd spduration/man/AIC.spdur.Rd spduration/man/loglog.Rd spduration/man/loglog_lnl.Rd spduration/man/hazard.Rd spduration/man/forecast.default.Rd spduration/man/summary.spdur.Rd spduration/man/as.data.frame.spdur.Rd spduration/man/plot_hazard.Rd spduration/man/coups.Rd spduration/man/weib_lnl.Rd spduration/man/forecast.spdur.Rd spduration/man/forecast.Rd spduration/man/sploglog_lnl.Rd spduration/man/predict.spdur.Rd spduration/man/spweib_lnl.Rd spduration/man/weibull.Rd spduration/man/accessors.Rd spduration/man/BIC.spdur.Rd

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

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