Added check in marginal logistic for NULL coef

raise an error when no coef was computed