81
Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Embed Size (px)

Citation preview

Page 1: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Making Statistics Surprising

Roger WattKelly YoungerLizzie Collins

Rebecca SkinnerFrancesca Worsnop

Page 2: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Idea

Knowledge

Science from the outside

Page 3: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Idea Result

Evidence Knowledge

Science from the inside

Page 4: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Idea Result

Evidence Knowledge

Science from the inside

Page 5: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Idea Result

Hypothesis

Design

Evidence

Data Analysis

Inference

Knowledge

Persuading

Describing

Page 6: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Idea Result

Hypothesis

Design

Evidence

Data Analysis

Inference

Knowledge

Persuading

Describing

What matters here?

Page 7: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Idea Result

Hypothesis

Design

Evidence

Data Analysis

Inference

Knowledge

Persuading

Describing

Decisions required

What matters here?

Page 8: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Idea Result

Evidence

Data Analysis

Inference

Knowledge

Persuading

Describing

What variables?What types of variable?What relationships between variables?

What sampling method?What deployment of sample (between/within)? What sample size?

Hypothesis

Design

Knowledge

What matters here?

Page 9: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Lesson

• We must make decisions– these matter

• We may have preferences– these don’t matter

Page 10: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Student Journey

Page 11: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Idea Result

Hypothesis

Design

Evidence

Data Analysis

Inference

Knowledge

Persuading

Describing

What appears to matter here to a student?

Page 12: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Result

Data AnalysisInference

What appears to matter here to a student? What test?t-testchi-sqrcorrelationANOVAregressionANCOVAMANOVA

How to test?FormulaeCalculationsΣ(xi-x)2

SPSSWhat columns?

Numbers….Dozens of numbersSSQF, t, pHow many sig figs?

Page 13: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Student Experience

• Stats is Hard– disconnected facts– tedious arithmetic

• Stats is Disempowering– easy to make simple mistakes– myriad of details obscure concepts

• Stats is not fun– no pleasant surprises

Page 14: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Main Goal: Doing stats

• Understanding:– Preserve the whole picture

• Conceptual Insight:– Full grasp of issues that matter for the outcome

• Skills:– Confident in essentials

Page 15: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Plan

• Materials– Whole picture always present– Concentrate on research decisions– Remove disconnected facts

• Learning– Repeated Experience– Immediate feedback– Discovery

Page 16: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Idea Result

Hypothesis

Design

Evidence

Data Analysis

Inference

Knowledge

Persuading

Describing

The Whole Picture

Page 17: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

IdeaResult

Hypothesis

Design

Evidence

Data Analysis

Inference

Knowledge

Persuading

Describing

Research Decisions

Page 18: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Knowledge

Idea Result

Evidence

Data Analysis

Inference

Knowledge

Persuading

DescribingWhat variables?What types of variable?What relationships between variables?

What sampling method?What deployment of sample (between/within)? What sample size?

Hypothesis

Design

Page 19: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

BrawStats

• Materials– Whole process always visible– Decisions require user input• everything else automatic

• Learning – Encourages experimenting & discovery– Every action produces a relevant graphical output• immediately

Page 20: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop
Page 21: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

BrawStats

• Hypothesis– How many variables?– What variables?– What types of variable?

– What relationship between variables?

Page 22: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop
Page 23: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Variables

Page 24: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Variables

Page 25: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Variables

Logic

Page 26: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Variables

Logic

Page 27: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

female male50

100

150

gender

IQ

Hypothesis Dependent VariableIndependent Variable

IQ (Interva l )gender (Categorica l )

Mean = 100female(50%)

Std = 15male(50%)

Predicted Means

IQ

genderfemale107

male

93

Variables

Logic

Prediction

Page 28: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

BrawStats

• Design– How to sample?– Within/Between?– How many participants?

Page 29: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

female male50

100

150

gender

IQ

Hypothesis Dependent VariableIndependent Variable

IQ (Interva l )gender (Categorica l )

Mean = 100female(50%)

Std = 15male(50%)

Predicted Means

IQ

genderfemale107

male

93

Variables

Logic

Prediction

Page 30: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

female male50

100

150

gender

IQ

Hypothesis Dependent VariableIndependent Variable

IQ (Interva l )gender (Categorica l )

Mean = 100female(50%)

Std = 15male(50%)

Predicted Means

IQ

genderfemale107

male

93

Variables

Logic

Prediction

Page 31: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

female male50

100

150

gender

IQ

Hypothesis Dependent VariableIndependent Variable

IQ (Interva l )gender (Categorica l )

Mean = 100female(50%)

Std = 15male(50%)

Predicted Means

IQ

genderfemale107

male

