The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

R-hub DOI

ReSurv

ReSurv is an R software for predicting IBNR claims. The software includes tools for synthetic data generation, data pre-processing, hyperparameters tuning, model estimation and prediction.

The package is based on the approach illustrated in Hiabu M., Hofman E., and Pittarello G. (2023) and estimates feature dependent development factors using individual reserving data.

Available Machine Learning (ML) models

There is a one-to-one relationship between development factors and hazard rates (Hiabu et al. (2023)). The package implements extends the following machine learning algorithms for proportional hazard models:

ReSurv extends COX, NN, and XGB to account for ties in left-truncated and right-censored observations.

Installation

Developer Version

The developers version of the package can be installed from GitHub.

devtools::install_github('https://github.com/edhofman/ReSurv')

Python Dependencies

For using the NN models we suggest to install a virtual environment using

install_pyresurv()

The default name of the virtual environment is "pyresurv".

We then suggest to refresh the R session and to import the ReSurv package in R using

library(ReSurv)
reticulate::use_virtualenv("pyresurv")

Managing Multiple Package Dependencies

This section is taken from the guidelines of the R package reticulate for handling the case of multiple packages in your session that used isolated-package-environments. The most straightforward solution would be installing a dedicated environment for both.

envname <- "./venv"
ReSurv::install_pyresurv(envname = envname)
pysparklyr::install_pyspark(envname = envname)

References

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.