claim_size_adj: Covariates Claim Size Adjustment

View source: R/features_02a_claim_covariates.R

claim_size_adjR Documentation

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)

Arguments

covariate_obj

a covariates object

claim_size

a list in the same output as 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 ith component of the list gives the sizes for all claims that occurred in period i.


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