"Methods for Quantifying Discriminatory Effects on Protected Classes in Insurance"

 The CAS paper "Methods for Quantifying Discriminatory Effects on Protected Classes in Insurance" by Mosley and Wenman is a ground-breaking work.

 I'm sure many actuaries have been working through the authors' examples to understand them.

 Would someone kindly share the R-code they used to recreate Figure 3 (Bias detection metrics for GLM with area) and Figure 4 (GLM average predictions by area)? 

 I have loaded datasets fremotor1freq0304a, b and c, and library(fairmodels).  At the moment I am stuck on the reweighting.

 Thank you.
1 Like

Hi. I find this online community helpful in people sharing their expertise. I am surprised to have received no offers of assistance. Is this because many people have tried to recreate the examples and were unsuccessful, or is this because I am the only one who has tried?

I haven’t had time to try it out.