Slide 1

Slide 1 text

Velocity Barcelona – November 17, 2014 @jonathanklein Jonathan Klein in Engineering Organizations Cognitive Biases

Slide 2

Slide 2 text

Talk Resources (Slides/Links) http://jkle.in/biases

Slide 3

Slide 3 text

jkle.in/biases @jonathanklein 3

Slide 4

Slide 4 text

jkle.in/biases @jonathanklein Who Am I? 3

Slide 5

Slide 5 text

jkle.in/biases @jonathanklein Who Am I? • Senior performance engineer at Etsy 3

Slide 6

Slide 6 text

jkle.in/biases @jonathanklein Who Am I? • Senior performance engineer at Etsy • I write the Etsy Site Performance Reports 3

Slide 7

Slide 7 text

jkle.in/biases @jonathanklein Who Am I? • Senior performance engineer at Etsy • I write the Etsy Site Performance Reports • I like figuring out why we believe what we believe 3

Slide 8

Slide 8 text

4

Slide 9

Slide 9 text

@jonathanklein jkle.in/biases Cognitive Bias: A deviation in judgement where inferences may be illogical 5

Slide 10

Slide 10 text

@jonathanklein jkle.in/biases System 1 Operates automatically and quickly, with little or no effort and no sense of voluntary control 6

Slide 11

Slide 11 text

@jonathanklein jkle.in/biases System 2 Allocates attention to the effortful mental activities that demand it, including complex computations 7

Slide 12

Slide 12 text

@jonathanklein jkle.in/biases System 1 Operates automatically and quickly, with little or no effort and no sense of voluntary control 8

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

@jonathanklein jkle.in/biases 5-10% of videos were upside-down 11

Slide 16

Slide 16 text

“It was designed for right-handed users, but phones are usually rotated 180 degrees when held in left hands.” 12

Slide 17

Slide 17 text

jkle.in/biases @jonathanklein • Projection Bias • Planning Fallacy • Bandwagon Effect • Sunk Cost Fallacy • Hyperbolic Discounting • Fundamental Attribution Error 13

Slide 18

Slide 18 text

Part 1: A Fictional Story

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

@jonathanklein jkle.in/biases Sales Guy 16

Slide 21

Slide 21 text

@jonathanklein jkle.in/biases Engineering Manager 17

Slide 22

Slide 22 text

@jonathanklein jkle.in/biases Software Engineer 18

Slide 23

Slide 23 text

@jonathanklein jkle.in/biases CEO 19

Slide 24

Slide 24 text

20

Slide 25

Slide 25 text

@jonathanklein jkle.in/biases Sales Guy Sells a feature that doesn’t exist yet 21

Slide 26

Slide 26 text

@jonathanklein jkle.in/biases Engineering Manager ROI is positive at < 6 weeks, thinks we can do it in 4 22

Slide 27

Slide 27 text

@jonathanklein jkle.in/biases Software Engineer “Yeah, we can do that” 23

Slide 28

Slide 28 text

@jonathanklein jkle.in/biases Two weeks of development… 24

Slide 29

Slide 29 text

@jonathanklein jkle.in/biases Software Engineer “Oh sh*t, we need 8 more weeks” 25

Slide 30

Slide 30 text

@jonathanklein jkle.in/biases Engineering Manager “Let’s push forward, and hope we beat expectations” 26

Slide 31

Slide 31 text

@jonathanklein jkle.in/biases Software Engineer “Okay, we’ll cut some corners” 27

Slide 32

Slide 32 text

@jonathanklein jkle.in/biases Six more weeks go by… 28

Slide 33

Slide 33 text

29

Slide 34

Slide 34 text

@jonathanklein jkle.in/biases CEO “Who do we need to fire?” 30

Slide 35

Slide 35 text

This could have been avoided 31

Slide 36

Slide 36 text

Deconstructing the Story

Slide 37

Slide 37 text

@jonathanklein jkle.in/biases Sales Guy Sells a feature that doesn’t exist yet 33

Slide 38

Slide 38 text

@jonathanklein jkle.in/biases Projection Bias One thinks that others have the same priority, attitude or belief that one harbors oneself, even if this is unlikely to be the case. 34

