Statistics for The anomalous magnetic moment of baryons in cavity QCD