Learn R Programming

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

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)

Copy Link

Version

Install

install.packages('coxphf')

Monthly Downloads

1,106

Version

1.13.1

License

GPL

Maintainer

Georg Heinze

Last Published

September 28th, 2020

Functions in coxphf (1.13.1)

coxphfplot

Plot the Penalized Profile Likelhood Function
breast

Breast Cancer Data Set
coxphf

Cox Regression with Firth's Penalized Likelihood
coxphftest

Penalized Likelihood Ratio Test in Cox Regression