reslife

From MaRDI portal
Revision as of 20:10, 12 March 2024 by Import240312060351 (talk | contribs) (Created automatically from import240312060351)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Software:5980557



CRANreslifeMaRDI QIDQ5980557

Calculate Mean Residual Life (MRL) and Related Values for Different Distributions

Andrew Crawford, Zekai Wang, Ka Lok Lee

Last update: 26 October 2023

Software version identifier: 0.1.0, 0.1.1, 0.1.2, 0.2.1


Copyright license: GNU General Public License

A pair of functions for calculating mean residual life (MRL) , median residual life, and percentile residual life using the outputs of either the 'flexsurv' package or parameters provided by the user. Input information about the distribution, the given 'life' value, the percentile, and the type of residual life, and the function will return your desired values. For the 'flexsurv' option, the function allows the user to input their own data for making predictions. This function is based on Jackson (2016) <doi:10.18637/jss.v070.i08>.