Package: healthsim Title: Simulate Synthetic Health Insurance Portfolios and Panels Version: 0.1.0 Authors@R: person("Sbusiso", "Mdingi", email = "sbusiso@mdingi.co.za", role = c("aut", "cre", "cph"), comment = c(ORCID = "0009-0003-4417-968X")) Description: 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. License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) Depends: R (>= 4.1.0) Imports: stats Suggests: testthat (>= 3.0.0) Config/testthat/edition: 3 URL: https://github.com/Sbusiso-Mdingi/healthsim, https://www.kaggle.com/sbusisomdingiayesbu BugReports: https://github.com/Sbusiso-Mdingi/healthsim/issues Config/roxygen2/version: 8.1.1 Repository: https://sbusiso-mdingi.r-universe.dev Date/Publication: 2026-11-13 18:08:34 UTC RemoteUrl: https://github.com/sbusiso-mdingi/healthsim RemoteRef: HEAD RemoteSha: ca6f27536e9e60660dd661b21937f62ceee216a6 NeedsCompilation: no Packaged: 2026-11-14 12:06:08 UTC; root Author: Sbusiso Mdingi [aut, cre, cph] (ORCID: ) Maintainer: Sbusiso Mdingi