Slide 1

Slide 1 text

Craft Conf – April 29th, 2016 @jonathanklein Jonathan Klein in Engineering Organizations Cognitive Biases

Slide 2

Slide 2 text

Talk Resources (Slides/Links) jkle.in/craft

Slide 3

Slide 3 text

jkle.in/craft @jonathanklein 3

Slide 4

Slide 4 text

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

Slide 5

Slide 5 text

jkle.in/craft @jonathanklein Who Am I? • Director of Engineering at Attend 3

Slide 6

Slide 6 text

jkle.in/craft @jonathanklein Who Am I? • Director of Engineering at Attend • Co-Author of Hound (a code search tool) 3

Slide 7

Slide 7 text

jkle.in/craft @jonathanklein Who Am I? • Director of Engineering at Attend • Co-Author of Hound (a code search tool) • 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/craft Cognitive Bias: A deviation in judgement where inferences may be illogical 5

Slide 10

Slide 10 text

@jonathanklein jkle.in/craft 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/craft System 2 Allocates attention to the effortful mental activities that demand it, including complex computations 7

Slide 12

Slide 12 text

@jonathanklein jkle.in/craft 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/craft Daniel Kahneman Focuses on Problematic Biases 11 Gary Klein Focuses on Helpful Biases (NDM)

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

“Although DK is thrilled by the remarkable intuitive skills of experts that GK and others have described, he also takes considerable pleasure in demonstrations of human folly and in the comeuppance of overconfident pseudo-experts. For his part, GK recognizes that formal procedures and algorithms sometimes outdo human judgment, but he enjoys hearing about cases in which the bureaucratization of decision making fails.” Conditions for Intuitive Expertise A Failure to Disagree

Slide 18

Slide 18 text

@jonathanklein jkle.in/craft 5-10% of videos were upside-down 14

Slide 19

Slide 19 text

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

Slide 20

Slide 20 text

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

Slide 21

Slide 21 text

Part 1: A Fictional Story

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

@jonathanklein jkle.in/craft Sales Guy 19

Slide 24

Slide 24 text

@jonathanklein jkle.in/craft Engineering Manager 20

Slide 25

Slide 25 text

@jonathanklein jkle.in/craft Software Engineer 21

Slide 26

Slide 26 text

@jonathanklein jkle.in/craft CEO 22

Slide 27

Slide 27 text

23

Slide 28

Slide 28 text

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

Slide 29

Slide 29 text

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

Slide 30

Slide 30 text

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

Slide 31

Slide 31 text

@jonathanklein jkle.in/craft Two weeks of development… 27

Slide 32

Slide 32 text

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

Slide 33

Slide 33 text

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

Slide 34

Slide 34 text

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

Slide 35

Slide 35 text

@jonathanklein jkle.in/craft Six more weeks go by… 31

Slide 36

Slide 36 text

32

Slide 37

Slide 37 text

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

Slide 38

Slide 38 text

This could have been avoided 34

Slide 39

Slide 39 text

Deconstructing the Story

Slide 40

Slide 40 text

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

Slide 41

Slide 41 text

@jonathanklein jkle.in/craft 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. 37

Slide 42

Slide 42 text

@jonathanklein jkle.in/craft 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 37

Slide 43

Slide 43 text

@jonathanklein jkle.in/craft 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 37

Slide 44

Slide 44 text

@jonathanklein jkle.in/craft 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 37

Slide 45

Slide 45 text

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

Slide 46

Slide 46 text

@jonathanklein jkle.in/craft 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 39

Slide 47

Slide 47 text

@jonathanklein jkle.in/craft 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 39

Slide 48

Slide 48 text

@jonathanklein jkle.in/craft 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 39

Slide 49

Slide 49 text

@jonathanklein jkle.in/craft 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 39

Slide 50

Slide 50 text

@jonathanklein jkle.in/craft 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 39

Slide 51

Slide 51 text

@jonathanklein jkle.in/craft Planning Poker Cards 40

Slide 52

Slide 52 text

@jonathanklein jkle.in/craft 41

Slide 53

Slide 53 text

@jonathanklein jkle.in/craft This works because it changes the reference point 42

Slide 54

Slide 54 text

