Logistic Regression S-Curve Fit
1 view (last 30 days)
Peng Li on 12 Apr 2020
Do you want to plot logit(y) against your predictor or you want to plot y against x? You could fit your y by x using fitglm with a logit link function and binomial distribution. Or use mnrfit directly. If you have the fitted outcome I think you should be able to plot either way you want.