The city wants to further develop the model to include the weather conditions of rainy, cloudy, or sunny. Ice Rink Attendance Temperature (°F) Weather Condition 140 45 Sunny 110 40 Cloudy 135 50 Cloudy 120 40 Cloudy 165 45 Sunny 180 45 Sunny 210 50 Sunny 190 45 Cloudy 170 40 Cloudy 130 45 Rainy 140 45 Cloudy 80 35 Rainy 120 45 Cloudy 100 45 Rainy What is the regression equation? Use the equation to forecast ice rink attendance if the temperature is 38°F and sunny. Should you keep weather condition in the model?
Correlation
Correlation defines a relationship between two independent variables. It tells the degree to which variables move in relation to each other. When two sets of data are related to each other, there is a correlation between them.
Linear Correlation
A correlation is used to determine the relationships between numerical and categorical variables. In other words, it is an indicator of how things are connected to one another. The correlation analysis is the study of how variables are related.
Regression Analysis
Regression analysis is a statistical method in which it estimates the relationship between a dependent variable and one or more independent variable. In simple terms dependent variable is called as outcome variable and independent variable is called as predictors. Regression analysis is one of the methods to find the trends in data. The independent variable used in Regression analysis is named Predictor variable. It offers data of an associated dependent variable regarding a particular outcome.
- The city wants to further develop the model to include the weather conditions of rainy, cloudy, or sunny.
Ice Rink Attendance |
Temperature (°F) |
Weather Condition |
140 |
45 |
Sunny |
110 |
40 |
Cloudy |
135 |
50 |
Cloudy |
120 |
40 |
Cloudy |
165 |
45 |
Sunny |
180 |
45 |
Sunny |
210 |
50 |
Sunny |
190 |
45 |
Cloudy |
170 |
40 |
Cloudy |
130 |
45 |
Rainy |
140 |
45 |
Cloudy |
80 |
35 |
Rainy |
120 |
45 |
Cloudy |
100 |
45 |
Rainy |
- What is the regression equation?
- Use the equation to forecast ice rink attendance if the temperature is 38°F and sunny.
- Should you keep weather condition in the model?
Trending now
This is a popular solution!
Step by step
Solved in 10 steps with 4 images