- Simple Linear Regression is a statistical method used to model the relationship between two continuous variables. It is preferable when attempting to predict a value (dependent variable) based on just one input value (independent variable).
2026-04-13
1
\[ y = a + bx \]
\[ y = \beta_0 + \beta_1 x + \epsilon \]
## month average ## 1 1 68 ## 2 2 72 ## 3 3 77 ## 4 4 86 ## 5 5 94 ## 6 6 104 ## 7 7 106 ## 8 8 105 ## 9 9 100 ## 10 10 90 ## 11 11 77 ## 12 12 68
## `geom_smooth()` using formula = 'y ~ x'
## ## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2': ## ## last_plot
## The following object is masked from 'package:stats': ## ## filter
## The following object is masked from 'package:graphics': ## ## layout