View source: R/helperFunctions.R
BalanceProperty | R Documentation |
Function to assess whether the balance property holds
BalanceProperty(obj)
obj |
an object containing the model fit |
a list with the slots call
(the original call), BalanceProperty
(logical indicating whether the balance
property is satisfied) and Alpha
(Ratio total observed damage to total predicted damage).
Campo, B.D.C. and Antonio, Katrien (2023). Insurance pricing with hierarchically structured data an illustration with a workers' compensation insurance portfolio. Scandinavian Actuarial Journal, doi: 10.1080/03461238.2022.2161413
Wüthrich, M. V. (2020). Bias regularization in neural network models for general insurance pricing. European actuarial journal 10(1), 179–202.
fit = hierCredGLM(Y ~ area + (1 | VehicleType / VehicleBody), dataCar, weights = w,
p = 1.75, epsilon = 1e-6)
BalanceProperty(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.