Correlation, simple formula, meaning

Click For Summary

Homework Help Overview

The discussion revolves around understanding the correlation formula, specifically the steps involved in calculating it and the underlying logic behind certain operations within the formula. The original poster is exploring the relationship between two data sets, temperature and ice cream sales, and is seeking clarity on the meaning of specific mathematical operations in the context of correlation.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to understand the rationale behind multiplying the differences from the mean (a and b) and the significance of the operations in the correlation formula. They express confusion about the logic of these steps and seek a deeper understanding of the mathematical reasoning involved.

Discussion Status

Some participants acknowledge the need for a foundational understanding of statistics before delving into the meaning of the correlation formula. While guidance has been offered in the form of resources, the original poster continues to seek clarification on the logic behind specific mathematical operations without reaching a consensus on the explanations provided.

Contextual Notes

The original poster is learning statistics independently and is navigating the complexities of the correlation formula, indicating a desire for a more intuitive grasp of the mathematical concepts involved.

ducmod
Messages
86
Reaction score
0

Homework Statement


Hello!

Here is the quote of mathisfun explanation of correlation formula and after ## my understanding or questions:

Let us call the two sets of data "x" and "y" (in our case Temperature is x and Ice Cream Sales is y):

Step 1: Find the mean of x, and the mean of y

Step 2: Subtract the mean of x from every x value (call them "a"), do the same for y (call them "b")
## with step 2 we compute how each variable differs from the mean

Step 3: Calculate: a × b, a2 and b2 for every value

## here I come to the point where I need help: I understand that we have to square each value from step 2 (a and b)
to avoid negative numbers;

## but I don't understand the meaning (ligic; why) of multiplication of variables from step 2 a x b

Step 4: Sum up a × b, sum up a2 and sum up b2

Step 5: Divide the sum of a × b by the square root of [(sum of a2) × (sum of b2)]

## in step 5 again I don't understand the logic of multiplication, what does this multiplication mean; and then the division.
## usually, division shows how many parts of divisor are in divident, or percent.

Thank you!

Homework Equations

The Attempt at a Solution

 
Physics news on Phys.org
What you are quoting is an algorithm, a recipe to find the linear correlation between two data sets. Why the algorithm is the way it is, and what the meaning of the numbers represent - wait until you have a basic knowledge of statistics.
 
Svein said:
What you are quoting is an algorithm, a recipe to find the linear correlation between two data sets. Why the algorithm is the way it is, and what the meaning of the numbers represent - wait until you have a basic knowledge of statistics.
Thank you. You are right that I need statistics knowledge, and I am moving towards it.
I also understand that it's an algorithm. I even know that numerator reflect covariance, and in the denominator there is a multiplication of standard deviations.
But my question is not about statistical terms or there usage, but more about the meaning and logic of this multiplication, I assume that there is a simple math logic which I don't understand.
I am learning on my own.
Thank you!
 

Similar threads

Replies
29
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
39
Views
6K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K