93

Variables

Logic

Prediction

Design

Page 32: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

BrawStats

• Everything else– done for you

Page 33: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

female male50

100

150

gender

IQ

Hypothesis Dependent VariableIndependent Variable

IQ (Interva l )gender (Categorica l )

Mean = 100female(50%)

Std = 15male(50%)

Predicted Means

IQ

genderfemale107

male

93

Variables

Logic

Prediction

Design

Page 34: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

female male50

100

150

gender

IQ

Hypothesis Dependent VariableIndependent Variable

IQ (Interva l )gender (Categorica l )

Mean = 100female(50%)

Std = 15male(50%)

Predicted Means

IQ

genderfemale107

male

93

Variables

Logic

Prediction

Design

Page 35: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Variables

Logic

Prediction

Design

Page 36: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Variables

Logic

Prediction

Design

Evidence

Page 37: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Variables

Logic

Prediction

Design

Evidence

Page 38: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

BrawStats

• Structure1. Whole process always visible2. Decisions require user input3. Everything else automatic

• Learning 4. Every action produces a relevant graphical

output immediately5. Encourages experimenting & discovery

Page 39: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

1. Whole process always visible

Page 40: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

2. Decisions require user input

Page 41: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

3. Everything else automatic

Page 42: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

4. Relevant graphical output immediately

Page 43: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

5. Encourages experimenting & discovery

Page 44: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Main Goal: Doing stats

• Understanding:– Preserve the whole picture

• Conceptual Insight:– Full grasp of issues that matter for the outcome

• Skills:– Confident in essentials

Page 45: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Next Goal : Expected Outcomes

• Understanding:– Relationship of outcome to chance (sampling error)

• Conceptual Insight:– Strengths and weaknesses of statistical testing

(NHST)

• Skills:– Interpret statistical outcomes

Page 46: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Next Goal : Expected Outcomes

• Understanding:– Relationship of outcome to chance (sampling error)

• Conceptual Insight:– Strengths and weaknesses of statistical testing

(NHST)

• Skills:– Interpret statistical outcomes

Page 47: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop
Page 48: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop
Page 49: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Next Goal : Expected Outcomes

• Understanding:– Relationship of outcome to chance (sampling error)

• Conceptual Insight:– Strengths and weaknesses of statistical testing

(NHST)

• Skills:– Interpret statistical outcomes

Page 50: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop
Page 51: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Next Goal: Expected Outcomes

• Understanding:– Relationship of outcome to chance (sampling error)

• Conceptual Insight:– Strengths and weaknesses of statistical testing

(NHST)

• Skills:– Interpret statistical outcomes

Page 52: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Consequences of the p-value distribution

H0 Correct H0 Incorrect

p<=0.05 Type I error

p>0.05 Type II error

We are locked into the type of system given by this truth table:

Page 53: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

0.01 0.1 1.0

0.2

0.4

0.6

0.8

1

criterion p

p(Ty

pe I

erro

r)t-test independent samples (n=63100)

0.01 0.1 1.0

0.2

0.4

0.6

0.8

1

p(Ty

pe II

err

or)

Page 54: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Lessons

• sampling error matters• p-value – depends on sampling error– is poorly behaved

• p-values cannot be easily interpreted

Page 55: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Last Goal: Exploring stats

• Understanding:– Relationship of outcome to design decisions

• Conceptual Insight:– Strengths and weaknesses of designs

• Skills:– Make optimal decisions

Page 56: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Knowledge

Idea Result

Evidence

Data Analysis

Inference

Knowledge

Persuading

DescribingWhat variables?What types of variable?What relationships between variables?

What sampling method?What deployment of sample (between/within)? What sample size?

Hypothesis

Design

Page 57: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Basic Design Choices

• Variable Type• Between/Within• No participants• Sampling strategy

Page 58: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

Hypothesis Dependent VariableIndependent Variable

IQ (Interva l )gender (Categorica l )

Mean = 100female(50%)

Std = 15male(50%)

Predicted Means

IQ

genderfemale107

male

93

Page 59: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Basic Design Choices

• Variable Type• Between/Within• No participants• Sampling strategy

Page 60: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

i o c5 c4 c3 c20

0.2

0.4

0.6

0.8

1

p(Ty

pe I

erro

r)

type of IV

Pearson correlation(n=11260) IQ

i o c5 c4 c3 c21

0.8

0.6

0.4

0.2

0

p(Ty

pe II

err

or)

Page 61: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

i o c5 c4 c3 c20

0.2

0.4

0.6

0.8

1

p(Ty

pe I

erro

r)

type of IV

Pearson correlation(n=18380) IQ

i o c5 c4 c3 c21

