base_simulator: base simulator

View source: R/simulators.R

base_simulatorR Documentation

base simulator

Description

This is the basic simulation model that doesn't not specifically define the transition of claims, such as open/close, payment, and also case reserve development

Usage

base_simulator(
  N_Policies,
  policy_exprs,
  policy_parameters,
  frequency_exprs,
  frequnecy_parameters,
  severity_exprs,
  severity_paramters
)

Arguments

N_Policies

number of policies

policy_exprs

alist of policy attribute formula, not NULL

policy_parameters

alist of parameters of policy formula

frequency_exprs

alist of frequency attribute formula, the first formula should describe claims count, not NULL

frequnecy_parameters

alist of parameters of frequency formula

severity_exprs

alist of sevevrity attribute formula, the first formula should describe loss, not NULL

severity_paramters

alist of parameters of severity formula


Atan1988/tidysimloss documentation built on May 7, 2024, 1:27 a.m.