Presentation is loading. Please wait.

Presentation is loading. Please wait.

STA291 Statistical Methods Lecture 10. Measuring something over time… o Like a company’s stock value: o It kind of just sits there, making your eyes glaze.

Similar presentations


Presentation on theme: "STA291 Statistical Methods Lecture 10. Measuring something over time… o Like a company’s stock value: o It kind of just sits there, making your eyes glaze."— Presentation transcript:

1 STA291 Statistical Methods Lecture 10

2 Measuring something over time… o Like a company’s stock value: o It kind of just sits there, making your eyes glaze over. o And even though we’re measuring one variable (of interest), we need to look at two variables at a time …

3 Time Plot

4 Terrible, Misleading Time Plot

5 Analyzing Relationships Between Two Quantitative Variables o Is there an association between the two variables? o Positive or negative? o What is it’s shape? o How strong is the association? o Notation o Response variable: Y o Explanatory variable: X 5

6 Sample Measure of Linear Relationship o Sample Correlation Coefficient: o Alternatively: o Population measures: Divide by N instead of n-1 6

7 Properties of the Correlation I o The value of r does not depend on the units (e.g., changing from inches to centimeters) that X and Y are measured in o r is standardized (has no units itself) o r is always between –1 and 1 o r measures the strength and direction of the linear association between X and Y o r>0 positive linear association o r<0 negative linear association 7

8 Properties of the Correlation II o r = 1 when all sample points fall exactly on a line with positive slope (perfect positive linear association) o r = – 1 when all sample points fall exactly on a line with negative slope (perfect negative linear association) o The larger the absolute value of r, the stronger is the degree of linear association 8

9 Properties of the Correlation III o If r is close to 0, this does not necessarily mean that the variables are not associated o o It only means that they are not linearly associated o The correlation treats X and Y symmetrically; that is, it does not matter which variable is explanatory (X) and which one is response (Y), the correlation remains the same 9

10 All Correlation r = 0.82 10

11 Scatter Diagram of Murder Rate (Y) and Poverty Rate (X) for the 50 States 11 r = 0.63

12 Looking back o Time plots o General two-variable analysis o Sample correlation, r


Download ppt "STA291 Statistical Methods Lecture 10. Measuring something over time… o Like a company’s stock value: o It kind of just sits there, making your eyes glaze."

Similar presentations


Ads by Google