Docsity

Units 7-8 Statistics II, Diapositivas de Estadística Social

Toggle sidebar
bg1
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 51
STATISTICS APPLIED TO PSYCHOLOGY I
Part Ib: Bivariate descriptive Statistics
7. Bivariate frequency distributions
8. Measures of association and linear correlation
Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 52
UNIT 7
BIVARIATE FREQUENCY DISTRIBUTIONS
7.1. Introduction
7.2. Marginal distributions
7.3. Conditional distributions
7.4. Graphical representations
pf3
pf4
pf5
pf8
pf9
pfa

Vista previa parcial del texto

¡Descarga Units 7-8 Statistics II y más Diapositivas en PDF de Estadística Social solo en Docsity!

Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 51

STATISTICS APPLIED TO PSYCHOLOGY I

Part Ib: Bivariate descriptive Statistics

  1. Bivariate frequency distributions
  2. Measures of association and linear correlation

U NIT 7

B IVARIATE FREQUENCY DISTRIBUTIONS

7.1. Introduction

7.2. Marginal distributions

7.3. Conditional distributions

7.4. Graphical representations

Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 53

7.1. I NTRODUCTION

  • Quite often the relationship between two variables is of interest
  • Statistical relationships are overall tendencies, not ironclad rules (i.e., they allow individual exceptions)
  • To explore a statistical relationship between two variables, both of them are measured on the same individuals (not necessarily people )

Bivariate (or joint ) frequency distribution (also contingency table or two-way table)

X Y

X = X 1 X = X 2 X = X 3 ...

Y = Y 1 n 1,1 n 1,2 n 1,3 ... n 1,& Y = Y 2 n 2,1 n 2,2 n 2,3 ... n 2,& ... ... ... ... ... ... n &,1 n &,2 n &,3 ... N

/ Notice that subscripts denote categories of variables instead of individual observations / X 1 , X 2 , X 3 , ... (in general, Xk ) refer to the categories (or values, or intervals) of variable X Y 1 , Y 2 , ... (in general, Y (^) j ) refer to the categories (or values, or intervals) of variable Y n 1,1, n 1,2, ... represent bivariate absolute frequencies; N is the sample size

7.2. M ARGINAL DISTRIBUTIONS

Marginal distribution of X

  • Frequency distribution of X without regard to the values taken on by Y
  • Marginal (univariate) summary measures of X : Mean ( X ), median (Mdn X ), variance ( s (^) X^2 ), ...

Marginal distribution of Y

  • Frequency distribution of Y without regard to the values taken on by X
  • Marginal (univariate) summary measures of Y : Mean ( Y ), median (Mdn Y ), variance ( s (^) Y^2 ), ...

7.3. C ONDITIONAL DISTRIBUTIONS

Conditional distribution of X

  • Distribution of X given Y = Y (^) j
  • There is a separate conditional distribution of X for each category (or value, or class interval) of Y
  • Conditional means ( X (^) Y Y (^) j ), medians ( Mdn (^) X , Y Y (^) j ), variances ( s (^) X^2 , Y Y (^) j ), ... of X Conditional distribution of Y
  • Distribution of Y given X = Xk
  • There is a separate conditional distribution of Y for each category (or value, or class interval) of X
  • Conditional means ( YX X (^) k ), medians ( Mdn (^) Y , X X (^) k ), variances ( s (^) Y^2 , X X (^) k ), ... of Y

Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 57

Example:

  • X , score on a test of neuroticism;
  • Y , score on a test of extraversion; - N = 10 Subject 1 2 3 4 5 6 7 8 9 10 X 35 20 12 17 23 42 40 23 36 19 Y 12 10 15 23 12 12 2 10 30 29
  • Conditional distributions of X : X Y

[1, 21) [21, 41) [41, 61)

[1, 16) 2 4 1 7 [16, 31) 2 1 0 3

  • Conditional distributions of Y : X Y

[1, 21) [21, 41) [41, 61)

[1, 16) 2 4 1 [16, 31) 2 1 0 4 5 1

(^00 5 10 15 20 25 30 35 40 )

5

10

15

20

25

30

35

40

4545

Neuroticism

Extraversion

