Presentation is loading. Please wait.

Presentation is loading. Please wait.

Examining Relationships Prob. And Stat. 2.2 Correlation.

Similar presentations


Presentation on theme: "Examining Relationships Prob. And Stat. 2.2 Correlation."— Presentation transcript:

1 Examining Relationships Prob. And Stat. 2.2 Correlation

2 A linear relation is strong if the points lie close to a straight line. A linear relation is weak if the points are widely scattered about a line.

3 CORRELATION The correlation measures the direction and strength of the linear relationship between two quantitative variables. Correlation is usually written as r. Suppose that we have data on variables x and y for n individuals. The values for the first individual are x 1 and y 1, the values for the second individual are x 2 and y 2, and so on. The means and standard deviations of the two variables are and s x for the x-values, and and s y for the y-values. The correlation r between x and y is r =

4 r = correlation, has no units. This is the standardized value for the x - variable The correlation r is an average of the products of the standardized values of the x and y variables for the n individuals.

5 Correlations r is positive when there is a positive association between the variables. In the example using height and weight, when an individual is above average height, they tend to be above average in weight. Therefore positive. r is negative when the association between x and y is negative. In the example again using height and weight, when an individual is below average in height, they tend to be below average in weight. Therefore negative.

6 1. Correlation makes no distinction between explanatory and response variables. It makes no difference which variable you call x and which you call y in calculating the correlation. Correlation 2. Correlation requires that both variables be quantitative, so that it makes sense to do the arithmetic indicated by the formula for r. We cannot calculate a correlation between the incomes of a group of people and what city they live in, because city is a categorical variable.

7 3. Because r uses the standardized values of the observations, r does not change when we charge the units of measurement of x, y, or both. Measuring height in inches rather than centimeters and weight in pounds rather than kilograms does not change the correlation between height and weight. The correlation r itself has no unit of measurement; it is just a number. 4. Positive r indicates positive association between the variables, and negative r indicates negative association.

8 5. The correlation r is always a number between -1 and 1. Values of r near 0 indicate a very weak linear relationship. The strength of the linear relationship increases as r moves away from 0 toward either -1 or 1. Values of r close to -1 or 1 indicate that the points in a scatterplot lie close to a straight line. The extreme values r = -1 and r = 1 occur only in the case of a perfect linear relationship, when the points lie exactly along a straight line.

9 6. Correlation measures the strength of only a linear relationship between two variables. Correlation does not describe curved relationships between variables, no matter how strong they are. 7. Like the mean and standard deviation, the correlation is not resistant: r is strongly affected by a few outlying observations. The correlation for Figure 2.7 (page 93) is r = 0.634 when all 51 observations are included, but rise to r = 0.783 when we omit Alaska and the District of Columbia. Use r with caution when outliers appear in the scatterplot.

10 Values of r closer to 1 or -1 correspond to strong linear relationships. It is not easy to guess the value of r from the appearance of a scatterplot. Changing the plotting scale in a scatterplot may mislead the eye, but does not change the correlation. Correlation is not a complete description of two variable data, even when the relationship between the variables is linear.

11 Conclusions based on correlations alone may require rethinking in the light of a more complete description of the data. It is better to give the means and standard deviations of both x and y along with the correlation. (Because the formula for correlation uses the means and standard deviations, these measures are the proper choice to accompany a correlation.)


Download ppt "Examining Relationships Prob. And Stat. 2.2 Correlation."

Similar presentations


Ads by Google