Learn R Programming

MIICD (version 1.0)

get.est.FG: Compute estimates.

Description

This function uses the formula interface for Fine-Gray regression competing risk (FGR from the riskRegression library) models to compute coeficients and variance estimates. It uses also the cuminc function from the cmprsk library to estimate the baseline cause specific hazard.

For internal use.

Usage

get.est.FG( x , data , t1 , status , trans , cens , keep , formula )

Arguments

x
time to events.
data
original dataset.
t1
unique single times at which the survival is to be estimatied.
status
columns indicating the status of observations
trans
transission of interest
cens
censure code
keep
covariate to keep (see crprep for details). Optional here.
formula
an object of class "formula" (or one that can be coerced to that class): a symbolic description of the model to be fitted.

Value

  • survAn estimate of the survival function
  • sigmaAn estimate of the variance covariance matrix
  • betaAn estimate of the coeficients

References

Gerds, TA and Scheike, T and Andersen, PK (2011) Absolute risk regression for competing risks: interpretation, link functions and prediction Research report 11/7. Department of Biostatistics, University of Copenhagen

See Also

FGR riskRegression cuminc