Package: healthsim 0.1.0

Sbusiso Mdingi

healthsim: Simulate Synthetic Health Insurance Portfolios and Panels

Generates synthetic South African health insurance data with a known data-generating process, for teaching and testing pricing models. One function simulates a cross-sectional portfolio of principal members with negative binomial claim counts and a lognormal-Pareto severity mixture. Another simulates a multi-year open-cohort panel with ageing, smoking cessation, wearable activity and sleep data joined by a Clayton copula, claims inflation, annual benefit limits, lapses and deaths. Every parameter can be changed, and the true expected frequency and severity are available for checking fitted models.

Authors:Sbusiso Mdingi [aut, cre, cph]

healthsim_0.1.0.tar.gz
healthsim_0.1.0.zip(r-4.7-any)healthsim_0.1.0.zip(r-4.6-any)
healthsim_0.1.0.tar.gz(r-4.7-any)healthsim_0.1.0.tar.gz(r-4.6-any)
healthsim_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
healthsim/json (API)

# Install 'healthsim' in R:
install.packages('healthsim', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sbusiso-mdingi/healthsim/issues

On CRAN:

Conda:

1.70 score 2 scripts 11 exports 0 dependencies

Last updated from:4ce9eecaf9. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK122
source / vignettesOK153
linux-releaseOK116
windows-develOK166
windows-releaseOK187
wasm-releaseOK88

Exports:hs_planshs_provincespanel_paramsportfolio_paramsset_levelssimulate_panelsimulate_portfoliotrue_frequencytrue_severityz_cv2z_mean

Dependencies: