analysing quantitative data

70
Web Directions User Experience ‘08 Analysing quantitative data with Steve Baty UX Strategist

Upload: steve-baty

Post on 16-Jan-2015

4.369 views

Category:

Technology


1 download

DESCRIPTION

An introduction to the analysis of quantitative data arising from user research

TRANSCRIPT

Page 1: Analysing quantitative data

Web Directions User Experience ‘08

Analysing quantitative data

with Steve BatyUX Strategist

Page 2: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Data is important

Page 3: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

We expend a lot of effort to gather it

Page 4: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

We don’t always use it well

Page 5: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

We’ll be looking at:

Page 6: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

We’ll be looking at:* time-to-completion

Page 7: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

We’ll be looking at:

* task completion rates* time-to-completion

Page 8: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

We’ll be looking at:

* a/b testing* task completion rates* time-to-completion

Page 9: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

We’ll be looking at:

* page-view data* a/b testing

* task completion rates* time-to-completion

Page 10: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

time-to-completion

Page 11: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Page 12: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

1 min 24 secs

Page 13: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

1 min 23.8 secs

Page 14: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

1 min 23.77 secs

Page 15: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

1 min 23.768 secs

Page 16: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

83.768 secs

Page 17: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

User 1 User 2 User...Task 1Task 2Task 3Task 4Task 5Task 6Task 7

83.5 97.3131.1 165.554.5 45.597.8 88.2

118.0 143.3243.9 309.022.9 23.9

Our data might

look like this...

Page 18: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

We can calculate...

Page 19: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

We can calculate...mean - AVERAGE()variance - VAR()standard dev’n - STDEV()

Page 20: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Low-variability

Medium-variability

High-variability

90.43 s

Page 21: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Compare 2 sets of data- between iterations- between audience segments

Page 22: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Low sample sizes restrict options

Page 23: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

non-parametric version == no assumed dist’n

Page 24: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Rank-sum test

Page 25: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Time for a practical demonstration

Page 26: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Page 27: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Page 28: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

1 3 3 3 5.5 5.5 7.5 7.5 9 10

Page 29: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

1 3 3 3 5.5 5.5 7.5 7.5 9 10

2+3+4=9/3

}5+6

=11/2

}7+8

=15/2

}

Page 30: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

1 3

3

3

5.5

5.5

7.5

7.5

10

9

m = 5S1 = 28

S0 = 27n = 5

Page 31: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

U0 = nm +n n +1( )2

⎡⎣⎢

⎤⎦⎥− S0

= 5x5 +5 5 +1( )2

⎡⎣⎢

⎤⎦⎥− 27

= 13

Page 32: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

U0 = nm +n n +1( )2

⎡⎣⎢

⎤⎦⎥− S0

= 5x5 +5 5 +1( )2

⎡⎣⎢

⎤⎦⎥− 27

= 13

90% --> 3895% --> 4199% --> 45

Page 33: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

task completion rates

Page 34: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Only 2 possible values: success or fail

Page 35: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Small samples lead to very broad estimates

Page 36: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

4/6 successes = 66.67%

21% - 99.3% with 62.5% most likely

Page 37: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

With 30 users47.7% - 81.9% with 64.8% most likely

Page 38: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Most likely =

Range = p ± zp 1− p( )

n

p =s +1n + 2

Page 39: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

p ± zp 1− p( )

n

Page 40: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

p ± zp 1− p( )

nmost likely

Page 41: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

p ± zp 1− p( )

n

confidencelevel

Page 42: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

p ± zp 1− p( )

n

variability

Page 43: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

A/B Testing

Photo courtesy of www.dorothyphoto.com

Page 44: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Compare two different approaches to the

same problem

Page 45: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Run both simultaneously;

randomly divert users to option B

Page 46: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Compare using a Chi-squared test

Page 47: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Example: clicks on an ad banner

Ignore Click Total

A

B

10,119 275 10,394

962 38 1,000

Total 11,081 313 11,394

Page 48: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

χ 2 =eij − oij( )2eij

∑The test statistic is a measure of distance

between what we expect to see (e), and what we actually observed (o). For each cell, subtract what we expect from what we saw, square it to remove any negative values, and divide it by

the expected value. Add it all together...

Page 49: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Calculated expected valuesFor each cell:

row total x column total/grand total

Page 50: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Ignore Click Total

A

B

10,108 = 10,394x(11,081/11,394)

286 = 10,394x(313/11,394) 10,394

973 = 1,000x(11,081/11,394)

27 = 1,000x(313/11,394) 1,000

Total 11,081 313 11,394

Page 51: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Ignore Click Total

A

B

10,108 - 10,119 = -11 286 - 275 = 11 10,394

973 - 962 = 11 27 - 38 = -11 1,000

Total 11,081 313 11,394

Page 52: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

χ 2 =eij − oij( )2eij

=112

10,108+112

286+112

973+112

27= 0.012 + 0.423+ 0.124 + 4.48= 5.04

Page 53: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

χα =0.0252 = 5.02 < χ 2

χα =0.012 = 6.63 > χ 2

Page 54: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

page viewspre- & post comparison

Page 55: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Can be cyclical

Page 56: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Can be cyclical

Page 57: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Can be trending

Page 58: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Typically compare the average

Page 59: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

But ignores fluctuation

Page 60: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

But ignores fluctuation

?

Page 61: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

z =x1 − x2( )s12

n1+ s2

2

n2Test  1 : x1, s1

2 ,n1Test  2 : x2 , s2

2 ,n2

Page 62: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

z =x1 − x2( )s12

n1+ s2

2

n2Test  1 : x1, s1

2 ,n1Test  2 : x2 , s2

2 ,n2

In order: mean, variance &

number of data points in each

test.

Page 63: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

z =x1 − x2( )s12

n1+ s2

2

n2Test  1 : x1, s1

2 ,n1Test  2 : x2 , s2

2 ,n2

In order: mean, variance &

number of data points in each

test.

Mean difference

Page 64: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

z =x1 − x2( )s12

n1+ s2

2

n2Test  1 : x1, s1

2 ,n1Test  2 : x2 , s2

2 ,n2

In order: mean, variance &

number of data points in each

test.

Mean difference

Combined standard error

Page 65: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

z =x1 − x2( )s12

n1+ s2

2

n2Test  1 : x1, s1

2 ,n1Test  2 : x2 , s2

2 ,n2If z < -1.96 or > 1.96 a significance difference exists

In order: mean, variance &

number of data points in each

test.

Mean difference

Combined standard error

Page 66: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

xs2ni

Pre Post

1,288 1,331

1,369 756.25

60 30

Page 67: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

z =x1 − x2( )s12

n1+ s2

2

n2

=1288 −1331( )136960

+ 756.2530

=436.93

= 6.205

Page 68: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

1,288 1,331

Page 69: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Read more...Statistics without tears by Derek Rowntree

Flaws & Fallacies in statistical thinking by Stephen K Campbell

http://uxstats.blogspot.com

Page 70: Analysing quantitative data

Web Directions User Experience ’08 - Analysing Quantitative Data

Thank you