N = 13

7.4. GRAPHICAL REPRESENTATIONS

Scatter plot

  • A scatter plot shows the relationship between two quantitative variables measured on the same individuals
  • The values of one variable are plotted against the values of the second variable so that each point in the graph stands for one single individual

X : Neuroticism; Y : Extraversion; N = 13 grad students Student X Y 1 2 3 4 5 6 7 8 9

10 11 12 13

35 20 12 17 23 42 40 23 36 19 5 30 10

12 10 15 23 12 12 2 10 30 29 35 25 40

Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 59

3-D histogram

/ Scatter plots should always be constructed when the relationship between a pair of quantitative variables is of interest (summary measures cannot replace a full plot of the data )

Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 63

8.2. M EASURES OF ASSOCIATION

8.2.1. YULE’s Q X variable Y variable

X = X 1 X = X 2 Y = Y 1 n 1,1 n 1,2 n 1,& / X 1 and X 2 are the two categories of variable X Y 1 and Y 2 are the two categories of variable Y Y = Y 2 n 2,1 n 2,2 n 2,& Subscripts here refer to categories, not to observations n 1,& n 2,& N

Calculation Interpretation

Q

n 1,2 × n 2,1 n 1,1 × n 2, n 1,2 × n 2,1  n 1,1 × n 2,

  • If Q = 0 @ There is no association between the variables
  • If Q g 0 < There is association between the variables
  • When there is perfect association < |Q| = 1,
  • but |Q| = 1 does not necessarily imply perfect association
  • Compare cell contents

Properties a. Appropriate for any kind of variable regardless its level of measurement b. Q requires dichotomous (or dichotomized ) data (i.e., 2 variables having 2 categories each) c. Q ranges from –1 to 1 (i.e., –1  Q  1) d. Q does not depend on the sample size

8.2.2. THE Ȥ^2 STATISTIC

Calculation

Ȥ^2 M ,

n (^) r

j 1

M

n (^) c

k 1

(O j , k E j , k ) 2 E j , k

where O is the o bserved (absolute) frequency in cell { j, k } (i.e., row j , column k ) E is the e xpected (absolute) frequency in that cell, nr is the total number of rows (i.e., number of categories variable Y ) n (^) c is the number of columns (i.e., no. of categories of variable X )

E j , k^ n^ j^ × Nn^ k , where n (^) j and n (^) k are the marginal frequencies of Y and X respectively

Properties a. Ȥ^2 measures association between two variables, each with any number of categories b. Ȥ^2 can be used with any kind of variable regardless its level of measurement c. Ȥ^2 is not dependable - in 2×2 tables

  • when the expected frequency of any cell is below 5 d. Ȥ^2 is sensitive to the sample size < An increase in N , increases Ȥ^2 even if the association is the same e. Ȥ^2 is unbounded (Ȥ^2  0)

Ȥ^2 is not readably interpretable in terms of the strength of the association between the two variables involved (see properties d and e)

Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 65

8.2.3. C ONTINGENCY COEFFICIENT , C

  • It is a Ȥ^2 -based measure of association that is more easily interpreted

Calculation

C  Ȥ

2 N  Ȥ^2

Properties a. C  [0, 1). Notice that C cannot reach the limit of 1, its specific upper bound is limited by the size of the table (number of rows and columns)

b. If n (^) c = n (^) r tables (same number of rows & columns), the upper bound is C max n (^) c 1 n (^) c c. C depends on the size of the table (i.e. on the number of categories of the two variables) < do not use C to compare tables of different size

Interpretation

  • If C = 0 < There is no association between the two variables
  • If C g 0 < There is some association between the two variables: the larger C , the stronger the association
  • Compare observed and expected frequencies. In n (^) c = n (^) r tables, also compare C with C max

8.3. MEASURES OF CORRELATION BETWEEN QUASI- QUANTITATIVE VARIABLES

8.3.1. SPEARMAN ’ S RANK CORRELATION COEFFICIENT , r (^) s

Calculation

r (^) s 1 ,

6

N i 1^ d^ i^2 N ×( N^2 1) where^ d^ i^ is the difference between the^ ranks^ of each individual on the 2 variables