@jonathanklein jkle.in/craft “Reference Class Forecasting” 43

Slide 55

Slide 55 text

@jonathanklein jkle.in/craft 44

Slide 56

Slide 56 text

@jonathanklein jkle.in/craft Story Point Best Practices 44

Slide 57

Slide 57 text

@jonathanklein jkle.in/craft Story Point Best Practices Points != Time 44

Slide 58

Slide 58 text

@jonathanklein jkle.in/craft Story Point Best Practices Points != Time Points Don’t Translate Across Teams 44

Slide 59

Slide 59 text

@jonathanklein jkle.in/craft Story Point Best Practices Points != Time Points Don’t Translate Across Teams Points Don’t Work For Huge Projects 44

Slide 60

Slide 60 text

@jonathanklein jkle.in/craft Planning Poker Cards 45

Slide 61

Slide 61 text

@jonathanklein jkle.in/craft Planning Poker Cards 46

Slide 62

Slide 62 text

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

Slide 63

Slide 63 text

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

Slide 64

Slide 64 text

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

Slide 65

Slide 65 text

@jonathanklein jkle.in/craft 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 48

Slide 66

Slide 66 text

@jonathanklein jkle.in/craft 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 48

Slide 67

Slide 67 text

@jonathanklein jkle.in/craft 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 48

Slide 68

Slide 68 text

@jonathanklein jkle.in/craft 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 48

Slide 69

Slide 69 text

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

Slide 70

Slide 70 text

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

Slide 71

Slide 71 text

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

Slide 72

Slide 72 text

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

Slide 73

Slide 73 text

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

Slide 74

Slide 74 text

@jonathanklein jkle.in/craft 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 51

Slide 75

Slide 75 text

@jonathanklein jkle.in/craft 52 Return on Investment

Slide 76

Slide 76 text

@jonathanklein jkle.in/craft 53 Return on Investment

Slide 77

Slide 77 text

@jonathanklein jkle.in/craft 53 Return on Investment Project Completed

Slide 78

Slide 78 text

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

Slide 79

Slide 79 text

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

Slide 80

Slide 80 text

56

Slide 81

Slide 81 text

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

Slide 82

Slide 82 text

@jonathanklein jkle.in/craft 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. 58

Slide 83

Slide 83 text

@jonathanklein jkle.in/craft 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 58

Slide 84

Slide 84 text

@jonathanklein jkle.in/craft 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 58

Slide 85

Slide 85 text

@jonathanklein jkle.in/craft 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 58

Slide 86

Slide 86 text

@jonathanklein jkle.in/craft The Stanford Marshmallow Experiment 59

Slide 87

Slide 87 text

No content

Slide 88

Slide 88 text

No content

Slide 89

Slide 89 text

No content

Slide 90

Slide 90 text

jkle.in/craft @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) 63

Slide 91

Slide 91 text

64

Slide 92

Slide 92 text

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

Slide 93

Slide 93 text

@jonathanklein jkle.in/craft 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. 66

Slide 94

Slide 94 text

@jonathanklein jkle.in/craft 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 67

Slide 95

Slide 95 text

@jonathanklein jkle.in/craft Everyone had good intentions 68

Slide 96

Slide 96 text

Our intuition is imperfect 69

Slide 97

Slide 97 text

Our intuition is imperfect 69

Slide 98

Slide 98 text

70

Slide 99

Slide 99 text

Part 2: Real Studies

Slide 100

Slide 100 text

@jonathanklein jkle.in/craft 72

Slide 101

Slide 101 text

@jonathanklein jkle.in/craft A Quiz 72

Slide 102

Slide 102 text

@jonathanklein jkle.in/craft A Quiz A ball and a bat together cost $1.10. The bat costs a dollar more than the ball. 72

Slide 103

Slide 103 text

@jonathanklein jkle.in/craft A Quiz A ball and a bat together cost $1.10. The bat costs a dollar more than the ball. How much does the ball cost? 72

Slide 104

Slide 104 text

@jonathanklein jkle.in/craft 73

Slide 105

Slide 105 text

@jonathanklein jkle.in/craft A Quiz 73

Slide 106

Slide 106 text

@jonathanklein jkle.in/craft A Quiz Most people say $0.10 73

