Balance property
BalanceProperty.Rd
Function to assess whether the balance property holds
Value
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).
References
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.
Examples
# \donttest{
fit = hierCredGLM(Y ~ area + (1 | VehicleType / VehicleBody), dataCar, weights = w,
p = 1.75, epsilon = 1e-6)
#> Warning: Maximum number of iterations reached without convergence
BalanceProperty(fit)
#>
#> Balance property is satisfied.
#>
# }