Clear Filters
Clear Filters

What is the theory behind fitlm function ?

2 views (last 30 days)
NoNo
NoNo on 14 Oct 2015
Edited: NoNo on 14 Oct 2015
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)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!