##Install
gem install linear-regression
My goal is to simplify the understanding to enable programmers and play around with all these definitions using your favorite programming language (I realized it using Ruby).
On this subject, you can find a lot of material (both online and in books), but yet I did not meet version, depending on which you can easily to implement algorithm in a programming language.
I add links to all the definitions (wikipedia) where you can read more detail (more theoretical form).
The model is described by the equation:
where:
- dependent variable
- known value (constant)
- model parameters (y-intercept and slope)
- error term, (disturbance term, or noise)
or