Slide 39

Slide 39 text

@jonathanklein jkle.in/biases Projection Bias One thinks that others have the same priority, attitude or belief that one harbors oneself, even if this is unlikely to be the case. Solution 34

Slide 40

Slide 40 text

@jonathanklein jkle.in/biases Projection Bias One thinks that others have the same priority, attitude or belief that one harbors oneself, even if this is unlikely to be the case. Solution Empathy 34

Slide 41

Slide 41 text

@jonathanklein jkle.in/biases Projection Bias One thinks that others have the same priority, attitude or belief that one harbors oneself, even if this is unlikely to be the case. Solution Empathy Have people switch roles 34

Slide 42

Slide 42 text

@jonathanklein jkle.in/biases Engineering Manager ROI is positive at < 6 weeks, thinks we can do it in 4 35

Slide 43

Slide 43 text

@jonathanklein jkle.in/biases Planning Fallacy The tendency for people to underestimate how long they will need to complete a task, even when they have experience of similar tasks over-running 36

Slide 44

Slide 44 text

@jonathanklein jkle.in/biases Planning Fallacy The tendency for people to underestimate how long they will need to complete a task, even when they have experience of similar tasks over-running Solution 36

Slide 45

Slide 45 text

@jonathanklein jkle.in/biases Planning Fallacy The tendency for people to underestimate how long they will need to complete a task, even when they have experience of similar tasks over-running Solution Prototyping 36

Slide 46

Slide 46 text

@jonathanklein jkle.in/biases Planning Fallacy The tendency for people to underestimate how long they will need to complete a task, even when they have experience of similar tasks over-running Solution Prototyping Use information from similar ventures 36

Slide 47

Slide 47 text

@jonathanklein jkle.in/biases Planning Fallacy The tendency for people to underestimate how long they will need to complete a task, even when they have experience of similar tasks over-running Solution Prototyping Use information from similar ventures “Planning poker” exercise 36

Slide 48

Slide 48 text

@jonathanklein jkle.in/biases Planning Poker Cards 37

Slide 49

Slide 49 text

@jonathanklein jkle.in/biases 38

Slide 50

Slide 50 text

@jonathanklein jkle.in/biases Software Engineer “Yeah, we can do that” 39

Slide 51

Slide 51 text

@jonathanklein jkle.in/biases Bandwagon Effect The rate of uptake of beliefs, ideas, fads and trends increases the more that they have already been adopted by others 40

Slide 52

Slide 52 text

@jonathanklein jkle.in/biases Bandwagon Effect The rate of uptake of beliefs, ideas, fads and trends increases the more that they have already been adopted by others Solution 40

Slide 53

Slide 53 text

@jonathanklein jkle.in/biases Bandwagon Effect The rate of uptake of beliefs, ideas, fads and trends increases the more that they have already been adopted by others Solution Make decisions asynchronously 40

Slide 54

Slide 54 text

@jonathanklein jkle.in/biases Bandwagon Effect The rate of uptake of beliefs, ideas, fads and trends increases the more that they have already been adopted by others Solution Make decisions asynchronously Ask for confidential feedback 40

Slide 55

Slide 55 text

@jonathanklein jkle.in/biases Bandwagon Effect The rate of uptake of beliefs, ideas, fads and trends increases the more that they have already been adopted by others Solution Make decisions asynchronously Ask for confidential feedback Don’t prime the estimate 40

Slide 56

Slide 56 text

@jonathanklein jkle.in/biases Bandwagon Effect The rate of uptake of beliefs, ideas, fads and trends increases the more that they have already been adopted by others Solution Make decisions asynchronously Ask for confidential feedback Don’t prime the estimate “Planning poker” exercise 40

Slide 57

Slide 57 text

@jonathanklein jkle.in/biases Software Engineer “Oh sh*t, we need 8 more weeks” 41

Slide 58

Slide 58 text

@jonathanklein jkle.in/biases Engineering Manager “Let’s push forward, and hope we beat expectations” 42

Slide 59

Slide 59 text

@jonathanklein jkle.in/biases Sunk Cost Fallacy A sunk cost is a retrospective (past) cost that has already been incurred and cannot be recovered 43