0.8

0.6

0.4

0.2

0

p(Ty

pe II

err

or)

Page 62: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Basic Design Choices

• Variable Type• Between/Within• No participants• Sampling strategy

Page 63: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

i r0

0.2

0.4

0.6

0.8

1

p(Ty

pe I

erro

r)

repeated measures

t-test paired samples(n=10480)gender

i r1

0.8

0.6

0.4

0.2

0

p(Ty

pe II

err

or)

Page 64: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

i r0

0.2

0.4

0.6

0.8

1

p(Ty

pe I

erro

r)

repeated measures

t-test paired samples(n=162040)gender

i r1

0.8

0.6

0.4

0.2

0

p(Ty

pe II

err

or)

Page 65: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Basic Design Choices

• Variable Type• Between/Within• No participants• Sampling strategy

Page 66: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

20 40 60 80 1000

0.2

0.4

0.6

0.8

1

p(Ty

pe I

erro

r)

no of participants

t-test independent samples(n=2780) gender

20 40 60 80 1001

0.8

0.6

0.4

0.2

0

p(Ty

pe II

err

or)

Page 67: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

20 40 60 80 1000

0.2

0.4

0.6

0.8

1

p(Ty

pe I

erro

r)

no of participants

t-test independent samples(n=18000) gender

20 40 60 80 1001

0.8

0.6

0.4

0.2

0

p(Ty

pe II

err

or)

Page 68: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Basic Design Choices

• Variable Type• Between/Within• No participants• Sampling strategy

Page 69: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

0.2 0.4 0.6 0.80

0.2

0.4

0.6

0.8

1

p(Ty

pe I

erro

r)

independence

t-test independent samples(n=27100) gender

0.2 0.4 0.6 0.81

0.8

0.6

0.4

0.2

0

p(Ty

pe II

err

or)

Page 70: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

0.2 0.4 0.6 0.80

0.2

0.4

0.6

0.8

1

p(Ty

pe I

erro

r)

independence

t-test independent samples(n=13580) gender

0.2 0.4 0.6 0.81

0.8

0.6

0.4

0.2

0

p(Ty

pe II

err

or)

Page 71: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Basic Assumptions

• Normality:– skew– kurtosis

Page 72: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

-1 -0.5 0 0.5 10

0.2

0.4

0.6

0.8

1

p(Ty

pe I

erro

r)

skew

t-test independent samples(n=8270) gender

-1 -0.5 0 0.5 11

0.8

0.6

0.4

0.2

0

p(Ty

pe II

err

or)

Page 73: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

-1 -0.5 0 0.5 10

0.2

0.4

0.6

0.8

1

p(Ty

pe I

erro

r)

skew

t-test independent samples(n=15000) gender

-1 -0.5 0 0.5 11

0.8

0.6

0.4

0.2

0

p(Ty

pe II

err

or)

Page 74: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

-1 -0.5 0 0.5 10

0.2

0.4

0.6

0.8

1

p(Ty

pe I

erro

r)

kurtosis

t-test independent samples(n=8640) gender

-1 -0.5 0 0.5 11

0.8

0.6

0.4

0.2

0

p(Ty

pe II

err

or)

Page 75: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

-1 -0.5 0 0.5 10

0.2

0.4

0.6

0.8

1

p(Ty

pe I

erro

r)

kurtosis

t-test independent samples(n=8640) gender

Page 76: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Lessons

• early decisions matter:– interval>ordinal>categorical– no participants– sampling strategy• between/within• non-independence

• not much else matters– skew– kurtosis

Page 77: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Student Experience

• Stats is Hard– disconnected facts– tedious arithmetic

• Stats is Disempowering– easy to make simple mistakes– myriad of details obscure concepts

• Stats is not fun– no pleasant surprises

Page 78: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Main Goal: Doing stats

• Understanding:– Preserve the whole picture

• Conceptual Insight:– Full grasp of issues that matter for the outcome

• Skills:– Confident in essentials

Page 79: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

The Plan

• Materials– Whole picture always present– Concentrate on research decisions– Remove disconnected facts

• Learning– Repeated Experience– Immediate feedback– Discovery

Page 80: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

BrawStats

• Materials– Whole process always visible– Decisions require user input• everything else automatic

• Learning – Encourages experimenting & discovery– Every action produces a relevant graphical output• immediately

Page 81: Making Statistics Surprising Roger Watt Kelly Younger Lizzie Collins Rebecca Skinner Francesca Worsnop

Lessons

• It (almost) worked– not sure why– maybe because:• no numbers/arithmetic• single coherent process• it is (??) self-explaining & self-illustrating• foraging for undocumented features