1 dr. david mckirnan, [email protected] psychology 242 introduction to research statistics...

21
1 Dr. David McKirnan, [email protected] Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If it does not please go to “slide show” and click “run show” Please Click anywhere © Dr. David J. McKirnan, 2014 The University of Illinois Chicago McKirnanUIC@ gmail.com Do not use or reproduce without permission Want to print this module for note taking? When you open a PowerPoint module it saves a copy in your downloads folder in "show" format (ppsx). To convert it to a printing format (pptx): Click ‘esc’ to leave this open module Open PowerPoint, browse to downloads, and open the module Click ‘File” “Print’; In the dialogue box click “print what?”. Select “Handouts (3 slides per page)” Then, come back and re-run the show

Upload: abby-frizell

Post on 01-Apr-2015

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

1

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research

statistics module series

This should open as a PowerPoint “Show”.

If it does not please go to “slide show” and click “run show”

Please Click anywhere

© Dr. David J. McKirnan, 2014The University of Illinois [email protected] not use or reproduce without permission

Want to print this module for note taking?

When you open a PowerPoint module it saves a copy in your downloads folder in "show" format (ppsx).

To convert it to a printing format (pptx):

Click ‘esc’ to leave this open module

Open PowerPoint, browse to downloads, and open the module

Click ‘File” “Print’; In the dialogue box click “print what?”.

Select “Handouts (3 slides per page)”

Then, come back and re-run the show

 

Page 2: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

2

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research Welcome to the statistics module series

Number scales & frequency distributions

The Z score and the normal distribution

Calculating a t score

Testing t: The Central Limit Theorem You are here

© Dr. David J. McKirnan, 2014

The University of Illinois Chicago

[email protected]

Do not use or reproduce without permission

Testing hypotheses: The critical ratio

Page 3: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

3

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research

Statistical Hypothesis Testing

We use the t test (or any statistic) to test our hypothesis. Part of the operational definition of our variables is the numbers

we use to represent them.

What is our (statistical) hypothesis?

a. That the mean score (M) for the experimental group is greater than (or less than…) the M for the control group…

b. …by more than we might expect by chance alone.

What is the “null” hypothesis? Any difference between the M for the experimental group and the M for

the control group is by chance alone.

Mexperimental – Mcontrol = 0, except for chance (error variance)

The research question (in statistical terms): In our study, is the difference between the group Means (Mexp – Mcontrol)

greater than (or less than…) 0 by more than we would expect by chance alone?

Page 4: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

4

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research

Statistical Hypothesis Testing

For a t-test:The experimental effect is the difference between the Ms of the experimental & control groupsThe error variance is the square root of the summed variances of the groups, similar to a two-group standard deviation.

= = t(Mexp - Mcontrol) - 0

The concept underlying the t test is the critical ratio:

How strongly did the independent variable affect the outcome?

How much error variance [“uncertainty”, “noise”] is there in the data

Page 5: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

5

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research t-test

Difference between groups standard error of M

t = =

grp2

grp2

grp1

grp1

n

Variance

n

Variance

(Mgroup1 - Mgroup2) - 0

grp2

grp2

grp2

grp1

grp1

grp1

ndf

SS

ndf

SS

(Mgroup1 - Mgroup2) - 0

t =

grp2

grp2

grp22

grp1

grp1

grp12

n1-n

M-X

n1-n

M-X

(Mgroup1 - Mgroup2) - 0

t =

➔ How strong is the experimental effect?

➔ How much error variance is there

Page 6: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

6

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research t-test

Difference between groups standard error of M

t = =

grp2

grp2

grp1

grp1

n

Variance

n

Variance

(Mgroup1 - Mgroup2) - 0

grp2

grp2

grp2

grp1

grp1

grp1

ndf

SS

ndf

SS

(Mgroup1 - Mgroup2) - 0

t =

Standard error:

➔ Calculate the variance for for group 1

➔ Sum of squares

➔ Divided by degrees of freedom (n-1)

➔Divide by n for group 1

➔ Repeat for group 2

➔ Add them together

➔ Take the square root

Page 7: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

7

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research t-test

Difference between groups standard error of M

t = =

grp2

grp2

grp1

grp1

n

Variance

n

Variance

(Mgroup1 - Mgroup2) - 0

grp2

grp2

grp2

grp1

grp1

grp1

ndf

SS

ndf

SS

(Mgroup1 - Mgroup2) - 0

t =

grp2

grp2

grp22

grp1

grp1

grp12

n1-n

M-X

n1-n

M-X

(Mgroup1 - Mgroup2) - 0

t =

The expanded version…

Page 8: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

8

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research Compute a t score

grp2

grp2

grp22

grp1

grp1

grp12

n1-n

M-X

n1-n

M-X

(Mgroup1 - Mgroup2) - 0

t =

Compute the Experimental Effect:

Calculate the Mean for each group, subtract Mgroup2 from Mgroup1.

