generate_claim_dataset: Generate a Claims Dataset

View source: R/output.R

generate_claim_datasetR Documentation

Generate a Claims Dataset

Description

Generates a dataset of claims records that takes the same structure as test_claim_dataset included in this package, with each row representing a unique claim.

Usage

generate_claim_dataset(
  frequency_vector,
  occurrence_list,
  claim_size_list,
  notification_list,
  settlement_list,
  no_payments_list
)

Arguments

frequency_vector

a vector of claim frequencies for all the periods.

occurrence_list

list of claim occurrence times.

claim_size_list

list of claim sizes.

notification_list

list of notification delays.

settlement_list

list of settlement delays.

no_payments_list

list of number of partial payments.

Value

A dataframe that takes the same structure as test_claim_dataset.

See Also

test_claim_dataset

Examples

# demo only, in practice might generate claim dataset before simulating
# the partial payments
# this code generates the built-in test_claim_dataset
attach(test_claims_object)
claim_dataset <- generate_claim_dataset(
  frequency_vector, occurrence_list, claim_size_list, notification_list,
  settlement_list, no_payments_list
)
detach(test_claims_object)

SynthETIC documentation built on May 29, 2024, 8:47 a.m.