Learn R Programming

timereg (version 2.0.6)

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

11,243

Version

2.0.6

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

September 6th, 2024

Functions in timereg (2.0.6)

diabetes

The Diabetic Retinopathy Data
mypbc

my version of the PBC data of the survival package
qcut

Cut a variable
recurrent.marginal.mean

Estimates marginal mean of recurrent events
recurrent.marginal.coxmean

Estimates marginal mean of recurrent events based on two cox models
const

Identifies parametric terms of model
prop.odds.subdist

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

Fit Semiparametric Proportional 0dds Model
wald.test

Makes wald test
timecox

Fit Cox model with partly timevarying effects.
prop.excess

Fits Proportional excess hazards model
dynreg

Fit time-varying regression model
prop

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

Prints call
predict.timereg

Predictions for Survival and Competings Risks Regression for timereg
two.stage

Fit Clayton-Oakes-Glidden Two-Stage model
plot.aalen

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
pe.sasieni

Fits Proportional excess hazards model with fixed offsets
event.split

EventSplit (SurvSplit).
res.mean

Residual mean life (restricted)
plot.dynreg

Plots estimates and test-processes
restricted.residual.mean

Estimates restricted residual mean for Cox or Aalen model
summary.aalen

Prints summary statistics
melanoma

The Melanoma Survival Data
plot.cum.residuals

Plots cumulative residuals
summary.cum.residuals

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

Fit additive hazards model
Event

Event history object
cox.aalen

Fit Cox-Aalen survival model
pval

For internal use
bmt

The Bone Marrow Transplant Data
Gprop.odds

Fit Generalized Semiparametric Proportional 0dds Model
mela.pop

Melanoma data and Danish population mortality by age and sex
TRACE

The TRACE study group of myocardial infarction
cum.residuals

Model validation based on cumulative residuals
comp.risk

Competings Risks Regression
cd4

The multicenter AIDS cohort study
cox

Identifies proportional excess terms of model
cox.ipw

Missing data IPW Cox
krylow.pls

Fits Krylow based PLS for additive hazards model
csl

CSL liver chirrosis data