Compute the Standard Error Calculate the variance for each group

Page 9: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

9

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research Calculate the Variance using the box method:

2. Calculate the Mean.

3. Calculate Deviation scores:

Simple deviations: Σ (X – M) = 0

Square the deviations to create + values:

Σ Squares = Σ(X - M)2 = 52

4. Degrees of freedom:

df = [n – 1] = [10 – 1] = 9

X

7

6

2

1

4

1

7

4

2

6

M4

4

4

4

4

4

4

4

4

4

X - M

3

2

-2

-3

0

-3

3

0

-2

2

Σ = 0

(X - M)2

9

4

4

9

0

9

9

0

4

4

Σ = 52n = 10Σ= 40

M = 40/10 = 4

1. Enter the Scores.

5. Apply the Variance formula:

Page 10: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

10

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research Compute a t score

grp2

grp2

grp22

grp1

grp1

grp12

n1-n

M-X

n1-n

M-X

(Mgroup1 - Mgroup2) - 0

t =

Compute the Experimental Effect:

Calculate the Mean for each group, subtract group2 M from group1 M.

Compute the Standard Error Calculate the variance for each group

Divide each variance by n for the group

Add those computations

Take the square root of that total

Compute t Divide the Experimental Effect

effect

error

by the Standard Error

Page 11: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

11

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research

Examples of deriving t values

M1 – M2 = 4 – 2.5 = 1.5

Standard error = .75

1.5

.75= = 2t =

M1 – M2 = 4 – 2.5 = 1.5

Standard error = 1.75

1.5

1.75= =.86t =

M = 4M = 2.5

M = 4M = 2.5

Page 12: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

12

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research Clicker!

Why does this have a t value = 2?

a. The variance within each group is large relative to the difference between the group means.

b. The M of the larger group = 4 and there are 2 groups

c. The difference between the group means is large relative to the variance within each group

d. t is a random number

M = 4M = 2.5

Page 13: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

13

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research Clicker!

Why does this have a t value = 2?

a. The variance within each group is large relative to the difference between the group means.

b. The M of the larger group = 4 and there are 2 groups

c. The difference between the group means is large relative to the variance within each group

d. t is a random number

M = 4M = 2.5

Page 14: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

14

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research Clicker, 2

Why does this have a t value = .86?

M = 4M = 2.5

a. The variance within each group is large relative to the difference between the group means.

b. The M of the larger group = 4 and there are 2 groups

c. The difference between the group means is large relative to the variance within each group

d. t is a random number

Page 15: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

15

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research Clicker, 2

Why does this have a t value = .86?

M = 4M = 2.5

a. The variance within each group is large relative to the difference between the group means.

b. The M of the larger group = 4 and there are 2 groups

c. The difference between the group means is large relative to the variance within each group

d. t is a random number

Page 16: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

16

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research

Sampling distribution of t scores

Sampling distribution & statistical significance

Any 2 group Ms differ at least slightly by chance.

Any t score is therefore > 0 or < 0 by chance alone.

We assume that a t score with less than 5% probability of occurring [p < .05] is not by chance alone

We calculate the probability of a t score by comparing it to a sampling distribution

Page 17: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

17

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research The Sampling Distribution

-3 -2 -1 0 +1 +2 +3

Z or t Scores

(standard deviation units)

34.13% of scores from Z = 0 to Z = +1

andfrom Z = 0 to Z = -1

13.59% of scores+

13.59% of scores

2.25% of scores+

2.25% of scores

We can segment the population into standard deviation units from the mean.

These are denoted as Z or tM = 0,

Each segment takes up a fixed % of cases (or “area under the curve”).

each standard deviation represents Z = 1

Page 18: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

18

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research

Sampling distribution of t scores

t scores and statistical significance, 1

M1 – M2 = 4 – 2.5

Standard error

1.5

.75= = 2t =

t = 2.0

Comparing t to a sampling distribution:

About 98% of t values are lower than 2.0

About 98% of t scores

Page 19: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

19

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research

Sampling distribution of t scores

t scores and statistical significance, 1

t = .88About 81% of the distribution of t

scores are below .88.

(area under the curve = .81)

About 81% of scores

M1 – M2 = 4 – 2.5

Standard error

1.5

1.75= .86t = =

Page 20: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

20

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research

Sampling distribution of t scores

t = .86 t = 2.0

Between v. within group variance: t-test logic

About 98% of t scores; p < .05

About 81% of scores

The difference between Ms is the same in the two

data sets.

Since the variances differ…

We get different t values

We make differ judgments about whether these t scores occurred by chance.

Page 21: 1 Dr. David McKirnan, mckirnanuic@gmail.com Psychology 242 Introduction to Research statistics module series This should open as a PowerPoint “Show”. If

21

Dr. David McKirnan, [email protected]

Psychology 242Introductionto Research Continue…

Continue this series by clicking on the module for The Central Limit Theorem.