Bayes theorem (1812) Thomas Bayes ( ) English statistician, philosopher, and Presbyterian minister
|
|
- Magnus Hill
- 5 years ago
- Views:
Transcription
1 Bayes theorem (1812) Thomas Bayes ( ) English statistician, philosopher, and Presbyterian minister
2 Bayes theorem (simple) Definitions: P(B A) =P(B A)/P(A); P(A B) =P(A B)/P(B) In Science we often want to know: How much faith should I put into hypothesis, given the data? or P(H D) What we usually can calculate is: Assuming that this hypothesis is true, what is the probability of observing this data? or P(D H) Bayes theorem can help: P(H D)=P(D H) P(H)/P(D) The problem is P(H) (so called prior) is often not known
3 Bayes theorem (continued) Works best with exhaustive and mutually exclusive hypotheses: H 1, H 2, H n such that H 1 U H 2 U H 3 U H n =S and H i H j =ᴓ for i j P(H k D)=P(D H k ) P(H k )/P(D) P(H k ) is a prior of hypothesis k. But what is P(D)? P(D)= P(D H 1 ) + P(D H 2 )+ P(D H n )= = P(D H 1 ) P(H 1 ) + P(D H 2 ) P(H 2 ) + P(D H n ) P(H n )
4 An awesome new test has been invented for an early detection of cancer. The probability that it correctly identifies someone with cancer as positive is 95%, and the probability that it correctly identifies someone without cancer as negative is 99%. The incidence of this type of cancer in the general population is A random person in the population takes the test, and the result is positive. What is the probability that he/she has cancer? A. 99% B. 95% C. 30% D. 1% Get your i clickers 4
5 An awesome new test has been invented for an early detection of cancer. The probability that it correctly identifies someone with cancer as positive is 95%, and the probability that it correctly identifies someone without cancer as negative is 99%. The incidence of this type of cancer in the general population is A random person in the population takes the test, and the result is positive. What is the probability that he/she has cancer? A. 99% B. 95% C. 30% D. 1% Get your i clickers 5
6 Let s try to check if it makes sense Consider 1,000,000 people from the street Only 1e6*1e 4=100 will have this rare cancer 95 of them (95%) will be identified by the test Out of 1,000, ,000,000 people without cancer, 1% will get a false positive diagnosis That is 10,000 people!!! The probability that a random person has cancer if diagnosed is 95/(10,000+95) 1%
7
8
9
10
11
12
13 How come? We thought it was a great test.. Let C be the event that the patient has cancer; C patient is cancer free Y/N events that test is Positive/Negative (N=Y ) We know: P(C)=10 4, P(Y C)=0.95, P(N C )=0.99 We need to find P(C Y) Bayes to the rescue: P(C Y)=P(Y C)*P(C)/P(Y) What on earth is P(Y)???
14 What is P(Y)??? Likelihood that a random patient would test Y: P(Y)=P(Y C)+P(Y C )=P(Y C)P(C)+P(Y C )P(C )= 0.95*10 4 +(1 0.99)*( ) 0.01 Hence P(C Y)=P(Y C)*P(C)/P(Y) 10 4 /0.01=0.01=1% But we would like it to be 100%, please!!! Until the false positive discovery rate 1 P(N C ) does not fall below the general population prevalence the result will never be close 100%
15 What is the prior probability in this problem? A. P(C)=population incidence=10 4 B. P(Y)=probability of positive test 0.01 C. P(Y C)=probability pos. given cancer=0.95 D. P(CIY) =probability of cancer if pos E. I don t have a foggiest clue Get your i clickers 15
16 What is the prior probability in this problem? A. P(C)=population incidence=10 4 B. P(Y)=probability of positive test 0.01 C. P(Y C)=probability pos. given cancer=0.95 D. P(CIY) =probability of cancer if pos E. I don t have a foggiest clue Get your i clickers 16
17 What if I am already 50% sure (based on other tests) that a patient has cancer? That changes everything! Now P(C)=P(C )=0.5 P(C Y)=P(Y C)*P(C)/[P(Y C)*P(C)+ P(Y C )*P(C )]= 0.95*0.5/[0.95*0.5+(1 0.99)*0.5]=0.99 Now the doctor can be almost 100% sure. The importance of prior: If prior belief that one has cancer is 10 4 test is useless If prior belief is at least 1% the test is useful
18 (15 points) Prostate cancer is the most common type of cancer found in males. It is checked by PSA test that is notoriously unreliable. The probability that a noncancerous man will have an elevated PSA level is approximately 0.135, with this probability increasing to approximately if the man does have cancer. If, based on other factors, a physician is 70 percent certain that a male has prostate cancer, what is the conditional probabilitythathehasthecancergiventhatthetest indicates an elevated PSA level? A % B. 99% C. 82% D. 71% Get your i clickers 18
19 (15 points) Prostate cancer is the most common type of cancer found in males. It is checked by PSA test that is notoriously unreliable. The probability that a noncancerous man will have an elevated PSA level is approximately 0.135, with this probability increasing to approximately if the man does have cancer. If, based on other factors, a physician is 70 percent certain that a male has prostate cancer, what is the conditional probabilitythathehasthecancergiventhatthetest indicates an elevated PSA level? A % B. 99% C. 82% D. 71% Get your i clickers 19
20
21
22 All this trouble for a lousy 12% gain in confidence? I don t believe you! Let C be the event that the patient has cancer; C patient is cancer free, E events that the PSA test was elevated We know doctor s prior belief: P(C)=0.7 We know test stats: P(E C)=0.268, P(E C )=0.135 We need to find P(C E)=P(E C)*P(C)/P(E) P(E)=P(E C)*P(C)+P(E C )*P(C )= =0.268* *0.3=0.23 P(C E)=0.7*0.268/0.23=0.82=82%
23 What is wrong in this comics? If you are not yet reading XKCD comics you should start
24 Credit: XKCD comics
25 Conditional probabilities continued
26 Let s Make a Deal show with Monty Hall aired on NBC/ABC
27 Monty Hall problem In Monty Hall s game show Let s Make a Deal there are three closed doors. Behind a random one of these doors is a car. Behind two other doors are goats. Monty Hall knows behind which door is the car. After the contestant picks a door, Monty always opens one of the remaining doors with the goat. The contestant is always given the option to switch doors. Is it better to switch or to keep the door you picked? What is the probability of winning the car under switching and non switching strategies?
28 Monty Hall problem. What gives you better chances to win a car? A. Better to switch doors B. Better not to switch doors C. Switching does not matter D. It depends on the phase of the moon E. I don t know Get your i clickers 28
29 Don t feel bad if you guessed wrong When first presented with the Monty Hall problem an overwhelming majority of people assume that each door has an equal probability and conclude that switching does not matter Out of 228 subjects in one study, only 13% chose to switch Paul Erdős, one of the most famous mathematicians in history, remained unconvinced until he was shown a computer simulation confirming the predicted result Pigeons repeatedly exposed to the problem show that they rapidly learn always to switch, unlike humans
30 Solution #1 (intuitive) With Prob=1/3 you guessed the car door right: you loose the car if you switch you win the car if you don t switch With Prob=2/3 you got it wrong and picked a goat door. Then Monty opens another goat door. What is left is the car door. you win the car if you switch you loose the car if you don t switch Since 2/3 >1/3, on average it makes sense to switch
31 Solution #2. Tree & conditional probabilities
32 Solution #2. Tree & conditional probabilities
33 Matlab program skeleton %set Stats large... cars=0; carn=0; %counts successes of switch (cars) and not (carn) strategies. Initialize=0 for i = 1:Stats a = randperm(3); %Monty places two goats and the car at random %a(1) the door for goat #1, a(2) the door for goat #2, a(3) the door for car i= floor(3.*rand)+1; %you randomly select the door! % SWITCH STRATEGY if(i == a(1)) cars=cars+1; %a(2) opened, switch to a(3), car! elseif (i == a(2)) cars = cars + 1 ;%a(1) opened, switch to a(3), car! else cars = cars + 0; %a(1)/a(2) opened, switch to a(2)/a(1), no car! end % NO SWITCH STRATEGY if(i == a(1)) carn = carn +?? elseif (i==a(2)) carn = carn +?? else carn = carn +?? end; end; disp(cars); disp(carn);
34 Matlab program Stats=10000; %set Stats large... cars=0; carn=0; %counts successes of switch (cars) and not (carn) strategies. Initialize=0 for i = 1:Stats a = randperm(3); %Monty places two goats and the car at random %a(1) goat, a(2) goat, a(3) car i= floor(3.*rand)+1; %you select the door! % SWITCH STRATEGY if(i == a(1)) cars=cars+1; %a(2) opened, switch to a(3), car! elseif (i == a(2)) cars = cars + 1 ;%a(1) opened, switch to a(3), car! else cars = cars + 0; %a(1)/a(2) opened, switch to a(2)/a(1), no car! end; % NO SWITCH STRATEGY if(i == a(1)) carn = carn + 0; %a(2) opened, no car elseif (i==a(2)) carn = carn + 0; %a(1) opened, no car else carn = carn + 1; %a(1) or a(2) opened, car! end end; disp('probability to win a car if switched doors='); disp(num2str(cars./stats)); %# of cars with switching disp('probability to win a car if did not switch doors='); disp(num2str(carn./stats)); %# of cars w/o switching
35 Credit: XKCD comics
Lesson 87 Bayes Theorem
Lesson 87 Bayes Theorem HL2 Math - Santowski Bayes Theorem! Main theorem: Suppose we know We would like to use this information to find if possible. Discovered by Reverend Thomas Bayes 1 Bayes Theorem!
More informationA Review of Counterfactual thinking and the first instinct fallacy by Kruger, Wirtz, and Miller (2005)
A Review of Counterfactual thinking and the first instinct fallacy by Kruger, Wirtz, and Miller (2005) BY RICHARD THRIPP EXP 6506 UNIVERSITY OF CENTRAL FLORIDA NOVEMBER 5, 2015 What is counterfactual thinking?
More informationRed Cab, Blue Cab. Choose one answer from A, B, or C. A. I am comfortable that the answer is %.
Red Cab, Blue Cab You act for a pedestrian struck by a car in a hit and run accident. Your client cannot identify the car that hit him, but is sure that it was a taxicab. The only witness was an elderly
More informationFirst Problem Set: Answers, Discussion and Background
First Problem Set: Answers, Discussion and Background Part I. Intuition Concerning Probability Do these problems individually Answer the following questions based upon your intuitive understanding about
More information"PRINCIPLES OF PHYLOGENETICS: ECOLOGY AND EVOLUTION"
"PRINCIPLES OF PHYLOGENETICS: ECOLOGY AND EVOLUTION" Integrative Biology 200B University of California, Berkeley Lab for Jan 25, 2011, Introduction to Statistical Thinking A. Concepts: A way of making
More information# tablets AM probability PM probability
Ismor Fischer, 8/21/2008 Stat 541 / 3-34 3.5 Problems 3-1. In a certain population of males, the following longevity probabilities are determined. P(Live to age 60) = 0.90 P(Live to age 70, given live
More informationProbability: Judgment and Bayes Law. CSCI 5582, Fall 2007
Probability: Judgment and Bayes Law CSCI 5582, Fall 2007 Administrivia Problem Set 2 was sent out by email, and is up on the class website as well; due October 23 (hard copy for in-class students) To read
More informationReview: Conditional Probability. Using tests to improve decisions: Cutting scores & base rates
Review: Conditional Probability Using tests to improve decisions: & base rates Conditional probabilities arise when the probability of one thing [A] depends on the probability of something else [B] In
More informationNew York, Random House. 1 Brooks, D. (2011) The Social Animal: The Hidden Sources of Love, Character, and Achievement
The Role of Gut Instinct in Project Management Some months ago I had a debate with a colleague over an Earned Value Analysis derived project progress figure. My colleague thought that it was too low. We
More informationBayes Theorem Application: Estimating Outcomes in Terms of Probability
Bayes Theorem Application: Estimating Outcomes in Terms of Probability The better the estimates, the better the outcomes. It s true in engineering and in just about everything else. Decisions and judgments
More informationBayesian Inference. Review. Breast Cancer Screening. Breast Cancer Screening. Breast Cancer Screening
STAT 101 Dr. Kari Lock Morgan Review What is the deinition of the p- value? a) P(statistic as extreme as that observed if H 0 is true) b) P(H 0 is true if statistic as extreme as that observed) SETION
More informationEPIDEMIOLOGY REPORT WESTERN CAPE DEPARTMENT OF AGRICULTURE VETERINARY SERVICES. What is tested for in the National Residue Program?
EPIDEMIOLOGY REPORT Volume 1, Issue 3 December 2009 WESTERN CAPE DEPARTMENT OF AGRICULTURE VETERINARY SERVICES What is tested for in the National Residue Program? During the next few issues of the Epidemiology
More informationIntroductory Statistics Day 7. Conditional Probability
Introductory Statistics Day 7 Conditional Probability Activity 1: Risk Assessment In the book Gut Feelings, the author describes a study where he asked 24 doctors to estimate the following probability.
More informationUnderstanding Probability. From Randomness to Probability/ Probability Rules!
Understanding Probability From Randomness to Probability/ Probability Rules! What is chance? - Excerpt from War and Peace by Leo Tolstoy But what is chance? What is genius? The words chance and genius
More informationCPS331 Lecture: Coping with Uncertainty; Discussion of Dreyfus Reading
CPS331 Lecture: Coping with Uncertainty; Discussion of Dreyfus Reading Objectives: 1. To discuss ways of handling uncertainty (probability; Mycin CF) 2. To discuss Dreyfus views on expert systems Materials:
More informationUNLOCKING VALUE WITH DATA SCIENCE BAYES APPROACH: MAKING DATA WORK HARDER
UNLOCKING VALUE WITH DATA SCIENCE BAYES APPROACH: MAKING DATA WORK HARDER 2016 DELIVERING VALUE WITH DATA SCIENCE BAYES APPROACH - MAKING DATA WORK HARDER The Ipsos MORI Data Science team increasingly
More informationthe Guidelines Help Us? Visiting Surgeon Edward D. Churchill Professor of
Intervention for BAV Aortopathy: How Do the Guidelines Help Us? (or hurt?) Thoralf M. Sundt, MD Visiting Surgeon Edward D. Churchill Professor of Surgery Disclosures None relevant to this presentation
More informationCHAPTER 1. Statistics and Probability Are Not Intuitive. If something has a 50% chance of happening, then 9 times out of 10 it will.
CHAPTER 1 F Statistics and Probability Are Not Intuitive If something has a 50% chance of happening, then 9 times out of 10 it will. Yogi Berra The word intuitive has two meanings. One is easy to use and
More informationAddress : S. 27th Street, Suite 201 Franklin, Wisconsin, WebSite : https://www.patienttrak.net/review-site-monitoring
Address : - 7441 S. 27th Street, Suite 201 Franklin, Wisconsin,53132 Email ID : info@patienttra.net Phone No : 888-766-2862 WebSite : https://www.patienttrak.net/review-site-monitoring There are so many
More informationPsychological. Influences on Personal Probability. Chapter 17. Copyright 2005 Brooks/Cole, a division of Thomson Learning, Inc.
Psychological Chapter 17 Influences on Personal Probability Copyright 2005 Brooks/Cole, a division of Thomson Learning, Inc. 17.2 Equivalent Probabilities, Different Decisions Certainty Effect: people
More informationBayesian Analysis by Simulation
408 Resampling: The New Statistics CHAPTER 25 Bayesian Analysis by Simulation Simple Decision Problems Fundamental Problems In Statistical Practice Problems Based On Normal And Other Distributions Conclusion
More informationKnowledge is rarely absolutely certain. In expert systems we need a way to say that something is probably but not necessarily true.
CmSc310 Artificial Intelligence Expert Systems II 1. Reasoning under uncertainty Knowledge is rarely absolutely certain. In expert systems we need a way to say that something is probably but not necessarily
More information-electric sandwich press; desk lamp; stopwatch, transistor radio
Cognitive Dissonance and Choice Rationalization Background Cognitive dissonance theory says we tend to rationalize decisions that we make in order to, among other things, protect our self-concept. Brehm
More informationReasoning with Uncertainty. Reasoning with Uncertainty. Bayes Rule. Often, we want to reason from observable information to unobservable information
Reasoning with Uncertainty Reasoning with Uncertainty Often, we want to reason from observable information to unobservable information We want to calculate how our prior beliefs change given new available
More informationChapter 3. Conditional Probability and Independence
Chapter 3. Conditional Probability and Independence Section 3.1. Conditional Probability Section 3.2 Independence Jiaping Wang Department of Mathematical Science 01/28/2013, Monday Outline Why Conditional
More informationREGION 9 ASSEMBLY 2013 ABSTINENCE WORKSHOP REPORT
APPENDIX J Group Let's look more closely - What do you understand from refrain What does compulsive food behaviors means to you What does the word obsession mean to you What does the word compulsion mean
More informationThe Monty Hall Dilemma Revisited: Understanding the Interaction of. Problem Definition and Decision Making
Monty Hall Dilemma Revisited 1 The Monty Hall Dilemma Revisited: Understanding the Interaction of Problem Definition and Decision Making Peter R. Mueser Department of Economics University of Missouri-Columbia
More informationSTAT 200. Guided Exercise 4
STAT 200 Guided Exercise 4 1. Let s Revisit this Problem. Fill in the table again. Diagnostic tests are not infallible. We often express a fale positive and a false negative with any test. There are further
More informationMath HL Chapter 12 Probability
Math HL Chapter 12 Probability Name: Read the notes and fill in any blanks. Work through the ALL of the examples. Self-Check your own progress by rating where you are. # Learning Targets Lesson I have
More informationUNIVERSIDAD DEL CEMA Buenos Aires Argentina. Serie DOCUMENTOS DE TRABAJO. Área: Probabilidades y Filosofía. Sleeping Beauty on Monty Hall
UNIVERSIDAD DEL CEMA Buenos Aires Argentina Serie DOCUMENTOS DE TRABAJO Área: Probabilidades y Filosofía Sleeping Beauty on Monty Hall Michel Janssen y Sergio Pernice Mayo 2016 Nro. 587 www.cema.edu.ar/publicaciones/doc_trabajo.html
More informationMITOCW conditional_probability
MITOCW conditional_probability You've tested positive for a rare and deadly cancer that afflicts 1 out of 1000 people, based on a test that is 99% accurate. What are the chances that you actually have
More informationChapter 8: Two Dichotomous Variables
Chapter 8: Two Dichotomous Variables On the surface, the topic of this chapter seems similar to what we studied in Chapter 7. There are some subtle, yet important, differences. As in Chapter 5, we have
More informationProbability and Random Processes ECS 315
Probability and Random Processes ECS 315 Asst. Prof. Dr. Prapun Suksompong prapun@siit.tu.ac.th 6.1 Conditional Probability 1 Office Hours: BKD, 6th floor of Sirindhralai building Tuesday 9:00-10:00 Wednesday
More informationControlling Worries and Habits
THINK GOOD FEEL GOOD Controlling Worries and Habits We often have obsessional thoughts that go round and round in our heads. Sometimes these thoughts keep happening and are about worrying things like germs,
More informationRepresentativeness heuristics
Representativeness heuristics 1-1 People judge probabilities by the degree to which A is representative of B, that is, by the degree to which A resembles B. A can be sample and B a population, or A can
More informationIntro to Probability Instructor: Alexandre Bouchard
www.stat.ubc.ca/~bouchard/courses/stat302-sp2017-18/ Intro to Probability Instructor: Alexandre Bouchard Plan for today: Bayesian inference 101 Decision diagram for non equally weighted problems Bayes
More informationEPIDEMIOLOGY REPORT. Buffer Zones. Disease reporting Outbreaks vs. Cases
EPIDEMIOLOGY REPORT Volume 1, Issue November 009 WESTERN CAPE DEPARTMENT OF AGRICULTURE VETERINARY SERVICES Buffer Zones Buffer zones are calculated around any disease outbreak which, according to legislation,
More informationSection 6.1 "Basic Concepts of Probability and Counting" Outcome: The result of a single trial in a probability experiment
Section 6.1 "Basic Concepts of Probability and Counting" Probability Experiment: An action, or trial, through which specific results are obtained Outcome: The result of a single trial in a probability
More informationLearning. My Treatment
8 BOOKLET EIGHT Learning about My Treatment can befun Why is this booklet important? We need to keep up with the latest information on HIV and treatment, if we are to help ourselves fight our illness
More informationStatistics. Dr. Carmen Bruni. October 12th, Centre for Education in Mathematics and Computing University of Waterloo
Statistics Dr. Carmen Bruni Centre for Education in Mathematics and Computing University of Waterloo http://cemc.uwaterloo.ca October 12th, 2016 Quote There are three types of lies: Quote Quote There are
More informationProbability. Esra Akdeniz. February 26, 2016
Probability Esra Akdeniz February 26, 2016 Terminology An experiment is any action or process whose outcome is subject to uncertainty. Example: Toss a coin, roll a die. The sample space of an experiment
More informationActor-Observer Bias One of the most established phenomenon in social psychology YOUR behavior is attributed to OTHER S behavior is attributed to
1 The Self in Social Psychology Disclaimer: there are many class demonstrations not included in the notes (to prevent ruining them); if you miss this lecture, you should get the notes from someone in the
More informationME Project Handouts Weeks 1-6
ME Project Handouts Weeks 1-6 Note: This document is formatted so that the two-page handouts are double-side. In order to print this document correctly, please make sure that your printer is set to print
More informationQuantitative Biology Lecture 1 (Introduction + Probability)
21 st Sep 2015 Quantitative Biology Lecture 1 (Introduction + Probability) Gurinder Singh Mickey Atwal Center for Quantitative Biology Why Quantitative Biology? (1. Models) Galileo Galilei The Book of
More informationFinding Good Diagnosis Studies
Finding Good Diagnosis Studies n MESH Term Sensitivity and Specificity n Sensitivity prob that someone with disease will test positive (Pr [+ D]) true positive n Specificity prob that someone without the
More informationPigeons, Humans, and the Monty Hall Dilemma
Pigeons, Humans, and the Monty Hall Dilemma Current Directions in Psychological Science XX(X) 1 5 The Author(s) 2012 Reprints and permission: sagepub.com/journalspermissions.nav DOI: 10.1177/0963721412453585
More informationGetting to Yes. Getting to Yes: Negotiating Agreement Without Giving In - April 30, 1992
Getting to Yes Getting to Yes: Negotiating Agreement Without Giving In - April 30, 1992 by William L. Ury, Roger Fisher, Bruce M. Patton Don t Bargain over positions: Principled negotiation as an alternative
More informationLife in Recovery Coast
In service to Narcotics Anonymous in Pasco County, Florida including Holiday, Hudson, New Port Richey and Port Richey Narcotics Anonymous Volume 1, Issue 3 May - June 2011 SEARCHING Frank W., Clean Date:
More informationRisk Aversion in Games of Chance
Risk Aversion in Games of Chance Imagine the following scenario: Someone asks you to play a game and you are given $5,000 to begin. A ball is drawn from a bin containing 39 balls each numbered 1-39 and
More informationPHP2500: Introduction to Biostatistics. Lecture III: Introduction to Probability
PHP2500: Introduction to Biostatistics Lecture III: Introduction to Probability 1 . 2 Example: 40% of adults aged 40-74 in Rhode Island have pre-diabetes, a condition that raises the risk of type 2 diabetes,
More information2018 Oxford University Press
PA RT A Introducing Statistics mot43560_ch01_001-013.indd 1 CHAPTER 1 Statistics and Probability Are Not Intuitive If something has a 50% chance of happening, then 9 times out of 10 it will. Y OGI B ERRA
More informationProblem Set 2: Computer Psychiatrist
Due Friday, March 3 Computer Science (1)21b (Spring Term, 2017) Structure and Interpretation of Computer Programs Problem Set 2: Computer Psychiatrist Reading Assignment: Chapter 2, Sections 2.1, 2.2.
More informationDiagnostic Reasoning: Approach to Clinical Diagnosis Based on Bayes Theorem
CHAPTER 75 Diagnostic Reasoning: Approach to Clinical Diagnosis Based on Bayes Theorem A. Mohan, K. Srihasam, S.K. Sharma Introduction Doctors caring for patients in their everyday clinical practice are
More informationChapter 1: Thinking critically with. Introduction
Chapter 1: Thinking critically with psychological science Introduction Fact or Falsehood 1. Human intuition is remarkable accurate and free from error. 2. Most people seem to lack confidence in the accuracy
More informationTeaching Statistics with Coins and Playing Cards Going Beyond Probabilities
Teaching Statistics with Coins and Playing Cards Going Beyond Probabilities Authors Chris Malone (cmalone@winona.edu), Dept. of Mathematics and Statistics, Winona State University Tisha Hooks (thooks@winona.edu),
More informationCentral Algorithmic Techniques. Iterative Algorithms
Central Algorithmic Techniques Iterative Algorithms Code Representation of an Algorithm class InsertionSortAlgorithm extends SortAlgorithm { void sort(int a[]) throws Exception { for (int i = 1; i < a.length;
More informationIntroduction. We can make a prediction about Y i based on X i by setting a threshold value T, and predicting Y i = 1 when X i > T.
Diagnostic Tests 1 Introduction Suppose we have a quantitative measurement X i on experimental or observed units i = 1,..., n, and a characteristic Y i = 0 or Y i = 1 (e.g. case/control status). The measurement
More informationIntentional Action and Side Effects in Ordinary Language. The chairman of the board of a company has decided to implement
Intentional Action and Side Effects in Ordinary Language JOSHUA KNOBE Knobe, J. (2003). Intentional Action and Side Effects in Ordinary Language. Analysis, 63, 190-193. The chairman of the board of a company
More informationBayes theorem describes the probability of an event, based on prior knowledge of conditions that might be related to the event.
Bayes theorem Bayes' Theorem is a theorem of probability theory originally stated by the Reverend Thomas Bayes. It can be seen as a way of understanding how the probability that a theory is true is affected
More informationReasoning about probabilities (cont.); Correlational studies of differences between means
Reasoning about probabilities (cont.); Correlational studies of differences between means Phil 12: Logic and Decision Making Fall 2010 UC San Diego 10/29/2010 Review You have found a correlation in a sample
More informationLecture 9 Internal Validity
Lecture 9 Internal Validity Objectives Internal Validity Threats to Internal Validity Causality Bayesian Networks Internal validity The extent to which the hypothesized relationship between 2 or more variables
More informationLecture 2: Learning and Equilibrium Extensive-Form Games
Lecture 2: Learning and Equilibrium Extensive-Form Games III. Nash Equilibrium in Extensive Form Games IV. Self-Confirming Equilibrium and Passive Learning V. Learning Off-path Play D. Fudenberg Marshall
More informationIntroduction Stanovich, Chapter 1
Introduction Stanovich, Chapter 1 A. Exercises 1. Write a brief characterization of each of the following professionals: A. Psychologist B. Astrologist C. Scientist 2. List the most interesting psychologist
More informationDiscrete Probability Distributions Geometric and Negative Binomial illustrated by Mitochondrial Eve and Cancer Driver/Passenger Genes
Discrete Probability Distributions Geometric and Negative Binomial illustrated by Mitochondrial Eve and Cancer Driver/Passenger Genes Binomial Distribution Number of successes in n independent Bernoulli
More informationA gallery of useful discrete probability distributions
A gallery of useful discrete probability distributions Geometric Distribution A series of Bernoulli trials with probability of success =p. continued until the first success. X is the number of trials.
More informationHow to Do Experiments
How to Do Experiments Goals Understand and discuss hypothesis testing Discuss random variables, statistical significance, and statistical regression Design an experiment as a class Testing a Hypothesis
More informationAttention and Concentration Problems Following Traumatic Brain Injury. Patient Information Booklet. Talis Consulting Limited
Attention and Concentration Problems Following Traumatic Brain Injury Patient Information Booklet Talis Consulting Limited What are Attention and Concentration? Attention and concentration are two skills
More informationProbability: Psychological Influences and Flawed Intuitive Judgments
Announcements: Discussion this week is for credit. Only one more after this one. Three are required. Chapter 8 practice problems are posted. Homework is on clickable page on website, in the list of assignments,
More informationBeattie Learning Disabilities Continued Part 2 - Transcript
Beattie Learning Disabilities Continued Part 2 - Transcript In class Tuesday we introduced learning disabilities and looked at a couple of different activities that are consistent and representative of
More informationObstacle- something that obstructs or hinders progress or action.
Obstacle- something that obstructs or hinders progress or action. Notice that there are two main ways that an obstacle gets in the way of progress. The first is that an obstacle may obstruct progress.
More informationAnxiety. Top ten fears. Glossophobia fear of speaking in public or of trying to speak
Glossophobia fear of speaking in public or of trying to speak Forget heights and sharks. Public speaking often makes it to the top of the Top Fears List, higher even than death. Think about that. That
More informationProbability and Sample space
Probability and Sample space We call a phenomenon random if individual outcomes are uncertain but there is a regular distribution of outcomes in a large number of repetitions. The probability of any outcome
More informationChapter 1. Dysfunctional Behavioral Cycles
Chapter 1. Dysfunctional Behavioral Cycles For most people, the things they do their behavior are predictable. We can pretty much guess what someone is going to do in a similar situation in the future
More informationTesting models with models: The case of game theory. Kevin J.S. Zollman
Testing models with models: The case of game theory Kevin J.S. Zollman Traditional picture 1) Find a phenomenon 2) Build a model 3) Analyze the model 4) Test the model against data What is game theory?
More informationWhen Intuition. Differs from Relative Frequency. Chapter 18. Copyright 2005 Brooks/Cole, a division of Thomson Learning, Inc.
When Intuition Chapter 18 Differs from Relative Frequency Copyright 2005 Brooks/Cole, a division of Thomson Learning, Inc. Thought Question 1: Do you think it likely that anyone will ever win a state lottery
More informationStudent Performance Q&A:
Student Performance Q&A: 2009 AP Statistics Free-Response Questions The following comments on the 2009 free-response questions for AP Statistics were written by the Chief Reader, Christine Franklin of
More informationGifts in Wills How to support Prostate Cancer UK
Gifts in Wills How to support Prostate Cancer UK Thank you for considering including a gift in your Will to Prostate Cancer UK. With your support we can get even closer to beating prostate cancer. We have
More informationClever Hans the horse could do simple math and spell out the answers to simple questions. He wasn t always correct, but he was most of the time.
Clever Hans the horse could do simple math and spell out the answers to simple questions. He wasn t always correct, but he was most of the time. While a team of scientists, veterinarians, zoologists and
More informationCS 520: Assignment 3 - Probabilistic Search (and Destroy)
CS 520: Assignment 3 - Probabilistic Search (and Destroy) Raj Sundhar Ravichandran, Justin Chou, Vatsal Parikh November 20, 2017 Source Code and Contributions Git Repository: https://github.com/rsundhar247/ai-bayesiansearch
More informationMovember and Men s Health:
Movember and Men s Health: What You Should Know! By: Jordan Rivera & Yona Lunsky With Movember here, some of you will be growing out your moustaches to raise awareness about men s health issues including
More informationThe Wellbeing Course. Resource: Mental Skills. The Wellbeing Course was written by Professor Nick Titov and Dr Blake Dear
The Wellbeing Course Resource: Mental Skills The Wellbeing Course was written by Professor Nick Titov and Dr Blake Dear About Mental Skills This resource introduces three mental skills which people find
More informationThe Human Side of Science: I ll Take That Bet! Balancing Risk and Benefit. Uncertainty, Risk and Probability: Fundamental Definitions and Concepts
The Human Side of Science: I ll Take That Bet! Balancing Risk and Benefit Uncertainty, Risk and Probability: Fundamental Definitions and Concepts What Is Uncertainty? A state of having limited knowledge
More informationStat 111 Final. 1. What are the null and alternative hypotheses for Alex and Sarah having the same mean lap time?
Stat 111 Final Question 1 Alex and Sarah enjoy riding their bikes around Valley Forge park. Alex rode 25 laps, averaging 40 minutes with a standard deviation of 5 minutes, and Sarah rode 36 laps, averaging
More informationBehavioral Game Theory
School of Computer Science, McGill University March 4, 2011 1 2 3 4 5 Outline Nash equilibria One-shot games 1 2 3 4 5 I Nash equilibria One-shot games Definition: A study of actual individual s behaviors
More informationMS&E 226: Small Data
MS&E 226: Small Data Lecture 10: Introduction to inference (v2) Ramesh Johari ramesh.johari@stanford.edu 1 / 17 What is inference? 2 / 17 Where did our data come from? Recall our sample is: Y, the vector
More informationWellness along the Cancer Journey: Palliative Care Revised October 2015
Wellness along the Cancer Journey: Palliative Care Revised October 2015 Chapter 2: Palliative Care Palliative Care Rev. 10.8.15 Page 352 Group Discussion True False Not Sure 1. Palliative care is only
More informationEssential Question: How do we incorporate good experimental design in investigations? Experiments
Essential Question: How do we incorporate good experimental design in investigations? Experiments Objectives Distinguish between good and poor experimental design. Identify independent, dependent, and
More informationRunning head: How large denominators are leading to large errors 1
Running head: How large denominators are leading to large errors 1 How large denominators are leading to large errors Nathan Thomas Kent State University How large denominators are leading to large errors
More informationTHEORIES OF PERSONALITY II
THEORIES OF PERSONALITY II THEORIES OF PERSONALITY II Learning Theory SESSION 8 2014 [Type the abstract of the document here. The abstract is typically a short summary of the contents of the document.
More informationKodu Lesson 2: Color Filters with Pursue and Consume
Kodu Lesson 2: Color Filters with Pursue and Consume David S. Touretzky Version of June 7, 2016 Learning Goals Review of the Pursue and Consume idiom. Using a color filter with see and bumped. The grab
More informationWhy do some men cheat? (includes the CHEAT Test)
Why do some men cheat? (includes the CHEAT Test) What is being asked by the question "Why do some men cheat?" I often warn people to be careful what you are asking for. The reason is that people often
More informationInformation on ADHD for Children, Question and Answer - long version
Information on ADHD for Children, Question and Answer - long version What is Attention Deficit Hyperactivity Disorder or ADHD? People with ADHD have brains that may function a little differently in some
More informationPROBABILITY THEORY Did you hear the one about the statistician? Probably...
Probability Definition: PROBABILITY THEORY Did you hear the one about the statistician? Probably... Probability may be expressed as: a fraction a proportion a percentage Probability is measured from 0-1:
More informationSTAT 100 Exam 2 Solutions (75 points) Spring 2016
STAT 100 Exam 2 Solutions (75 points) Spring 2016 1. In the 1970s, the U.S. government sued a particular school district on the grounds that the district had discriminated against black persons in its
More informationWhat s your score? 350M 11/13 (DG3)
What s your score? Did you answer YES four or more times? If so, you are probably in trouble with alcohol. Why do we say this? Because thousands of people in A.A. have said so for many years. They found
More informationAppendix: Instructions for Treatment Index B (Human Opponents, With Recommendations)
Appendix: Instructions for Treatment Index B (Human Opponents, With Recommendations) This is an experiment in the economics of strategic decision making. Various agencies have provided funds for this research.
More informationTake new look emotions we see as negative may be our best friends (opposite to the script!)
Tony Robbins - emotions Take new look emotions we see as negative may be our best friends (opposite to the script!) How do people deal? 1. They avoid them try not to feel them. a. Rejection 2. I ll endure
More informationProblem Situation Form for Parents
Problem Situation Form for Parents Please complete a form for each situation you notice causes your child social anxiety. 1. WHAT WAS THE SITUATION? Please describe what happened. Provide enough information
More informationSupplementary notes for lecture 8: Computational modeling of cognitive development
Supplementary notes for lecture 8: Computational modeling of cognitive development Slide 1 Why computational modeling is important for studying cognitive development. Let s think about how to study the
More informationModeling State Space Search Technique for a Real World Adversarial Problem Solving
Modeling State Space Search Technique for a Real World Adversarial Problem Solving Kester O. OMOREGIE Computer Science Department, Auchi Polytechnic, Auchi, NIGERIA Stella C. CHIEMEKE Computer Science
More information