normalize marginal. test marginal