Code for MH vs PT comparison