Note that this basically re-invents the predict
function in GLM, which can also give you confidence or prediction intervals. Cf this thread here: Plot the confidence interval for a model fit - #4 by nilshg
3 Likes