After your yearly checkup, the doctor has bad news and good news.

Similar documents
The Wild Bean Population: Estimating Population Size Using the Mark and Recapture Method

STA Module 6 The Normal Distribution

STA Module 6 The Normal Distribution. Learning Objectives. Examples of Normal Curves

Wine-Tasting by Numbers: Using Binary Logistic Regression to Reveal the Preferences of Experts

ESTIMATING ANIMAL POPULATIONS ACTIVITY

Business Statistics /82 Spring 2011 Booth School of Business The University of Chicago Final Exam

STAT 5302 Applied Regression Analysis. Hawkins

-- Final exam logistics -- Please fill out course evaluation forms (THANKS!!!)

Thought: The Great Coffee Experiment

A Note on a Test for the Sum of Ranksums*

EAT TOGETHER EAT BETTER MY PERFECT PLATE. 40 minutes

Lollapalooza Did Not Attend (n = 800) Attended (n = 438)

Deliciously Edible Plant Parts (Page 1 of 2) LESSON 1 HANDOUT 1

Lack of Credibility, Inflation Persistence and Disinflation in Colombia

Going Strong. Comparing Ratios. to Solve Problems

Imputation of multivariate continuous data with non-ignorable missingness

Team Davis Good Foods Lesson 2: Breakfast

Testing Taste. FRAMEWORK I. Scientific and Engineering Practices 1,3,4,6,7,8 II. Cross-Cutting Concepts III. Physical Sciences

Release #2461 Release Date: Thursday, February 20, 2014

5 Populations Estimating Animal Populations by Using the Mark-Recapture Method

Food Allergies on the Rise in American Children

ENGI E1006 Percolation Handout

THE STATISTICAL SOMMELIER

Predicting Wine Quality

Coffee, Health & Consumption: Reaching Coffee Drinkers

Level 2 Mathematics and Statistics, 2016

Online Appendix to. Are Two heads Better Than One: Team versus Individual Play in Signaling Games. David C. Cooper and John H.

2017 Summary of changes to rules for World Coffee In Good Spirits Championship

CS 322: (Social and Information) Network Analysis Jure Leskovec Stanford University

MBA 503 Final Project Guidelines and Rubric

Activity 2.3 Solubility test

Directions: Read the passage. Then answer the questions below.

Statistics: Final Project Report Chipotle Water Cup: Water or Soda?

Wine On-Premise UK 2018

Big Green Lessons Germination: Kindergarten-2 nd Grade

Archdiocese of New York Practice Items

What Is This Module About?

Decision making with incomplete information Some new developments. Rudolf Vetschera University of Vienna. Tamkang University May 15, 2017

Wine On-Premise UK 2016

DELIVERED FREE A FREE 2 LITER. FOR ONLY $ tax PIZZA MENU 16 X-L THIN CRUST PIZZA. UPTO 5 FREE Toppings Of your choice "CREATE YOUR OWN"

Math Released Item Grade 5. Bean Soup M01289

SENIOR VCAL NUMERACY INVESTIGATION SENIOR VCAL NUMERACY INVESTIGATION Only A Little Bit Over. Name:

To: Professor Roger Bohn & Hyeonsu Kang Subject: Big Data, Assignment April 13th. From: xxxx (anonymized) Date: 4/11/2016

Research Background: Weedy radish is considered one of the world s

DISCRETE MATHEMATICS AND COUNTING DERANGEMENTS IN BLIND WINE TASTINGS

FOOD ALLERGIES. React with Respect

The multivariate piecewise linear growth model for ZHeight and zbmi can be expressed as:

Sponsored by: Center For Clinical Investigation and Cleveland CTSC

Rock Candy Lab Series Boiling Point, Crystallization, and Saturation

The Jawbreakers of the Popcorn Industry. By Mr. Mo COVER PAGE

Economics 101 Spring 2019 Answers to Homework #1 Due Thursday, February 7 th, Directions:

Eukaryotic Comparative Genomics

MAMA SID'S PIZZA by Faith Goddard-Allen

ECO231 Chapter 2 Homework. Name: Date:

1. Simplify the following expression completely, leaving no exponents remaining.

Objective: Decompose a liter to reason about the size of 1 liter, 100 milliliters, 10 milliliters, and 1 milliliter.

Association Rule Mining

Missing value imputation in SAS: an intro to Proc MI and MIANALYZE

Predicting Fruitset Model Philip Schwallier, Amy Irish- Brown, Michigan State University

