A Two-Stage Estimation Approach to Cox Regression Using M-Spline Function

Implements a two-stage estimation approach for Cox regression using five-parameter M-spline functions to model the baseline hazard. It allows for flexible hazard shapes and model selection based on log-likelihood criteria as described in Teranishi et al.(2025). In addition, the package provides functions for constructing and evaluating B-spline copulas based on five M-spline or I-spline basis functions, allowing users to flexibly model and compute bivariate dependence structures. Both the copula function and its density can be evaluated. Furthermore, the package supports computation of dependence measures such as Kendall's tau and Spearman's rho, derived analytically from the copula parameters.


splineCox

The goal of splineCox is to ...

Installation

You can install the development version of splineCox from GitHub with:

# install.packages("pak")
pak::pak("Ren1227/splineCox")

Example

This is a basic example which shows you how to solve a common problem:

library(splineCox)
## basic example code

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("splineCox")

0.0.8 by Ren Teranishi, 8 months ago


Browse source code at https://github.com/cran/splineCox


Authors: Ren Teranishi [aut, cre]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports joint.Cox, stats

Suggests knitr, rmarkdown, spelling, ggplot2


See at CRAN