Learn R Programming

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

timereg (version 2.0.1)

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

12,357

Version

2.0.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

October 13th, 2021

Functions in timereg (2.0.1)

TRACE

The TRACE study group of myocardial infarction
comp.risk

Competings Risks Regression
Event

Event history object
bmt

The Bone Marrow Transplant Data
cox

Identifies proportional excess terms of model
aalen

Fit additive hazards model
const

Identifies parametric terms of model
cd4

The multicenter AIDS cohort study
cox.ipw

Missing data IPW Cox
cox.aalen

Fit Cox-Aalen survival model
prep.comp.risk

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

Fit Generalized Semiparametric Proportional 0dds Model
csl

CSL liver chirrosis data
dynreg

Fit time-varying regression model
prop

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

EventSplit (SurvSplit).
melanoma

The Melanoma Survival Data
mela.pop

Melanoma data and Danish population mortality by age and sex
prop.excess

Fits Proportional excess hazards model
krylow.pls

Fits Krylow based PLS for additive hazards model
plot.dynreg

Plots estimates and test-processes
diabetes

The Diabetic Retinopathy Data
print.aalen

Prints call
cum.residuals

Model validation based on cumulative residuals
plot.aalen

Plots estimates and test-processes
plot.cum.residuals

Plots cumulative residuals
sim.cox

Simulation of output from Cox model.
mypbc

my version of the PBC data of the survival package
sim.cif

Simulation of output from Cumulative incidence regression model
restricted.residual.mean

Estimates restricted residual mean for Cox or Aalen model
rchaz

Simulation of Piecewise constant hazard model (Cox).
qcut

Cut a variable
rcrisk

Simulation of Piecewise constant hazard models with two causes (Cox).
invsubdist

Finds inverse of piecwise linear sub-distribution
pava.pred

Make predictions of predict functions in rows mononotone
pval

For internal use
prop.odds

Fit Semiparametric Proportional 0dds Model
pe.sasieni

Fits Proportional excess hazards model with fixed offsets
summary.aalen

Prints summary statistics
recurrent.marginal.coxmean

Estimates marginal mean of recurrent events based on two cox models
prop.odds.subdist

Fit Semiparametric Proportional 0dds Model for the competing risks subdistribution
simsubdist

Simulation from subdistribution function assuming piecwise linearity
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
sim.cause.cox

Simulation of cause specific from Cox models.
recurrent.marginal.mean

Estimates marginal mean of recurrent events
two.stage

Fit Clayton-Oakes-Glidden Two-Stage model
res.mean

Residual mean life (restricted)
wald.test

Makes wald test