This document contains examples of using simple linear regression to model the relationships between temperature and sales (positive regression) and temperature and tea sales (negative regression). It shows generating scatter plots of the data, fitting linear regression models, and using the models to predict outcomes for new temperature values. The key steps are: 1) defining the independent and dependent variables, 2) fitting linear regression models, and 3) using the models to predict sales or tea sales for new temperatures.
This document contains examples of using simple linear regression to model the relationships between temperature and sales (positive regression) and temperature and tea sales (negative regression). It shows generating scatter plots of the data, fitting linear regression models, and using the models to predict outcomes for new temperature values. The key steps are: 1) defining the independent and dependent variables, 2) fitting linear regression models, and 3) using the models to predict sales or tea sales for new temperatures.
This document contains examples of using simple linear regression to model the relationships between temperature and sales (positive regression) and temperature and tea sales (negative regression). It shows generating scatter plots of the data, fitting linear regression models, and using the models to predict outcomes for new temperature values. The key steps are: 1) defining the independent and dependent variables, 2) fitting linear regression models, and 3) using the models to predict sales or tea sales for new temperatures.