Learn R Programming

⚠️There's a newer version (2.0.7) of this package.Take me there.

timereg (version 2.0.2)

Flexible Regression Models for Survival Data

Description

Programs for Martinussen and Scheike (2006), `Dynamic Regression Models for Survival Data', Springer Verlag. Plus more recent developments. Additive survival model, semiparametric proportional odds model, fast cumulative residuals, excess risk models and more. Flexible competing risks regression including GOF-tests. Two-stage frailty modelling. PLS for the additive risk model. Lasso in the 'ahaz' package.

Copy Link

Version

Install

install.packages('timereg')

Monthly Downloads

14,733

Version

2.0.2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Thomas Scheike

Last Published

April 11th, 2022

Functions in timereg (2.0.2)

comp.risk

Competings Risks Regression
Event

Event history object
cox

Identifies proportional excess terms of model
cd4

The multicenter AIDS cohort study
aalen

Fit additive hazards model
const

Identifies parametric terms of model
cox.aalen

Fit Cox-Aalen survival model
TRACE

The TRACE study group of myocardial infarction
bmt

The Bone Marrow Transplant Data
pval

For internal use
plot.aalen

Plots estimates and test-processes
plot.cum.residuals

Plots cumulative residuals
dynreg

Fit time-varying regression model
prop.excess

Fits Proportional excess hazards model
cum.residuals

Model validation based on cumulative residuals
melanoma

The Melanoma Survival Data
diabetes

The Diabetic Retinopathy Data
mypbc

my version of the PBC data of the survival package
prop

Identifies the multiplicative terms in Cox-Aalen model and proportional excess risk model
event.split

EventSplit (SurvSplit).
cox.ipw

Missing data IPW Cox
Gprop.odds

Fit Generalized Semiparametric Proportional 0dds Model
invsubdist

Finds inverse of piecwise linear sub-distribution
csl

CSL liver chirrosis data
rcrisk

Simulation of Piecewise constant hazard models with two causes (Cox).
recurrent.marginal.coxmean

Estimates marginal mean of recurrent events based on two cox models
summary.cum.residuals

Prints summary statistics for goodness-of-fit tests based on cumulative residuals
timecox

Fit Cox model with partly timevarying effects.
predict.timereg

Predictions for Survival and Competings Risks Regression for timereg
simsubdist

Simulation from subdistribution function assuming piecwise linearity
res.mean

Residual mean life (restricted)
plot.dynreg

Plots estimates and test-processes
recurrent.marginal.mean

Estimates marginal mean of recurrent events
sim.cause.cox

Simulation of cause specific from Cox models.
summary.aalen

Prints summary statistics
restricted.residual.mean

Estimates restricted residual mean for Cox or Aalen model
sim.cif

Simulation of output from Cumulative incidence regression model
krylow.pls

Fits Krylow based PLS for additive hazards model
prep.comp.risk

Set up weights for delayed-entry competing risks data for comp.risk function
mela.pop

Melanoma data and Danish population mortality by age and sex
qcut

Cut a variable
prop.odds.subdist

Fit Semiparametric Proportional 0dds Model for the competing risks subdistribution
pe.sasieni

Fits Proportional excess hazards model with fixed offsets
two.stage

Fit Clayton-Oakes-Glidden Two-Stage model
rchaz

Simulation of Piecewise constant hazard model (Cox).
pava.pred

Make predictions of predict functions in rows mononotone
print.aalen

Prints call
prop.odds

Fit Semiparametric Proportional 0dds Model
wald.test

Makes wald test
sim.cox

Simulation of output from Cox model.