0% found this document useful (0 votes)
14 views

Data Analysis by Correlation and Regression

The document analyzes the relationship between average temperature and ice cream sales using data from Newcastle University. A regression analysis shows a positive relationship, as ice cream sales increase with higher average temperatures. Key metrics from the regression indicate a strong correlation between the variables.

Uploaded by

Yash Desai
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Data Analysis by Correlation and Regression

The document analyzes the relationship between average temperature and ice cream sales using data from Newcastle University. A regression analysis shows a positive relationship, as ice cream sales increase with higher average temperatures. Key metrics from the regression indicate a strong correlation between the variables.

Uploaded by

Yash Desai
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Data Analysis by Correlation

and Regression

YASHVA
Data Analysis

Compariso
n
Relationship between average temperature and ice cream sales

Data Source:
Newcastle University is a UK public research university
based in Newcastle upon Tyne, North East England. It
has overseas campuses in Singapore and Malaysia. The
university is a red brick university and member of the
Russell Group, an association of research-intensive UK
universities.

https://www.kaggle.com/vinicius150987/ice-cream-
revenue
It appears that, as the average temperature increases, sales
also increase. We say such a relationship is a positive
relationship.
Regression

Regression Statistics
Multiple R 0.989802
R Square 0.979707
Adjusted R Square 0.979666
Standard Error 1.15451
Observations 500
• To check the distribution of dependent variables
and independent variables and see whether they
are normally distributed.
• The variable that is supposed to be normally
distributed is just the prediction error. What is a
prediction error? It is the deviation of the model
prediction results from the real results.
• Y = Coefficient * X + Intercept + Prediction Error
• Prediction error should follow a normal
distribution with a mean of 0.

You might also like