plot_transaction_dataset {SynthETIC}R Documentation

Plot of Cumulative Claims Payments (Incurred Pattern)

Description

Generates a plot of cumulative claims paid (as a percentage of total amount incurred) as a function of development time for each occurrence period.

Usage

plot_transaction_dataset(
  transactions,
  occurrence_time_col = "occurrence_time",
  payment_time_col = "payment_time",
  payment_size_col = "payment_inflated",
  by_year = FALSE,
  adjust = TRUE
)

Arguments

transactions

a dataset of partial payment records.

occurrence_time_col

name of column that stores the time of occurrence of the claims (on a continuous scale).

payment_time_col

name of column that stores the time of partial payments of the claims (on a continuous scale).

payment_size_col

name of column that stores the size of partial payments of the claims.

by_year

if TRUE returns a plot by occurrence year; otherwise returns a plot by occurrence period (default).

adjust

if TRUE then the payment times will be forced to match with the maximum development period under consideration, otherwise the plot will see claims beyond the maximum development period; default TRUE.

See Also

generate_transaction_dataset

Examples

plot_transaction_dataset(test_transaction_dataset)

# Plot claim development without end-of-development-period correction
plot_transaction_dataset(test_transaction_dataset, adjust = FALSE)

# Plot claim development without inflation effects
plot_transaction_dataset(test_transaction_dataset, payment_size_col = "payment_size")

[Package SynthETIC version 1.1.0 Index]