marginal q likelihood formulas (integrals included) done