Learn R Programming

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

timereg (version 2.0.5)

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

9,954

Version

2.0.5

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Thomas Scheike

Last Published

January 17th, 2023

Functions in timereg (2.0.5)

const

Identifies parametric terms of model
Event

Event history object
comp.risk

Competings Risks Regression
cox

Identifies proportional excess terms of model
Gprop.odds

Fit Generalized Semiparametric Proportional 0dds Model
cox.aalen

Fit Cox-Aalen survival model
krylow.pls

Fits Krylow based PLS for additive hazards model
pval

For internal use
cd4

The multicenter AIDS cohort study
bmt

The Bone Marrow Transplant Data
diabetes

The Diabetic Retinopathy Data
cum.residuals

Model validation based on cumulative residuals
cox.ipw

Missing data IPW Cox
csl

CSL liver chirrosis data
mela.pop

Melanoma data and Danish population mortality by age and sex
melanoma

The Melanoma Survival Data
plot.dynreg

Plots estimates and test-processes
TRACE

The TRACE study group of myocardial infarction
plot.cum.residuals

Plots cumulative residuals
aalen

Fit additive hazards model
prop.odds

Fit Semiparametric Proportional 0dds Model
prop.excess

Fits Proportional excess hazards model
dynreg

Fit time-varying regression model
summary.cum.residuals

Prints summary statistics for goodness-of-fit tests based on cumulative residuals
restricted.residual.mean

Estimates restricted residual mean for Cox or Aalen model
pe.sasieni

Fits Proportional excess hazards model with fixed offsets
plot.aalen

Plots estimates and test-processes
summary.aalen

Prints summary statistics
res.mean

Residual mean life (restricted)
event.split

EventSplit (SurvSplit).
prop

Identifies the multiplicative terms in Cox-Aalen model and proportional excess risk model
print.aalen

Prints call
two.stage

Fit Clayton-Oakes-Glidden Two-Stage model
timecox

Fit Cox model with partly timevarying effects.
prep.comp.risk

Set up weights for delayed-entry competing risks data for comp.risk function
prop.odds.subdist

Fit Semiparametric Proportional 0dds Model for the competing risks subdistribution
predict.timereg

Predictions for Survival and Competings Risks Regression for timereg
recurrent.marginal.mean

Estimates marginal mean of recurrent events
pava.pred

Make predictions of predict functions in rows mononotone
qcut

Cut a variable
mypbc

my version of the PBC data of the survival package
recurrent.marginal.coxmean

Estimates marginal mean of recurrent events based on two cox models
wald.test

Makes wald test