simulate_covariates {SynthETIC}R Documentation

Covariates Simulation

Description

Simulates covariates for each claim. The relative occurrence of each combination of covariates is given the frequency relativities of the covariates.

Usage

simulate_covariates(
  covariates,
  frequency_vector = 1,
  claim_size_list = list(1)
)

Arguments

covariates

a covariates object, which stores the frequency and severity relativities for given covariate levels.

frequency_vector

a vector in the same output as claim_frequency.

claim_size_list

optional if frequency_vector is not inputted. A list in the same output as claim_size.

Value

Returns a covariates_data object.


[Package SynthETIC version 1.1.0 Index]