Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

9.1 Heuristics: Difference between revisions

From Sense & Sensibility & Science
Created page with "{{Template:Lesson plan}}"
 
No edit summary
Line 1: Line 1:
{{Template:Lesson plan}}
{{Navbox}}
 
{{Todo|Fill out the learning goals and definitions.}}
{{Todo|Add links in learning goals.}}
{{Todo|Write the "context" for how this lesson connects with others.}}
{{Todo|Edit previous lesson to see if there's any setup for this lesson that needs to be in the "During Class" or "After Class" section of the last.}}
{{Todo|Fill out the lesson content.}}
{{Todo|Fill out or delete anything with "[...]" remaining.}}
 
== Learning Goals ==
 
[Link to PlayPosit]
 
[Link to instructional video]
 
More details: [link to topic on SSS website]
 
After this lesson, students should
# [What they should understand, feel, learn, etc.]
 
=== Definitions ===
 
* '''Term'''
*: Explanation.
 
=== Examples ===
 
* [item 1]
 
=== Common Misconceptions ===
 
* ''Mistaken quote''
*: Explanation.
 
== Context ==
 
[Explanation of how the current topic into the larger context of the course by explaining how the previous topic(s) relate to the current topic and leaving cliffhangers for future topics where relevant throughout the lesson]
 
=== Before ===
 
: '''[[X.X Lesson Name]]'''
:: Explanation.
:* Itemized explanation.
 
=== After ===
 
: '''[[X.X Lesson Name]]'''
:: Explanation.
:* Itemized explanation.
 
== Recommended Outline ==
 
=== Before Class ===
 
* [Any essential logistical things that need to be done for this class]
* Prepare a seating chart.
* Review PlayPosit and discussion questions and ask faculty, Gabriel, or Emlen any questions you have.
* (Optional) Prepare a presentation.
 
=== During Class ===
 
* (5 min) Come up with some fun way to assign the roles of spokesperson and notetaker (e.g. earliest birthday in the year, lives furthest from campus). Remind them of the responsibilities of these roles.
* ([#] min) [Description of some module from [[#Lesson Content]]]
* (5 min) Collect questions for plenary.
 
=== After Class ===
 
* [Any essential logistical things that need to be done as followup for this class]
* Collect answers from notetakers for the forum / plenary.
 
== Lesson Content ==
 
=== Clicker Question ===
 
You're sitting in your room cramming for an exam when your roommate decides to throw an impromptu party and invites people from all over the university. Realizing that you're not going to get any work done, you decide to make the most of it and start mingling with the crowd. In the process, you strike up a conversation with someone named Jessie who starts droning ''on and on'' about rockets. They go on for so long that you start to lose interest and begin thinking about what sort of person Jessie really is.
 
Here's some helpful numbers:
* There is one engineering major for every three non-engineering majors at your college.
* Half of all engineering majors like rockets.
* A sixth of all non-engineering majors like rockets.
 
Which is more likely?
# Jessie is an engineering major.
# Jessie is a non-engineering major.
# It's equally likely that Jessie's an engineering or non-engineering major.
 
{{Answer|'''Do not tell the students the answer yet!''' It's actually 50/50 odds that Jessie is an engineering major. This is explained later [[#KOALA-21|KOALA-21]].}}
 
=== KOALA-21 ===
 
We introduce and practise Bayes' rule (formulated in terms of odds) in this activity.
 
{{Caution|This is one of the more confusing topics, so it is worth spending more time on it.}}
 
==== Clicker Question ====
 
# Suppose there is an epidemic of KOALA-21 breaking out among koalas in New South Wales, which about 1% of the koalas have contracted. A test for KOALA-21 was developed, whose false positive rate is 9% and false negative rate is 10%. If a particular koala has tested positive of KOALA-21, what is the actual probability that it really has KOALA-21?
## Between 0-25%
## Between 25-50%
## Between 50-75%
## Between 75-100%
{{Answer|a (9.2%). Don't reveal this answer yet, as this will be worked out in detail below.}}
 
==== Instructions ====
 
# Reminder of what true/false positive/negative rates mean. Emphasise that <math>\text{(true positive rate)} = 1 - \text{(false negative rate)}</math>, and <math>\text{(true negative rate)} = 1 - \text{(false positive rate)}</math>.
# Show and explain the following diagram. [[File:KOALA-21.png]]
# Introduce the idea of odds, as opposed to probabilities. Examples: 50% probability of a coin flip translates to 1:1 odds; 90% probability translates to 9:1 odds. Bayes' rule is simplest when phrased in this manner. {{Todo|Introduce odds in [[6.1 Probabilistic Thinking]]}}
# The main equation we will use is
#: <math>\text{(Odds that one actually has the disease)} = \text{(Prior odds of having the disease)} \times \frac{\text{(True positive rate)}}{\text{(False positive rate)}}.</math>
# In the case of KOALA-21,
#: <math>\text{(Odds that the KOALA has the disease)} = (1/99) \times \frac{1-0.09}{0.10} \approx 1/9.9.</math>
# We just wrote this as a ratio. But, as odds, we represent it as 1:9.9.
# The actual probability of having the disease is <math>1/(1+9.9) \approx 0.092</math>.
{{Todo|Write better/more intuitive description of how to get the probability from the odds.}}
 
==== Discussion Questions ====
 
Have students work in small groups to work out this problem, following the KOALA-21 example above. Give assistance where needed.
 
# Based on a daily case count of 73,000 (November 2021) and a 14-day recovery period, it can be Fermi estimated that the prevalence of Covid-19 is 0.3%. For the commonly used PCR test, the true positive rate (sensitivity) is 98%, and the true negative rate (specificity) is 80%. If you do one PCR test and get a positive result, what are the actual odds that you have Covid? {{Answer|The odds are <math>(0.3/99.7)\times\frac{98\%}{1-80\%} = 1.47</math>. This translates to about 60% probability of having Covid. The students do ''not'' need to come up with the Fermi estimates on their own.}}
# From the odds you obtained from the first test, if you do another PCR test and get a positive result, what are now the actual odds that you have Covid? {{Answer|The odds are <math>1.47\times \frac{98\%}{1-80\%} = 7.2</math>, which translates to about 88% probability. Note that this is assumes that the true and false positivity rates for second tests is the same as for first ones. Strictly speaking, this is actually a ''lower'' bound on the probability. This point is somewhat subtle and not particularly essential to the topic as a whole. So, you don't need to emphasize it. And feel free to reassure the students that it's not an issue if they don't completely grasp it.}}
# Why is it often recommended for first-time positive patients to test for Covid a second time? {{Answer|Because they get much better answers!}}
 
=== Jessie Again ===
 
Now that we have some practice working out Bayesian odds with diseases, it's time to try and figure out who Jessie ''really'' is. Recall our "disease" formula but somewhat generalized.
 
<math>\text{(Odds that a positive test is accurate)} = \text{(Base odds of positivity)} \times \frac{\text{(True positive rate of the test)}}{\text{(False positive rate of the test)}}</math>
 
We're using the term "test" here very broadly. For example, our [[#Clicker Question|original conversation]] with Jessie counts! In that case, we were using Jessie's interest in rocketry as a "test" for whether or not they're an engineering major. If Jessie is interested in rockets and is also an engineering major then we have a true positive. But if Jessie isn't an engineering major then it's a false positive.
{{Caution|We have a "positive" result because we know Jessie is interested in rocketry.|small=right}}
Here are the values from the original problem. Given this information, what are the odds that Jessie is an engineering major?
# There is one engineering major for every three non-engineering majors at your college.
# Half of all engineering majors like rockets.
# A sixth of all non-engineering majors like rockets. {{Answer|The first item gives the "Base odds of positivity." The second item is the "True positive rate of the test" and the third item is the "False positive rate of the test." Plugging all these numbers in, we get 1:1 odds.}}
 
=== Conjunction Fallacy ===
 
Andy is a junior at Berkeley. His favorite book is Howard Zinn’s “People’s History of the United States.” He’s passionate about politics, and he regularly attends local protests. He is most likely to be:
 
# A computer science major.
# A computer science and also a political science major (double major).
# A computer science major who is a member of the Berkeley College Democrats.
# A computer science and also a political science major (double major) who is a member of the Berkeley College Democrats.
 
{{Answer|Andy is most likely a computer science major. This is because all the other categories are ''also'' built on the assumption that he's a computer science major. <math>A</math> is always more likely than <math>A</math> and <math>B</math>. We call people's tendency to neglect this fact the "conjunction fallacy."}}
 
=== Representativeness Heuristic ===
 
Mini-lecture about the following examples:
 
# Linda bank teller.
# Kings day parade attack.
# California natural disaster.
# Michigan/Detroit.
 
=== Availability Heuristic ===
 
{{Todo|Mini-lecture about availability.}}
 
=== The Value of Heuristics and Biases ===
 
{{Todo|Write some questions for people to discuss where heuristics and biases are actually useful.}}
 
{{Todo|GSI gives some takeaway thesis that heuristics and biases are better than either giving up on decisions or deciding randomly.}}
 
== Collect Questions for Plenary ==
 
(5 min) Collect remaining questions from the students for faculty in plenary (can be questions for clarification, extension, discussion, etc.), and add [ here].
 
[[Category:Lesson Plans]]

Revision as of 16:32, 10 November 2021


Fill out the learning goals and definitions.
Add links in learning goals.
Write the "context" for how this lesson connects with others.
Edit previous lesson to see if there's any setup for this lesson that needs to be in the "During Class" or "After Class" section of the last.
Fill out the lesson content.
Fill out or delete anything with "[...]" remaining.

Learning Goals

[Link to PlayPosit]

[Link to instructional video]

More details: [link to topic on SSS website]

After this lesson, students should

  1. [What they should understand, feel, learn, etc.]

Definitions

  • Term
    Explanation.

Examples

  • [item 1]

Common Misconceptions

  • Mistaken quote
    Explanation.

Context

[Explanation of how the current topic into the larger context of the course by explaining how the previous topic(s) relate to the current topic and leaving cliffhangers for future topics where relevant throughout the lesson]

Before

X.X Lesson Name
Explanation.
  • Itemized explanation.

After

X.X Lesson Name
Explanation.
  • Itemized explanation.

Recommended Outline

Before Class

  • [Any essential logistical things that need to be done for this class]
  • Prepare a seating chart.
  • Review PlayPosit and discussion questions and ask faculty, Gabriel, or Emlen any questions you have.
  • (Optional) Prepare a presentation.

During Class

  • (5 min) Come up with some fun way to assign the roles of spokesperson and notetaker (e.g. earliest birthday in the year, lives furthest from campus). Remind them of the responsibilities of these roles.
  • ([#] min) [Description of some module from #Lesson Content]
  • (5 min) Collect questions for plenary.

After Class

  • [Any essential logistical things that need to be done as followup for this class]
  • Collect answers from notetakers for the forum / plenary.

Lesson Content

Clicker Question

You're sitting in your room cramming for an exam when your roommate decides to throw an impromptu party and invites people from all over the university. Realizing that you're not going to get any work done, you decide to make the most of it and start mingling with the crowd. In the process, you strike up a conversation with someone named Jessie who starts droning on and on about rockets. They go on for so long that you start to lose interest and begin thinking about what sort of person Jessie really is.

Here's some helpful numbers:

  • There is one engineering major for every three non-engineering majors at your college.
  • Half of all engineering majors like rockets.
  • A sixth of all non-engineering majors like rockets.

Which is more likely?

  1. Jessie is an engineering major.
  2. Jessie is a non-engineering major.
  3. It's equally likely that Jessie's an engineering or non-engineering major.
Do not tell the students the answer yet! It's actually 50/50 odds that Jessie is an engineering major. This is explained later KOALA-21.

KOALA-21

We introduce and practise Bayes' rule (formulated in terms of odds) in this activity.

This is one of the more confusing topics, so it is worth spending more time on it.

Clicker Question

  1. Suppose there is an epidemic of KOALA-21 breaking out among koalas in New South Wales, which about 1% of the koalas have contracted. A test for KOALA-21 was developed, whose false positive rate is 9% and false negative rate is 10%. If a particular koala has tested positive of KOALA-21, what is the actual probability that it really has KOALA-21?
    1. Between 0-25%
    2. Between 25-50%
    3. Between 50-75%
    4. Between 75-100%
a (9.2%). Don't reveal this answer yet, as this will be worked out in detail below.

Instructions

  1. Reminder of what true/false positive/negative rates mean. Emphasise that [math]\displaystyle{ \text{(true positive rate)} = 1 - \text{(false negative rate)} }[/math], and [math]\displaystyle{ \text{(true negative rate)} = 1 - \text{(false positive rate)} }[/math].
  2. Show and explain the following diagram.
  3. Introduce the idea of odds, as opposed to probabilities. Examples: 50% probability of a coin flip translates to 1:1 odds; 90% probability translates to 9:1 odds. Bayes' rule is simplest when phrased in this manner.
    Introduce odds in 6.1 Probabilistic Thinking
  4. The main equation we will use is
    [math]\displaystyle{ \text{(Odds that one actually has the disease)} = \text{(Prior odds of having the disease)} \times \frac{\text{(True positive rate)}}{\text{(False positive rate)}}. }[/math]
  5. In the case of KOALA-21,
    [math]\displaystyle{ \text{(Odds that the KOALA has the disease)} = (1/99) \times \frac{1-0.09}{0.10} \approx 1/9.9. }[/math]
  6. We just wrote this as a ratio. But, as odds, we represent it as 1:9.9.
  7. The actual probability of having the disease is [math]\displaystyle{ 1/(1+9.9) \approx 0.092 }[/math].
Write better/more intuitive description of how to get the probability from the odds.

Discussion Questions

Have students work in small groups to work out this problem, following the KOALA-21 example above. Give assistance where needed.

  1. Based on a daily case count of 73,000 (November 2021) and a 14-day recovery period, it can be Fermi estimated that the prevalence of Covid-19 is 0.3%. For the commonly used PCR test, the true positive rate (sensitivity) is 98%, and the true negative rate (specificity) is 80%. If you do one PCR test and get a positive result, what are the actual odds that you have Covid?
    The odds are [math]\displaystyle{ (0.3/99.7)\times\frac{98\%}{1-80\%} = 1.47 }[/math]. This translates to about 60% probability of having Covid. The students do not need to come up with the Fermi estimates on their own.
  2. From the odds you obtained from the first test, if you do another PCR test and get a positive result, what are now the actual odds that you have Covid?
    The odds are [math]\displaystyle{ 1.47\times \frac{98\%}{1-80\%} = 7.2 }[/math], which translates to about 88% probability. Note that this is assumes that the true and false positivity rates for second tests is the same as for first ones. Strictly speaking, this is actually a lower bound on the probability. This point is somewhat subtle and not particularly essential to the topic as a whole. So, you don't need to emphasize it. And feel free to reassure the students that it's not an issue if they don't completely grasp it.
  3. Why is it often recommended for first-time positive patients to test for Covid a second time?
    Because they get much better answers!

Jessie Again

Now that we have some practice working out Bayesian odds with diseases, it's time to try and figure out who Jessie really is. Recall our "disease" formula but somewhat generalized.

[math]\displaystyle{ \text{(Odds that a positive test is accurate)} = \text{(Base odds of positivity)} \times \frac{\text{(True positive rate of the test)}}{\text{(False positive rate of the test)}} }[/math]

We're using the term "test" here very broadly. For example, our original conversation with Jessie counts! In that case, we were using Jessie's interest in rocketry as a "test" for whether or not they're an engineering major. If Jessie is interested in rockets and is also an engineering major then we have a true positive. But if Jessie isn't an engineering major then it's a false positive.

We have a "positive" result because we know Jessie is interested in rocketry.

Here are the values from the original problem. Given this information, what are the odds that Jessie is an engineering major?

  1. There is one engineering major for every three non-engineering majors at your college.
  2. Half of all engineering majors like rockets.
  3. A sixth of all non-engineering majors like rockets.
    The first item gives the "Base odds of positivity." The second item is the "True positive rate of the test" and the third item is the "False positive rate of the test." Plugging all these numbers in, we get 1:1 odds.

Conjunction Fallacy

Andy is a junior at Berkeley. His favorite book is Howard Zinn’s “People’s History of the United States.” He’s passionate about politics, and he regularly attends local protests. He is most likely to be:

  1. A computer science major.
  2. A computer science and also a political science major (double major).
  3. A computer science major who is a member of the Berkeley College Democrats.
  4. A computer science and also a political science major (double major) who is a member of the Berkeley College Democrats.
Andy is most likely a computer science major. This is because all the other categories are also built on the assumption that he's a computer science major. [math]\displaystyle{ A }[/math] is always more likely than [math]\displaystyle{ A }[/math] and [math]\displaystyle{ B }[/math]. We call people's tendency to neglect this fact the "conjunction fallacy."

Representativeness Heuristic

Mini-lecture about the following examples:

  1. Linda bank teller.
  2. Kings day parade attack.
  3. California natural disaster.
  4. Michigan/Detroit.

Availability Heuristic

Mini-lecture about availability.

The Value of Heuristics and Biases

Write some questions for people to discuss where heuristics and biases are actually useful.
GSI gives some takeaway thesis that heuristics and biases are better than either giving up on decisions or deciding randomly.

Collect Questions for Plenary

(5 min) Collect remaining questions from the students for faculty in plenary (can be questions for clarification, extension, discussion, etc.), and add [ here].