Clash of Cultures: Two Worlds Collide By UShistory.org 2017

PSYC 6140 November 16, 2005 ANOVA output in R

Summary of Main Points

Holiday Meal. In the foodservice industry, preparing meals on a. Steps to a Safe and Successful FOOD PROTECTION CONNECTION

RELATIVE EFFICIENCY OF ESTIMATES BASED ON PERCENTAGES OF MISSINGNESS USING THREE IMPUTATION NUMBERS IN MULTIPLE IMPUTATION ANALYSIS ABSTRACT

MATH Section 5.4

Argument Paper, MLA Style (Zhang)

Lecture 9: Tuesday, February 10, 2015

VTCSOM Wellness Weekly

PICA FAQS Page 1 of 5. Below are the answers to frequently asked questions from our members about the ESI administered PICA program.

Notes on the Philadelphia Fed s Real-Time Data Set for Macroeconomists (RTDSM) Capacity Utilization. Last Updated: December 21, 2016

wine 1 wine 2 wine 3 person person person person person

INSTITUTE AND FACULTY OF ACTUARIES CURRICULUM 2019 SPECIMEN SOLUTIONS. Subject CS1B Actuarial Statistics

Activity 10. Coffee Break. Introduction. Equipment Required. Collecting the Data

Markets for Breakfast and Through the Day

Building Reliable Activity Models Using Hierarchical Shrinkage and Mined Ontology

Mini Project 3: Fermentation, Due Monday, October 29. For this Mini Project, please make sure you hand in the following, and only the following:

Candidate Name: Assessment Centre: Prepare, finish and present canapés and cocktail products. This Unit has the following element:

Name: Period: Number: OD-

Online Appendix to Voluntary Disclosure and Information Asymmetry: Evidence from the 2005 Securities Offering Reform

2 nd Midterm Exam-Solution

Appendix Table A1 Number of years since deregulation

Activity Sheet Chapter 6, Lesson 6 Using Chemical Change to Identify an Unknown

Questionnaire on quality of life for pharmacoeconomic purposes

Using the Forest to see the Trees: A computational model relating features, objects and scenes

THE MEAT PRODUCTS REGULATIONS 2003 SUMMARY GUIDANCE NOTES

Math Practice Use Operations

Flexible Imputation of Missing Data

8 ROOKIE CANNING MISTAKES (And How You Can Overcome Them)

Candidate Name: Assessment Centre: Cook, finish and present flour, dough and tray-baked. This Unit has the following elements: products

Can You Tell the Difference? A Study on the Preference of Bottled Water. [Anonymous Name 1], [Anonymous Name 2]

Online Appendix for. To Buy or Not to Buy: Consumer Constraints in the Housing Market

Economics Homework 4 Fall 2006

Final Exam Financial Data Analysis (6 Credit points/imp Students) March 2, 2006

Mr Coffee Iced Tea Maker Instructions How Many Tea Bags

Candidate Name: Assessment Centre: This Unit has the following element: Prepare, cook and finish basic rice dishes. Candidate signature:

Interpret and Compute Quotients of Fractions - Step-by-Step Lesson

-- CS341 info session is on Thu 3/18 7pm in Gates Final exam logistics

Laboratory Performance Assessment. Report. Analysis of Pesticides and Anthraquinone. in Black Tea

