Estimating large losses in insurance analytics and operational risk using the g-and-h distribution