View source: R/data_generator.R
data_generator | R Documentation |
This function generates the monthly individual claims data in the accompanying methodological paper using the SynthETIC
package.
This simple function allows to simulate from a sand-box to test out the ReSurv
approach.
Some parameters of the simulation can be changed.
data_generator(
ref_claim = 2e+05,
time_unit = 1/360,
years = 4,
random_seed = 1964,
period_exposure = 200,
period_frequency = 0.2,
scenario = 1
)
ref_claim |
|
time_unit |
|
years |
|
random_seed |
|
period_exposure |
|
period_frequency |
|
scenario |
|
Individual claims data. It contains the following columns:
claim_number
: Policy ID.
claim_type
: Type of claim. It can be either 0 or 1.
AP
: Accident period
RP
: Reporting period.
Avanzi, B., Taylor, G., Wang, M., & Wong, B. (2021). SynthETIC: an individual insurance claim simulator with feature control. Insurance: Mathematics and Economics, 100, 296-308.
Hiabu, M., Hofman, E., & Pittarello, G. (2023). A machine learning approach based on survival analysis for IBNR frequencies in non-life reserving. arXiv preprint arXiv:2312.14549.
input_data_0 <- data_generator(
random_seed = 1964,
scenario = "alpha",
time_unit = 1,
years = 2,
period_exposure = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.