What is the theory behind fitlm function ?
Show older comments
Hello,
I wonder how the function 'fitlm' work. Actually, I need to compare the linear regression given by Matlab and by another software. I know from theory that the principle is based on minimizing the error (epsilon factor) of equation: y = X*beta * epsilon. It consists of doing: beta = (X^t*X)^-1*X^t*y But concretely, how Matlab does that ?
Thank you very much for your answer !
NoNo
Answers (0)
Categories
Find more on Linear Predictive Coding 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!