Slide 107

Slide 107 text

@jonathanklein jkle.in/craft A Quiz Most people say $0.10 The answer is actually $0.05 73

Slide 108

Slide 108 text

@jonathanklein jkle.in/craft We Can’t Always Trust Our Intuition 74

Slide 109

Slide 109 text

@jonathanklein jkle.in/craft 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 75 Set A: 40 Pieces Set B: 24 Pieces

Slide 110

Slide 110 text

@jonathanklein jkle.in/craft 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 76 Set A: 40 Pieces Set B: 24 Pieces

Slide 111

Slide 111 text

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

Slide 112

Slide 112 text

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

Slide 113

Slide 113 text

@jonathanklein jkle.in/craft 79

Slide 114

Slide 114 text

@jonathanklein jkle.in/craft Groups 2 and 3 - Single Evaluation: 79

Slide 115

Slide 115 text

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

Slide 116

Slide 116 text

@jonathanklein jkle.in/craft 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 80 Set A: 40 Pieces Set B: 24 Pieces

Slide 117

Slide 117 text

Manipulation

Slide 118

Slide 118 text

jkle.in/craft @jonathanklein 82

Slide 119

Slide 119 text

jkle.in/craft @jonathanklein Subscriptions to The Economist 82

Slide 120

Slide 120 text

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

Slide 121

Slide 121 text

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

Slide 122

Slide 122 text

jkle.in/craft @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 82

Slide 123

Slide 123 text

jkle.in/craft @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 83 Useless

Slide 124

Slide 124 text

jkle.in/craft @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 84 16% 0% 84%

Slide 125

Slide 125 text

jkle.in/craft @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 85

Slide 126

Slide 126 text

jkle.in/craft @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 86 16% 84% 68% 32%

Slide 127

Slide 127 text

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

Slide 128

Slide 128 text

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

Slide 129

Slide 129 text

@jonathanklein jkle.in/craft 89

Slide 130

Slide 130 text

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

Slide 131

Slide 131 text

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

Slide 132

Slide 132 text

No content

Slide 133

Slide 133 text

No content

Slide 134

Slide 134 text

No content

Slide 135

Slide 135 text

No content

Slide 136

Slide 136 text

No content

Slide 137

Slide 137 text

@jonathanklein jkle.in/craft Revisiting the Sunk Cost Fallacy 95

Slide 138

Slide 138 text

@jonathanklein jkle.in/craft It Preys on Loss Aversion 96

Slide 139

Slide 139 text

@jonathanklein jkle.in/craft Another Experiment 97 $0.01 $0.15

Slide 140

Slide 140 text

@jonathanklein jkle.in/craft Another Experiment 98 Most people choose this $0.01 $0.15

Slide 141

Slide 141 text

@jonathanklein jkle.in/craft Lower the Price 99 Free! $0.14

Slide 142

Slide 142 text

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

Slide 143

Slide 143 text

No content

Slide 144

Slide 144 text

@jonathanklein jkle.in/craft We need a framework for decision making 102

Slide 145

Slide 145 text

Bayesian Reasoning

Slide 146

Slide 146 text

@jonathanklein jkle.in/craft 104 Bayes' Theorem

Slide 147

Slide 147 text

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

Slide 148

Slide 148 text

@jonathanklein jkle.in/craft 2. Question the importance and relevancy of your evidence 106

Slide 149

Slide 149 text

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

Slide 150

Slide 150 text

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

Slide 151

Slide 151 text

@jonathanklein jkle.in/craft “Why is this situation different?” 109

Slide 152

Slide 152 text

No content

Slide 153

Slide 153 text

No content

Slide 154

Slide 154 text

No content

Slide 155

Slide 155 text

No content

Slide 156

Slide 156 text

No content

Slide 157

Slide 157 text

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

Slide 158

Slide 158 text

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

Slide 159

Slide 159 text

Two Principles: Dramatically better decisions 117

Slide 160

Slide 160 text

@jonathanklein jkle.in/craft 118 jkle.in/craft

Slide 161

Slide 161 text

@jonathanklein jkle.in/craft Thanks! jkle.in/craft @jonathanklein jonathan@attend.com 119