Panel A: Treated firm matched to one control firm. t + 1 t + 2 t + 3 Total CFO Compensation 5.03% 0.84% 10.27% [0.384] [0.892] [0.

Algorithms in Percolation. Problem: how to identify and measure cluster size distribution

Transcription:

Modeling Belief How much do you believe it will rain? How strong is your belief in democracy? How much do you believe Candidate X? How much do you believe Car x is faster than Car y? How long do you think you will live?

After your yearly checkup, the doctor has bad news and good news. The bad news is that you tested positive for a serious disease, and that the test is 99% accurate (i.e. the probability of testing positive given that you have the disease is 0.99, as is the probability of testing negative given that you don't have the disease). The good news is that this is a rare disease, striking only one in 10,000 people. Why is it good news that the disease is rare? What are the chances that you actually have the disease?

What is probability? A numerical measure of the strength of a belief in a certain proposition:p(proposition). Provides rules for coherent inductive reasoning: addition p(this OR That) Multiplication p(this AND That) conditional probability p(this Given THAT) independence. This and That are not related

Birthday Problem What s the chance two people in a room share the same birthday? Events? Define probabilities? Answer in MATLAB code: n=0:60; p = 1-cumprod((365-n)/365)

Birthday Problem What s the chance at least two people in a room share the same birthday? P( B ) = 1- P( Not B) = 1-P(NOONE shares the same birthday. ) Events? Events A i = Person i s birthday is different from Persons {0,,i-1} Define probabilities? P(A i ) = P(i s birthday is different from preceding persons) = (365-i)/365 (i.e. How many chances out of the total) P(Not B) = P(A 0 & A 1 & & A i )= P(A 0, A 1,, A i ) = P(A 0 )P( A 1 ) P( A i ) = j=0 P(A j ) = (365*364*.(365-i))/ 365 i = 365!/((365-i)! 365 i ) i

Posterior Probabilities Knowing right prob to compute! P(s O) = P(O s)p(s)/p(o) s = world property O = Observation Example: Medical Testing You test positive for cancer A doctor tells you that the test only misses 10% of people who have cancer, so prepare for the worst Do you seek a second opinion? Why?

Mr. Dupont is a professional wine taster. When given a French wine, he will identify it with probability 0.9 correctly as French, and will mistake it for a Californian wine with probability 0.1. When given a Californian wine, he will identify it with probability 0.8 correctly as Californian, and will mistake it for a French wine with probability 0.2. Suppose that Mr. Dupont is given ten unlabelled glasses of wine, three with French and seven with Californian wines. He randomly picks a glass, tries the wine, and solemnly says: "French". What is the probability that the wine he tasted was Californian?

Prob Computations.. Estimate the probability of some event E when it depends on F. Estimate the probability of E given some other event F, p(e F) Estimate p(e not-f) Estimate p(f) Compute P(E) as p(f) p(e F) + p(not-f) p(e not-f)

Bayes Example

Mr. Dupont is a professional wine taster. When given a French wine, he will identify it with probability 0.9 correctly as French, and will mistake it for a Californian wine with probability 0.1. When given a Californian wine, he will identify it with probability 0.8 correctly as Californian, and will mistake it for a French wine with probability 0.2. Suppose that Mr. Dupont is given ten unlabelled glasses of wine, three with French and seven with Californian wines. He randomly picks a glass, tries the wine, and solemnly says: "French". What is the probability that the wine he tasted was Californian? Rf Rc F 0.9 0.1 C 0.2 0.8 P(F) = 0.3; P(C) = 0.7; P(C Rf) = P(Rf C) p( C )/P(Rf) = 0.2*0.7/Σ w P(Rf w)p(w) = 0.2*0.7/(0.9*0.3+0.2*0.7) = 0.3415 = 0.2*0.7/0.41 = 0.3415

Visualizing 0.9 D H = Hypothesis, Patient has cancer" D = Datum 0.3 H 0.1 ~D 0.7 ~H 0.2 D D ~D H ~H 0.9 0.2 0.1 0.8 0.8 ~D P(H) = 0.3; P(~H) = 0.7;

WHAT YOU NEED TO KNOW Joint Probability Conditioning P(x, y) = P(A " B) P(y x) = P(x,y) /P(x) Marginalization P(x) = # y P(x,y)

Matlab code for computing sum of two die % Need to enumerate all possibilities % die1 = 1:6; % die2 = 1:6; % Now a basic control structure % for die1value=1:6, for die2value = 1:6, possibilities(die1value,die2value) = die1value + die2value; end end % possibilities = % % 2 3 4 5 6 7 % 3 4 5 6 7 8 % 4 5 6 7 8 9 % 5 6 7 8 9 10 % 6 7 8 9 10 11 % 7 8 9 10 11 12 % sort our table into a long list possibilities = reshape(possibilities,[1,36]) % possibilities = % % Columns 1 through 18 % % 2 3 4 5 6 7 3 4 5 6 7 8 % 4 5 6 7 8 9 % % Columns 19 through 36 % % 5 6 7 8 9 10 6 7 8 9 10 11 % 7 8 9 10 11 12 % now the minimum value of the sum is 2 % and the max is 12 for sumvalues = 2:12, testifequal = (possibilities == sumvalues); % testifequal returns a new list of the same size % possibilities with a 1 for every element in % possibilities that is equal to the current sumvalue % (2,3,4, etc) and zero for all other values count(sumvalues-1) = sum(testifequal); end probsum = count/36

Binomial Events

Normal & Multivariate Normal Σ= [σ x 2 0 0 σ y 2 ] Σ= [σ x 2 ρσ x σ y ρσ x σ y σ y 2 ]