Slide 60

Slide 60 text

@jonathanklein jkle.in/biases Sunk Cost Fallacy A sunk cost is a retrospective (past) cost that has already been incurred and cannot be recovered Solution 43

Slide 61

Slide 61 text

@jonathanklein jkle.in/biases Sunk Cost Fallacy A sunk cost is a retrospective (past) cost that has already been incurred and cannot be recovered Solution Do some math 43

Slide 62

Slide 62 text

@jonathanklein jkle.in/biases Sunk Cost Fallacy A sunk cost is a retrospective (past) cost that has already been incurred and cannot be recovered Solution Do some math At every point in the project, the ROI should still be positive 43

Slide 63

Slide 63 text

@jonathanklein jkle.in/biases 44 Return on Investment

Slide 64

Slide 64 text

@jonathanklein jkle.in/biases 45 Return on Investment

Slide 65

Slide 65 text

@jonathanklein jkle.in/biases 45 Return on Investment Project Completed

Slide 66

Slide 66 text

@jonathanklein jkle.in/biases Our Example Estimated Development Time: 4 Weeks Estimated Development Cost: $8000 Client Is Paying: $12,000 46

Slide 67

Slide 67 text

@jonathanklein jkle.in/biases Our Example Estimated Development Time: 8 Weeks Estimated Development Cost: $16,000 Client Is Paying: $12,000 47

Slide 68

Slide 68 text

48

Slide 69

Slide 69 text

@jonathanklein jkle.in/biases Software Engineer “Okay, we’ll cut some corners” 49

Slide 70

Slide 70 text

@jonathanklein jkle.in/biases Hyperbolic Discounting Given two similar rewards, humans show a preference for one that arrives sooner rather than later. Humans are said to discount the value of the later reward, by a factor that increases with the length of the delay. 50

Slide 71

Slide 71 text

@jonathanklein jkle.in/biases Hyperbolic Discounting Given two similar rewards, humans show a preference for one that arrives sooner rather than later. Humans are said to discount the value of the later reward, by a factor that increases with the length of the delay. Solution 50

Slide 72

Slide 72 text

@jonathanklein jkle.in/biases Hyperbolic Discounting Given two similar rewards, humans show a preference for one that arrives sooner rather than later. Humans are said to discount the value of the later reward, by a factor that increases with the length of the delay. Solution Deliberately stop and do an estimation exercise 50

Slide 73

Slide 73 text

@jonathanklein jkle.in/biases Hyperbolic Discounting Given two similar rewards, humans show a preference for one that arrives sooner rather than later. Humans are said to discount the value of the later reward, by a factor that increases with the length of the delay. Solution Deliberately stop and do an estimation exercise Consider implications for future developers 50

Slide 74

Slide 74 text

@jonathanklein jkle.in/biases The Stanford Marshmallow Experiment 51

Slide 75

Slide 75 text

No content

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

No content

Slide 78

Slide 78 text

jkle.in/biases @jonathanklein Experimental Outcomes Researchers found that children who were able to wait longer for the preferred rewards tended to have better life outcomes: • SAT Scores • Educational attainment • Body Mass Index (BMI) 55

Slide 79

Slide 79 text

56

Slide 80

Slide 80 text

@jonathanklein jkle.in/biases CEO “Who do we need to fire?” 57

Slide 81

Slide 81 text

@jonathanklein jkle.in/biases Fundamental Attribution Error People's tendency to place an undue emphasis on internal characteristics to explain someone else's behavior in a given situation, rather than considering external factors. 58

Slide 82

Slide 82 text

@jonathanklein jkle.in/biases Fundamental Attribution Error People's tendency to place an undue emphasis on internal characteristics to explain someone else's behavior in a given situation, rather than considering external factors. Solution Blameless postmortems 59

Slide 83

Slide 83 text

@jonathanklein jkle.in/biases Everyone had good intentions 60

Slide 84

Slide 84 text

Our intuition is imperfect 61

Slide 85

Slide 85 text

Our intuition is imperfect 61

Slide 86

Slide 86 text

62

Slide 87

Slide 87 text

