Difference between revisions of "Manuals/calci/RSQ"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
<math> r= \frac{ \Sigma(x-\bar{x})(y-\bar{y})}{\sqrt {\Sigma(x-\bar{x})^2(y-\bar{y})^2}}</math> | <math> r= \frac{ \Sigma(x-\bar{x})(y-\bar{y})}{\sqrt {\Sigma(x-\bar{x})^2(y-\bar{y})^2}}</math> | ||
where <math> \bar{x}</math> and <math>\bar{y} </math> are Average of the two Samples <math>x </math> and <math>y </math>. | where <math> \bar{x}</math> and <math>\bar{y} </math> are Average of the two Samples <math>x </math> and <math>y </math>. | ||
− | *This function gives the value of r^2, which is the square of this correlation coefficient. | + | *This function gives the value of <math> r^2</math>, which is the square of this correlation coefficient. |
*The square value can be interpreted as the proportion of the variance in y attributable to the variance in x. | *The square value can be interpreted as the proportion of the variance in y attributable to the variance in x. | ||
*In <math> RSQ(ar1,ar2)</math>,the value of <math>ar1</math> and <math>ar1</math> must be either numbers or names, array,constants or references that contain numbers. | *In <math> RSQ(ar1,ar2)</math>,the value of <math>ar1</math> and <math>ar1</math> must be either numbers or names, array,constants or references that contain numbers. | ||
Line 18: | Line 18: | ||
3. The arguments that are error values or text that cannot be translated in to numbers. | 3. The arguments that are error values or text that cannot be translated in to numbers. | ||
We want to know more detail, see PEARSON. | We want to know more detail, see PEARSON. | ||
− | |||
==Examples== | ==Examples== |
Revision as of 03:36, 16 January 2014
RSQ(ar1,ar2)
- is the array of y values .
- is the array of x values.
Description
- This function gives the square of Pearson Product Moment Correlation Coefficient.
- This function is calculated using the data points of and values.
- The formula for PPMC, is defined by:
where and are Average of the two Samples and .
- This function gives the value of , which is the square of this correlation coefficient.
- The square value can be interpreted as the proportion of the variance in y attributable to the variance in x.
- In ,the value of and must be either numbers or names, array,constants or references that contain numbers.
- Suppose the array contains text,logicl values or empty cells, like that values are not considered.
- This function will return the result as error when 1. ar1 and ar2 are empty or having the different number of data points.
2. The arguments having only one data point. 3. The arguments that are error values or text that cannot be translated in to numbers. We want to know more detail, see PEARSON.
Examples
A | B | C | D | E | F | G | H | |
---|---|---|---|---|---|---|---|---|
1 | 12 | 10 | 17 | 21 | 25 | 31 | 19 | 5 |
2 | 4 | 37 | 8 | 18 | 0 | 13 | 15 | 41 |
3 | 9 |