Adjusts claim sizes given a set of covariates. Note that this function firstly simulates covariate levels for each claim, see simulate_covariates.
claim_size_adj(covariate_obj, claim_size, random_seed = NULL)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\).
a covariates object
a list in the same output as claim_size
optional seed for random number generation for reproducibility.