Part 2: Real Studies

Slide 88

Slide 88 text

@jonathanklein jkle.in/biases 64

Slide 89

Slide 89 text

@jonathanklein jkle.in/biases Which is More Dangerous? 64

Slide 90

Slide 90 text

@jonathanklein jkle.in/biases Which is More Dangerous? A disease that kills 1,286 people out of every 10,000 64

Slide 91

Slide 91 text

@jonathanklein jkle.in/biases Which is More Dangerous? A disease that kills 1,286 people out of every 10,000 A disease that kills 24.4 out of 100 64

Slide 92

Slide 92 text

@jonathanklein jkle.in/biases Which is More Dangerous? ! A disease that kills 1,286 people out of every 10,000 A disease that kills 24.4 out of 100 65

Slide 93

Slide 93 text

@jonathanklein jkle.in/biases Which is More Dangerous? ! A disease that kills 1,286 people out of every 10,000 A disease that kills 24.4 out of 100 65 Most people say this

Slide 94

Slide 94 text

@jonathanklein jkle.in/biases Which is More Dangerous? ! A disease that kills 1,286 people out of every 10,000 A disease that kills 24.4 out of 100 65 Most people say this This is twice as bad

Slide 95

Slide 95 text

@jonathanklein jkle.in/biases Denominator Neglect 66

Slide 96

Slide 96 text

@jonathanklein jkle.in/biases We Can’t Always Trust Our Intuition 67

Slide 97

Slide 97 text

@jonathanklein jkle.in/biases Dinner Plates Soup/Salad bowls Dessert plates Cups Saucers 8, all good condition 8, all good condition 8, all good condition 8, 2 broken 8, 7 broken 8, all good condition 8, all good condition 8, all good condition None None 68 Set A: 40 Pieces Set B: 24 Pieces

Slide 98

Slide 98 text

@jonathanklein jkle.in/biases Dinner Plates Soup/Salad bowls Dessert plates Cups Saucers 8, all good condition 8, all good condition 8, all good condition 8, 2 broken 8, 7 broken 8, all good condition 8, all good condition 8, all good condition None None 69 Set A: 40 Pieces Set B: 24 Pieces

Slide 99

Slide 99 text

jkle.in/biases @jonathanklein Three Groups in the Experiment ! 1. Shown both sets together 2. Shown only set A 3. Shown only set B 70

Slide 100

Slide 100 text

@jonathanklein jkle.in/biases Group 1 - Joint Evaluation: Set A: $32 Set B: $30 71

Slide 101

Slide 101 text

@jonathanklein jkle.in/biases 72

Slide 102

Slide 102 text

@jonathanklein jkle.in/biases Groups 2 and 3 - Single Evaluation: 72

Slide 103

Slide 103 text

@jonathanklein jkle.in/biases Groups 2 and 3 - Single Evaluation: Set A: $23 Set B: $33 72

Slide 104

Slide 104 text

@jonathanklein jkle.in/biases Dinner Plates Soup/Salad bowls Dessert plates Cups Saucers 8, all good condition 8, all good condition 8, all good condition 8, 2 broken 8, 7 broken 8, all good condition 8, all good condition 8, all good condition None None 73 Set A: 40 Pieces Set B: 24 Pieces

Slide 105

Slide 105 text

Manipulation

Slide 106

Slide 106 text

jkle.in/biases @jonathanklein 75

Slide 107

Slide 107 text

jkle.in/biases @jonathanklein Subscriptions to The Economist 75

Slide 108

Slide 108 text

jkle.in/biases @jonathanklein Subscriptions to The Economist 1. A web-only subscription for $59 75

Slide 109

Slide 109 text

jkle.in/biases @jonathanklein Subscriptions to The Economist 1. A web-only subscription for $59 2. A print-only subscription for $125 75

Slide 110

Slide 110 text

jkle.in/biases @jonathanklein Subscriptions to The Economist 1. A web-only subscription for $59 2. A print-only subscription for $125 3. A web + print subscription for $125 75

Slide 111

Slide 111 text

jkle.in/biases @jonathanklein Subscriptions to The Economist ! 1. A web-only subscription for $59 2. A print-only subscription for $125 3. A web + print subscription for $125 76 Useless

