Skip to main content\(\require{cancel}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 8.1 Introduction
In this lesson, we will explore how to use
linear regression to not only understand, but to also predict relationships between variables.
Everyone loves pizza (cowabunga!) and like many pizza establishments, we will be trying to answer the question:.
Can we predict the amount of pizza sold based on its price?
Weβll use a dataset called
pizza_prices, which contains weekly pizza sales and pricing data.