Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 4: Describing the relation between two variables Univariate data: Only one variable is measured per a subject. Example: height. Bivariate data:

Similar presentations


Presentation on theme: "Chapter 4: Describing the relation between two variables Univariate data: Only one variable is measured per a subject. Example: height. Bivariate data:"— Presentation transcript:

1 Chapter 4: Describing the relation between two variables Univariate data: Only one variable is measured per a subject. Example: height. Bivariate data: Two variables are measured per a subject. Example: height and weight. This chapter deals with bivariate data.

2 Section 4.1: Scatter diagrams and correlation Scatter diagrams(plots) show the data. Correlation is a statistic measuring linear relationship between x and y variables.

3 Quantitative bivariate data are usually displayed in a scatter plot (also called scatter diagram).

4 The “X” variable is called many names: Explanatory variable Predictor variable Independent variable Weeks of gestation is our x-variable here.

5 The “Y” variable is also called many names: Response variable Dependent variable Outcome variable Birth weight is our y-variable here.

6 When trying to determine which variable you should put on the x or y axes, think “cause and effect”. The “cause” variable should be on the x-axis. The “effect” variable should be on the y-axis.

7 Sample correlation coefficent (Also called “linear” or “Pearson product moment” correlation coefficient) -1 <= r <= 1

8

9 If the slope is negative, r 1 r=-1 or 1 means all points lie on straight line. Bottom row shows pattern, but it’s not linear.

10 http://xkcd.com/552/

11 Practice: xy 43 60 86 n=? Mean(x)=? Mean(y)=? SD(x)=? SD(y)=? x’s z-scoresy’s z-scores

12 Practice: xy 43 60 86 n=? Mean(x)=? Mean(y)=? SD(x)=? SD(y)=? x’s z-scoresy’s z-scores n=3 Mean(x)= 6, Mean(y)=3 SD(x) = 2, SD(y)=3 r=0.5

13 Correlation=? (A) 0 (B) 0.41 (C) 0.97 (D) 1

14 A) -1.2 B) -1 C) -0.99 D) 100

15 A) -1 B)-0.99 C) -0.5 D) -0.25

16 http://thedoghousediaries.com/2723

17 A) -1 B) +0.5 C) +1 D) 100

18 A) -0.9 B) +0.02 C) +0.9 D) +1

19 A) +0.02 B) +0.04 C) +0.96 D) +1

20 A) -1 B) -0.71 C) +1 D) +1.5

21 A) -0.71 B) -0.2 C) +0.92 D) 1

22 A) -1 B) -0.06 C) +0.99 D) +1


Download ppt "Chapter 4: Describing the relation between two variables Univariate data: Only one variable is measured per a subject. Example: height. Bivariate data:"

Similar presentations


Ads by Google