Properties a. r (^) s is bounded by the interval [–1, 1] b. r (^) s is appropriate for quasi-quantitative and quantitative variables c. r (^) s measures correlation between the ranks of the data values in the two variables d. r (^) s should not be use if there are many tied ranks

Interpretation

  • If r (^) s = 0 < there is no monotonic relationship between X and Y
  • If r (^) s g 0 < there is some monotonic relationship between X and Y Direction : r (^) s > 0 < There is a tendency for high ranks on X to be associated with high ranks on Y and the other way around r (^) s < 0 < High ranks on X tend to be associated with low ranks on Y and vice versa Strength : The larger | r (^) s |, the stronger the relationship

Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 69

8.4.2. PEARSON’ S CORRELATION COEFFICIENT , r (^) XY

Definition and computation

rXY

S XY

S X × S Y

M

N i 1

( X (^) i X ) × ( Y (^) i Y )

N S (^) X × S (^) Y

M

N i 1

( X (^) i X ) × ( Y (^) i Y )

N × S (^) X × S (^) Y

- Standard scores : rXY < r (^) XY is a standardized covariance

M

N i 1

( X (^) i X ) S (^) X

×

( Y (^) i Y ) S (^) Y N

M

N i 1

z (^) X (^) i × z (^) Y (^) i

N

- Raw scores : rXY

N M

N i 1

( X (^) i × Y (^) i ) (^) M

N i 1

X (^) i × (^) M

N i 1

Y (^) i

N M

N i 1

X (^) i^2 M

N i 1

X (^) i

2 × N M

N i 1

Y (^) i^2 M

N i 1

Y (^) i

2

Properties

a. r (^) XY requires that both variables be quantitative b. r (^) XY ranges from –1 to 1 (i.e., –1  r (^) XY  1) c. r (^) XY always has the same sign as S (^) XY d. r (^) XY makes no distinction between dependent and independent variables (i.e., r (^) XY = r (^) YX ) e. r (^) XY is a pure number without any units (so it does not change when the units of measurement of X , Y , or both are changed) f. | r (^) XY | is invariant under linear transformations of X and Y g. r (^) XY is not resistant (i.e., it is strongly affected by outliers) / Notice that if S (^) X = 0 or SY = 0, it does not make sense to calculate r (^) XY (and, in fact, it cannot be calculated!)

Interpretation

  • If r (^) XY = 0 < there is no linear relationship between X and Y
  • If r (^) XY g 0 < there is a linear relationship between X and Y
    • Direction : r (^) XY > 0 < positive (direct) correlation r (^) XY < 0 < negative (inverse) correlation
    • Strength : The larger | r (^) XY |, the stronger the relationship If r (^) XY = ±1, there is a perfect linear relationship (i.e., every point on the scatter plot lies exactly along a straight line)

Rocío Alcalá-Quintana Statistics Applied to Psychology I - Page 71

(^00 5 10 )

2

4

6

8

10

Anxiety

Happiness

N = 78

Pearson’s correlation: −0. (^00 5 10 )

2

4

6

8

10

Anxiety

Happiness

N = 46

Pearson’s correlation: −0.

(^00 5 10 )

2

4

6

8

10

Anxiety

Happiness Pearson’s correlation: −0.

N = 78

(^00 5 10 )

2

4

6

8

10

Happiness

Anxiety

N = 34

Pearson’s correlation: −0.

Factors influencing the correlation a. Amount of variability in X or Y

  • Limited ranges
  • Extreme groups

(^00 2 4 6 8 )

5

10

15

20

25

Number of errors

Level of arousal

Pearson’s Correlation: 0.

(^00)

Amount of beer sold

Number of catholic priests

Pearson’s correlation: 1.

(^020 30 40 50 60 70 )

2

4

6

8

10

12

Happiness

Self−Concept

Pearson’s correlation: 0.

(^020 30 40 50 60 70 )

2

4

6

8

10

12

Happiness

Self−Concept

Outlier

Pearson’s correlation: 0.

b. Outliers

c. Lurking variables d. Lack of linearity

Some uses of correlation in psychology a. Determining reliability b. Determining validity c. For prediction