glmfit optimization algorithm?
4 views (last 30 days)
Show older comments
Hello, I'm trying to understand what optimization algorithm is used in the glmfit function to produce the output. I wanted to know if it uses least-squares method, numerical optimization, etc... (i.e. how the coefficients are updated such that the predicted value becomes closer to the actual value) Can you please let me know where I can find this information? Thank you!
0 Comments
Answers (1)
Bernhard Suhm
on 12 Dec 2017
glmfit uses Fisher's scoring method, performing Maximum likelihood estimates with an iteratively reweighted least-squares algorithm (see https://en.wikipedia.org/wiki/Generalized_linear_model, or the original paper by McCullagh & Helder).
0 Comments
See Also
Categories
Find more on Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!