summary.penmodel_cmp function

Summary method for class penmodel_cmp

Summary method for class penmodel_cmp

Provides a summary of a fitted competing risks penetrance model.

## S3 method for class 'penmodel_cmp' summary(object, correlation=FALSE, ...)

Arguments

  • object: An object class of 'penmodel_cmp', a fitted model by penmodel_cmp function.
  • correlation: Logical; if TRUE, returns the correlation matrix of the estimated parameters. Default is FALSE.
  • ...: Further arguments passed to or from other methods.

Returns

Returns the object of class 'summary.penmodel_cmp', including the following summary values: - estimates: List of parameter estimates of transformed baseline parameters and regression coefficients, their standard errors, their robust standard errors if robust=TRUE was selected when fitting the penetrance model, tt-statistics and corresponding two-sided pp-values.

  • varcov: Variance-covariance matrix of the parameter estimates.

  • varcov.robust: Robust variance-covariance matrix of the parameter estimates if robust = TRUE was selected when fitting the penetrance model.

  • correlation: Correlation matrix obtained from the variance-covariance matrix.

  • correlation.robust: Correlation matrix obtained from the robust variance-covariance matrix if robust = TRUE was selected when fitting the penetrance model.

Examples

# Simulated family completing risks data ## Not run: set.seed(4321) fam1 <- simfam_cmp(N.fam = 300, design = "pop+", variation = "frailty", competing=TRUE, base.dist = "Weibull", frailty.dist = "gamma", depend=c(0.5, 1), allelefreq = 0.02, base.parms = list(c(0.01, 3), c(0.01, 3)), vbeta = list(c(-1.13, 2.35),c(-1, 2))) # Penetrance model fit for the simulated family data fit <- penmodel_cmp( formula1 = Surv(time, status==1) ~ gender + mgene, formula2 = Surv(time, status==2) ~ gender + mgene, cluster = "famID", parms = list(c(0.01, 3, -1.13, 2.35), c(0.01, 3, -1, 2)), data = fam1, design = "pop+", base.dist = "Weibull") # Summary of the model parameter and penetrance estimates from model fit summary(fit) ## End(Not run)

Author(s)

Yun-Hee Choi

See Also

penmodel_cmp, print.penmodel_cmp, print.summary.penmodel_cmpplot.penmodel_cmp

  • Maintainer: Yun-Hee Choi
  • License: GPL (>= 2.0)
  • Last published: 2024-07-02

Useful links