Code for producing bias studies and limit plots