Statistics for Ingroup bias : the effect of status, legitimacy and cooperation on intergroup relations