Obtain prediction interval for generalized linear model by simulation
6 views (last 30 days)
Show older comments
When doing linear regression by LinearModel.fit, the "predict" command can return the prediction interval by setting the name-value pair 'Prediction' to 'observation'. However, such option doesn't exist when using the "predict" command on models obtained by GeneralizedLinearModel.fit. I read in few threads that this can be solved by simulation:
https://stat.ethz.ch/pipermail/r-help/2003-May/033165.html
But I am not sure about the exact procedure. Can anyone please help me on this?
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!