Simple linear regression models the relationship between a predictor \(X\) and a response \(Y\).
Simple linear regression models the relationship between a predictor \(X\) and a response \(Y\).
\[ Y = \beta_0 + \beta_1 X + \varepsilon \]
## `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