Covariance between data stats problem

Click For Summary
SUMMARY

The discussion centers on the calculation of covariance between two data sets, specifically when one set is multiplied by a constant factor 'a'. The formula for covariance used is s_{xy} = (1/n)∑(x_i y_i) - x̄ȳ. The conclusion drawn is that if all elements of set 'x' are multiplied by 'a', the covariance is also multiplied by 'a', confirming the validity of the mathematical reasoning presented. The participant expresses uncertainty about summation notation but receives reassurance regarding their calculations.

PREREQUISITES
  • Understanding of covariance and its mathematical formula
  • Familiarity with summation notation in statistics
  • Basic knowledge of statistical concepts such as mean (x̄ and ȳ)
  • Ability to manipulate algebraic expressions involving constants
NEXT STEPS
  • Study the properties of covariance in statistical analysis
  • Learn about the impact of linear transformations on covariance
  • Explore advanced statistical concepts such as correlation and regression
  • Review summation notation and its applications in statistics
USEFUL FOR

Students studying statistics, educators teaching statistical concepts, and anyone interested in understanding the mathematical properties of covariance and its applications in data analysis.

danago
Gold Member
Messages
1,118
Reaction score
4
Hi. At the moment in class we are going over statistics

Anyway, the formula I've been using for covariance between two sets of data is:

[tex] s_{xy} = \frac{1}{n}\sum\limits_{i = 1}^n {x_i y_i } - \overline x \overline y [/tex]


Now, if i was to get a question such as:

"If all the elements of set 'x' are multiplied by 'a', what is the new covariance"

Would this be a valid in mathematical terms:

[tex] \begin{array}{c}<br /> s_{xy} = \frac{1}{n}(ax_1 y_1 + ax_2 y_2 + ... + ax_n y_n ) - a\overline x \overline y \\ <br /> = a[\frac{1}{n}(x_1 y_1 + x_2 y_2 + ... + x_n y_n ) - \overline x \overline y ] \\ <br /> = a[\frac{1}{n}\sum\limits_{i = 1}^n {x_i y_i } - \overline x \overline y ] \\ <br /> \end{array}[/tex]

Therefore, if the elements of the set of data are multiplied by a constant, the covariance is also changed by that same factor? Has my working been valid in terms of the summation notation. The reason i ask is because we've never worked much with summations, so I am not 100% sure how to deal with them.

Thanks,
Dan.
 
Physics news on Phys.org
Your reasoning is fine. Summations are just sums.
 
Alright thanks for the confirmation. I just thought that maybe i was overlooking something, and had possibly made a mathematical error.

Thanks again.
Dan.
 

Similar threads

Replies
1
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K