Slide 112

Slide 112 text

jkle.in/biases @jonathanklein Subscriptions to The Economist ! 1. A web-only subscription for $59 2. A print-only subscription for $125 3. A web + print subscription for $125 77 16% 0% 84%

Slide 113

Slide 113 text

jkle.in/biases @jonathanklein Subscriptions to The Economist ! 1. A web-only subscription for $59 2. A print-only subscription for $125 3. A web + print subscription for $125 78

Slide 114

Slide 114 text

jkle.in/biases @jonathanklein Subscriptions to The Economist ! 1. A web-only subscription for $59 2. A print-only subscription for $125 3. A web + print subscription for $125 79 16% 84% 68% 32%

Slide 115

Slide 115 text

@jonathanklein jkle.in/biases Removing the middle option costs $3400+ per 100 subscribers 80

Slide 116

Slide 116 text

@jonathanklein jkle.in/biases Based on 2013 circulation, this could cost The Economist $53M 81

Slide 117

Slide 117 text

@jonathanklein jkle.in/biases 82

Slide 118

Slide 118 text

@jonathanklein jkle.in/biases What’s the best way to sell a $3,000 suit? 82

Slide 119

Slide 119 text

@jonathanklein jkle.in/biases What’s the best way to sell a $3,000 suit? Put it next to a $10,000 suit 82

Slide 120

Slide 120 text

No content

Slide 121

Slide 121 text

No content

Slide 122

Slide 122 text

No content

Slide 123

Slide 123 text

No content

Slide 124

Slide 124 text

@jonathanklein jkle.in/biases Revisiting the Sunk Cost Fallacy 87

Slide 125

Slide 125 text

@jonathanklein jkle.in/biases It Preys on Loss Aversion 88

Slide 126

Slide 126 text

@jonathanklein jkle.in/biases Another Experiment ! 89 $0.01 $0.15

Slide 127

Slide 127 text

@jonathanklein jkle.in/biases Another Experiment ! 90 Most people choose this $0.01 $0.15

Slide 128

Slide 128 text

@jonathanklein jkle.in/biases Lower the Price ! 91 Free! $0.14

Slide 129

Slide 129 text

@jonathanklein jkle.in/biases Lower the Price ! 92 Most people choose this Free! $0.14

Slide 130

Slide 130 text

No content

Slide 131

Slide 131 text

@jonathanklein jkle.in/biases We need a framework for decision making 94

Slide 132

Slide 132 text

Bayesian Reasoning

Slide 133

Slide 133 text

@jonathanklein jkle.in/biases 96 Bayes' Theorem

Slide 134

Slide 134 text

@jonathanklein jkle.in/biases 1. Anchor your judgement of the probability of an outcome on a plausible base rate 97

Slide 135

Slide 135 text

@jonathanklein jkle.in/biases 2. Question the importance and relevancy of your evidence 98

Slide 136

Slide 136 text

@jonathanklein jkle.in/biases Engineering Manager ROI is positive at < 6 weeks, thinks we can do it in 4 99

Slide 137

Slide 137 text

@jonathanklein jkle.in/biases “What is the base rate for estimation accuracy?” 100

Slide 138

Slide 138 text

@jonathanklein jkle.in/biases “Why is this situation different?” 101

Slide 139

Slide 139 text

No content

Slide 140

Slide 140 text

No content

Slide 141

Slide 141 text

No content

Slide 142

Slide 142 text

No content

Slide 143

Slide 143 text

No content

Slide 144

Slide 144 text

@jonathanklein jkle.in/biases To make rational decisions, you must understand the base rate 107

Slide 145

Slide 145 text

@jonathanklein jkle.in/biases You must also objectively evaluate the evidence for departing from the base rate 108

Slide 146

Slide 146 text

Two Principles: Dramatically better decisions 109

Slide 147

Slide 147 text

@jonathanklein jkle.in/biases 110 jkle.in/biases

Slide 148

Slide 148 text

@jonathanklein jkle.in/biases Thanks! jkle.in/biases @jonathanklein jonathan@etsy.com 111