Learn R Programming

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

timereg (version 2.0.4)

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.4

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

November 9th, 2022

Functions in timereg (2.0.4)

TRACE

The TRACE study group of myocardial infarction
Gprop.odds

Fit Generalized Semiparametric Proportional 0dds Model
Event

Event history object
const

Identifies parametric terms of model
cox

Identifies proportional excess terms of model
aalen

Fit additive hazards model
bmt

The Bone Marrow Transplant Data
cox.aalen

Fit Cox-Aalen survival model
cd4

The multicenter AIDS cohort study
comp.risk

Competings Risks Regression
csl

CSL liver chirrosis data
diabetes

The Diabetic Retinopathy Data
pval

For internal use
krylow.pls

Fits Krylow based PLS for additive hazards model
invsubdist

Finds inverse of piecwise linear sub-distribution
mela.pop

Melanoma data and Danish population mortality by age and sex
cum.residuals

Model validation based on cumulative residuals
cox.ipw

Missing data IPW Cox
event.split

EventSplit (SurvSplit).
dynreg

Fit time-varying regression model
melanoma

The Melanoma Survival Data
plot.dynreg

Plots estimates and test-processes
pava.pred

Make predictions of predict functions in rows mononotone
prep.comp.risk

Set up weights for delayed-entry competing risks data for comp.risk function
print.aalen

Prints call
pe.sasieni

Fits Proportional excess hazards model with fixed offsets
plot.aalen

Plots estimates and test-processes
plot.cum.residuals

Plots cumulative residuals
mypbc

my version of the PBC data of the survival package
predict.timereg

Predictions for Survival and Competings Risks Regression for timereg
prop.excess

Fits Proportional excess hazards model
prop

Identifies the multiplicative terms in Cox-Aalen model and proportional excess risk model
res.mean

Residual mean life (restricted)
recurrent.marginal.mean

Estimates marginal mean of recurrent events
prop.odds.subdist

Fit Semiparametric Proportional 0dds Model for the competing risks subdistribution
prop.odds

Fit Semiparametric Proportional 0dds Model
qcut

Cut a variable
rchaz

Simulation of Piecewise constant hazard model (Cox).
summary.cum.residuals

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

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

Fit Clayton-Oakes-Glidden Two-Stage model
simsubdist

Simulation from subdistribution function assuming piecwise linearity
wald.test

Makes wald test
sim.cif

Simulation of output from Cumulative incidence regression model
sim.cox

Simulation of output from Cox model.
recurrent.marginal.coxmean

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

Prints summary statistics
sim.cause.cox

Simulation of cause specific from Cox models.
restricted.residual.mean

Estimates restricted residual mean for Cox or Aalen model
timecox

Fit Cox model with partly timevarying effects.