Simple linear regression attempts to create an equation in the y = mx + b form that can predict the dependent variable value based on previous data between the dependent and independent variables. Here is the coefficient regression data in a neatly formatted matrix:
## Estimate Std. Error t-value p-value
## (Intercept) -1.87401599 0.160143302 -11.70212 7.359171e-26
## waiting 0.07562795 0.002218541 34.08904 8.129959e-100
The estimates are coefficients calculated through the least squares method. A higher t-value indicates more certainty that the coefficient isn’t zero, as does as a smaller p-value. Based on the calculated coefficients, the linear regression equation would be:
\[eruption\;(minutes) = -1.87401599 + 0.07562795(waiting)\] For every minute of waiting for an eruption, 0.07562795 minutes are predicted to be added to the next eruption’s length.