Learn R Programming

coxphf

Overview

The package coxphf implements Firth's penalized maximum likelihood bias reduction method for Cox regression which has been shown to provide a solution in case of monotone likelihood (nonconvergence of likelihood function). The program fits profile penalized likelihood confidence intervals which were proved to outperform Wald confidence intervals.

Installation

# Install coxphf from CRAN
install.packages("coxphf")

# Or the development version from GitHub:
# install.packages("devtools")
devtools::install_github("georgheinze/coxphf")

Usage

The call of the main function of the library follows the structure of the standard functions requiring a data.frame and a formula for the model specification. The response must be a survival object as returned by the 'Surv' function (see its documentation in the survival package). The resulting object belongs to the new class coxphf.

library(survival)
data(breast)
fit.breast<-coxphf(data=breast, Surv(TIME,CENS)~T+N+G+CD)
summary(fit.breast)

Acknowledgment

This work was supported by the Austrian Science Fund (FWF) (award I 2276).

Copy Link

Version

Install

install.packages('coxphf')

Monthly Downloads

1,849

Version

1.13.4

License

GPL

Maintainer

Last Published

August 11th, 2023

Functions in coxphf (1.13.4)

coxphfplot

Plot the Penalized Profile Likelhood Function
coxphftest

Penalized Likelihood Ratio Test in Cox Regression
augment.coxphf

Augment a coxphf object
coxphf

Cox Regression with Firth's Penalized Likelihood
coxphf-package

Cox Regression with Firth's Penalized Likelihood
tidy.coxphf

Tidy a coxphf object
glance.coxphf

Glance at a coxphf object
reexports

Objects exported from other packages
breast

Breast Cancer Data Set