# CvmortalityMult
<img width="909" alt="RO_RECALIBRATION" src="https://github.com/user-attachments/assets/9aa54991-f21e-4a72-9e89-0944f59dce3a">


CvmortalityMult (Cross-Validation in Multi-population mortality models) is an R package providing the implementation of cross-validation method for testing the forecasting accuracy of five multi-population mortality models. The family of multi-population includes different multi-population mortality models proposed through the actuarial and demography literature. 
The package includes functions for fitting and forecast the mortality rates of several populations. Additionally, we include several Cross-Validation functions for testing the forecasting accuracy of different multi-population models in different perspectives.

# Installation:
To install the package from R CRAN:
```
install.packages("CvmortalityMult")
library(CvmortalityMult)
```
or, to install the latest package version from github:
```
devtools::install_github("davidAtance/CvmortalityMult")
library(CvmortalityMult)
```
Cran repository can be found in:
https://CRAN.R-project.org/package=CvmortalityMult 

If you are interested in the package feel free to email david.atance@uah.es or track development at http://github.com/davidAtance/CvmortalityMult

The paper related to the CvmortalityMult package can be found at:
https://journal.r-project.org/articles/RJ-2025-018/ 
