A simple linear regression is easy to understand, but represents the basis of regression techniques. Once these concepts are understood, it will be easier for us to address the other types of regression. To begin with, let's take an example of applying linear regression that's been taken from the real world.
Consider some data that has been collected on a group of bikers, which consists of the following aspects:
- Number of years of use
- Number of kilometers traveled in one year
- Number of falls
Through these techniques, we find that, on average, when the number of kilometers traveled increases, the number of falls also increases. By increasing the number of years of motorcycle usage and by increasing the experience, the number of falls tends to decrease.
The linear regression method consists of precisely identifying a line that is capable...