Learn R Programming

SynthETIC (version 1.1.0)

claim_size_adj: Covariates Claim Size Adjustment

Description

Adjusts claim sizes given a set of covariates. Note that this function firstly simulates covariate levels for each claim, see simulate_covariates.

Usage

claim_size_adj(covariate_obj, claim_size)

Value

Returns a nested named list:

  • covariates_data which is a named list of covariate relativities (covariates), the simulated covariate levels (data) and the claim IDs.

  • claim_size_adj which is a list of adjusted claim sizes such that the \(i\)th component of the list gives the sizes for all claims that occurred in period \(i\).

Arguments

covariate_obj

a covariates object

claim_size

a list in the same output as claim_size