Intro to Data Analytics
y
and x
by using
slope
for numerical explanatory variablesdifferences
for categorical explanatory variablesx
, get predicted y
Note
Download the data used in these slides.
Width
Height
Response variable (target/dependent variable)
Predictor variable (independent/explanatory variable)
Predicted value (typical or expected value of response variable)
Residuals (distance between predicted value and observed)
y
and x
by using
slope
for numerical explanatory variablesdifferences
for categorical explanatory variablesx
, get predicted y
\[\widehat{height}_{i} = \beta_0 + \beta_1 \times width_{i}\]
What to do if you face an error when installing and loading the tidymodels
package.
The newest version of tidymodels
requires you to either:
Update the rlang
package. Use install.packages("rlang")
to update.
Update your version of RStudio. To do so, you will need to download the newest release of RStudio (that came out just after we started the semester):
Note: you do not need to uninstall anything in order to update.