Flexible parametric survival analysis with the elastic net
- flexph(): parametric proportional hazards regression;
- flexphreg(): parametric proportional hazards regression with elastic net regularization;
- flexphcr(): parametric proportional hazards regression for competing risk data.
Cite As
Statovic (2026). Flexible parametric survival analysis with the elastic net (https://www.mathworks.com/matlabcentral/fileexchange/119998-flexible-parametric-survival-analysis-with-the-elastic-net), MATLAB Central File Exchange. Retrieved .
Royston, Patrick, and Mahesh K. B. Parmar. “Flexible Parametric Proportional-Hazards and Proportional-Odds Models for Censored Survival Data, with Application to Prognostic Modelling and Estimation of Treatment Effects.” Statistics in Medicine, vol. 21, no. 15, Wiley, 2002, pp. 2175–97, doi:10.1002/sim.1203.
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 0.60 | -added flexphcr() for competing risk analysis and corresponding CIF functions
|
||
| 0.55 | -added a function to compute baseline survival and hazard functions from any model on the elastic net path
|
||
| 0.51 | -fix for change in behaviour of fitcox() in Matlab versions prior to 2022 |
||
| 0.5 | -added flexphreg() for elastic net regularisation
|
||
| 0.4 | -added the log-logistic baseline hazard function (option 'log-logistic')
|
||
| 0.3 | -better parameter initialization
|
||
| 0.2.1 | -fixed an issue estimation of baseline hazard with fitcox() in Matlab 2022b |
||
| 0.2.0 | -added exponential and Weibull proportion hazard regression models
|
||
| 0.1.0 |
