
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
gam stands for generalized additive model. A statistical model that explains a response (dependent variable, y) by adding up smooth, non-linear functions of the predictor variables (x).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}\]
tidymodels
What to do if you face an error when installing and loading the tidymodels package.
tidymodels might require you to update the rlang package. Use install.packages("rlang") to update.