glmfit optimization algorithm?
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!
Answers (1)
Bernhard Suhm
on 12 Dec 2017
0 votes
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).
Categories
Find more on Logistic Distribution 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!