BAYESIAN STATISTICAL CONCEPTS

Similar documents
Probability is the likelihood that an event will occur.

Fundamentals of Probability

Before giving a formal definition of probability, we explain some terms related to probability.

CHAPTER 6 PROBABILITY. Chapter 5 introduced the concepts of z scores and the normal curve. This chapter takes

Functional Skills Mathematics

Probability: introduction

Math 1313 Section 6.2 Definition of Probability

Foundations to Algebra In Class: Investigating Probability

Most of the time we deal with theoretical probability. Experimental probability uses actual data that has been collected.

Lesson 3 Dependent and Independent Events

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. B) Blood type Frequency

Conditional Probability Worksheet

2.5 Sample Spaces Having Equally Likely Outcomes

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

10.1 Applying the Counting Principle and Permutations (helps you count up the number of possibilities!)

Moore, IPS 6e Chapter 05

Conditional Probability Worksheet

Intermediate Math Circles November 1, 2017 Probability I

Classical vs. Empirical Probability Activity

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Chapter 4: Probability and Counting Rules

This Probability Packet Belongs to:

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College

Independent and Mutually Exclusive Events

GAMBLING ( ) Name: Partners: everyone else in the class

Chapter 2. Games of Chance. A short questionnaire part 1

Name Instructor: Uli Walther

Fair Game Review. Chapter 9. Simplify the fraction

Probability - Introduction Chapter 3, part 1

Lecture 21/Chapter 18 When Intuition Differs from Relative Frequency

1) What is the total area under the curve? 1) 2) What is the mean of the distribution? 2)

MATH STUDENT BOOK. 7th Grade Unit 6

Probability - Grade 10 *

Presentation by Toy Designers: Max Ashley

MAT Midterm Review

4.1 Sample Spaces and Events

Fall 2017 March 13, Written Homework 4

Chapter 1: Sets and Probability

STAT Statistics I Midterm Exam One. Good Luck!

out one marble and then a second marble without replacing the first. What is the probability that both marbles will be white?

2 Event is equally likely to occur or not occur. When all outcomes are equally likely, the theoretical probability that an event A will occur is:

Presentation Notes. Frozen suits


Grade 8 Math Assignment: Probability

WSMA Compound Probability Lesson 10. The combined likelihood of multiple events is called compound probability.

c. If you roll the die six times what are your chances of getting at least one d. roll.

(a) Suppose you flip a coin and roll a die. Are the events obtain a head and roll a 5 dependent or independent events?

Empirical (or statistical) probability) is based on. The empirical probability of an event E is the frequency of event E.

There is no class tomorrow! Have a good weekend! Scores will be posted in Compass early Friday morning J

Content Page. Odds about Card Distribution P Strategies in defending

Item Description - MC Phi - Please note: any activity that is not completed during class time may be set for homework or undertaken at a later date.

Business Statistics. Chapter 4 Using Probability and Probability Distributions QMIS 120. Dr. Mohammad Zainal

0-5 Adding Probabilities. 1. CARNIVAL GAMES A spinner has sections of equal size. The table shows the results of several spins.

Math 227 Elementary Statistics. Bluman 5 th edition

Probability. Dr. Zhang Fordham Univ.

PROBABILITY Case of cards

I. WHAT IS PROBABILITY?

Probability. Sometimes we know that an event cannot happen, for example, we cannot fly to the sun. We say the event is impossible

Basic Concepts * David Lane. 1 Probability of a Single Event

{ a, b }, { a, c }, { b, c }

RANDOM EXPERIMENTS AND EVENTS

MATH 1115, Mathematics for Commerce WINTER 2011 Toby Kenney Homework Sheet 6 Model Solutions

Key Concepts. Theoretical Probability. Terminology. Lesson 11-1

Unit 7 Central Tendency and Probability

1. An office building contains 27 floors and has 37 offices on each floor. How many offices are in the building?

CMS.608 / CMS.864 Game Design Spring 2008

PRE TEST KEY. Math in a Cultural Context*

Mathematics 'A' level Module MS1: Statistics 1. Probability. The aims of this lesson are to enable you to. calculate and understand probability

PROBABILITY. 1. Introduction. Candidates should able to:

Math 166: Topics in Contemporary Mathematics II

7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count

Beginnings of Probability I

Name: Class: Date: Ver: 2

APPENDIX 2.3: RULES OF PROBABILITY

, x {1, 2, k}, where k > 0. (a) Write down P(X = 2). (1) (b) Show that k = 3. (4) Find E(X). (2) (Total 7 marks)

Page 1 of 22. Website: Mobile:

Section 5.4 Permutations and Combinations

1. How many subsets are there for the set of cards in a standard playing card deck? How many subsets are there of size 8?

Section 7.3 and 7.4 Probability of Independent Events

LET S PLAY PONTOON. Pontoon also offers many unique payouts as well as a Super Bonus of up to $5000 on certain hands.

Probability --QUESTIONS-- Principles of Math 12 - Probability Practice Exam 1

Probability Test Review Math 2. a. What is? b. What is? c. ( ) d. ( )

Textbook: pp Chapter 2: Probability Concepts and Applications

Questions #1 - #10 From Facebook Page A Teacher First

Section 5.4 Permutations and Combinations

Probability CK-12. Say Thanks to the Authors Click (No sign in required)

Dependence. Math Circle. October 15, 2016

Activity 1: Play comparison games involving fractions, decimals and/or integers.

Normal Distribution Lecture Notes Continued

Introduction to probability

COMPOUND EVENTS. Judo Math Inc.

Chapter Test Form A. mean median mode. 187 Holt Algebra 1. Name Date Class. Select the best answer.

AP Statistics Ch In-Class Practice (Probability)

Mutually Exclusive Events Algebra 1

Section 7.1 Experiments, Sample Spaces, and Events

Chapter 3: PROBABILITY

Date. Probability. Chapter

Probability. The Bag Model

Large scale kinship:familial Searching and DVI. Seoul, ISFG workshop

Unit 1B-Modelling with Statistics. By: Niha, Julia, Jankhna, and Prerana

Transcription:

BAYESIAN STATISTICAL CONCEPTS A gentle introduction Alex Etz @alxetz ß Twitter (no e in alex) alexanderetz.com ß Blog November 5 th 2015

Why do we do statistics? Deal with uncertainty Will it rain today? How much? When will my train arrive? Describe phenomena It rained 4cm today My arrived between at 1605 Make predictions It will rain between 3-8 cm today My train will arrive between 1600 and 1615

Prediction is key Description is boring Description: On this IQ test, these women averaged 3 points higher than these men Prediction is interesting Prediction: On this IQ test, the average woman will score above the average man Quantitative (precise) prediction is gold Quantitative prediction: On this IQ test, women will score between 1-3 pts higher than men

Evidence is prediction Not just prediction in isolation Competing prediction Statistical evidence is comparative

Candy bags 5 orange, 5 blue 10 blue

Candy bags I propose a game Draw a candy from one of the bags You guess which one it came from After each draw (up to 6) you can bet (if you want)

Candy bags If orange Bag A predicts orange with probability.5 Bag B predicts orange with probability 0 Given orange, there is evidence for A over B How much? Infinity Why? Outcome is impossible for bag B, yet happened Therefore, it cannot be bag B

Candy bags If blue Bag A predicts blue with probability.5 (5 out of 10) Bag B predicts blue with probability 1.0 (10 out of 10) Cannot rule out either bag Given blue, there is evidence for B over A How much? Ratio of their predictions 1.0 divided by.5 = 2 per draw

Evidence is prediction There is evidence for A over B if: Prob. of observations given by A exceeds that given by B Strength of the evidence for A over B: The ratio of the probabilities (very simple!) This is true for all of Bayesian statistics More complicated math, but same basic idea This is not true of classical statistics

Candy bag and a deck of cards Same game, 1 extra step I draw one card from a deck Red suit (Heart, Diamond) I draw from bag A Black suit (Spade, Club) I draw from bag B Based on the card, draw a candy from one of the bags You guess which one it came from After each draw (up to 6) you can bet (if you want)

Candy bags and a deck of cards If orange, it came from bag A 100%. Game ends If blue Both bags had 50% chance of being selected Bag A predicts blue with probability.5 (5 out of 10) Bag B predicts blue with probability 1.0 (10 out of 10) Evidence for B over A How much? Ratio of their predictions 1.0 divided by.5 = 2 per blue draw

Candy bags and a deck of cards Did I add any information by drawing a card? Did it affect your bet at all? If the prior information doesn t affect your conclusion, it adds no information to the evidence Non-informative

Candy bags and a deck of cards Same game, 1 extra step I draw one card from a deck King of hearts I draw from bag B Any other card I draw from bag A I draw a ball from one of the bags You guess which one it came from After each draw (up to 6) you can bet

Candy bags and a deck of cards Did I add any information by drawing a card? Did it affect your bet at all? Observations (evidence) the same But conclusions can differ Evidence is separate from conclusions

Betting on the odds The 1 euro bet If orange draw Bet on bag A, you win 100% We have ruled out bag B If blue draw Bet on bag A, chance you win is x% Bet on bag B, chance you win is (1-x)%

Betting on the odds Depends on: Evidence from sample (candies drawn) Other information (card drawn, etc.) A study only provides the evidence contained in the sample You must provide the outside information Is the hypothesis initially implausible? Is this surprising? Expected?

Betting on the odds If initially fair odds (Draw red suit vs. black suit) Same as adding no information Conclusion based only on evidence For 1 blue draw Initial (prior) odds 1 to 1 Evidence 2 to 1 in favor of bag B Final (posterior) odds 2 to 1 in favor of bag B Probability of bag B = 67%

Betting on the odds If initially fair odds (Draw red suit vs. black suit) Same as adding no information Conclusion based only on evidence For 6 blue draws Initial (prior) odds 1 to 1 Evidence 64 to 1 in favor of bag B Final (posterior) odds 64 to 1 in favor of bag B Probability of bag B = 98%

Betting on the odds If initially unfair odds (Draw King of Hearts vs. any other card) Adding relevant outside information Conclusion based on evidence combined with outside information For 1 blue draw Initial (prior) odds 1 to 51 in favor of bag A Evidence 2 to 1 in favor of bag B Final (posterior) odds 1 to 26 in favor of bag A Probability of bag B = 4%

Betting on the odds If initially unfair odds (Draw King of Hearts vs. any other card) Adding relevant outside information Conclusion based on evidence combined with outside information For 6 blue draws Initial (prior) odds 1 to 51 in favor of bag A Evidence 64 to 1 in favor of bag B Final (posterior) odds 1.3 to 1 in favor of bag B Probability of bag B = 55%

Betting on the odds The evidence was the same 2 to 1 in favor of B (1 blue draw) 64 to 1 in favor of B (6 blue draws) Outside information changed conclusion Fair initial odds Initial prob. of bag B = 50% Final prob. of bag B = 67% (98%) Unfair initial odds Initial prob. of bag B = 2% Final prob. of bag B = 4% (55%)

Should you take the bet? If I offer you a 1 euro bet: Bet on the bag that has the highest probability For other bets, decide based on final odds

Evidence is comparative What if I had many more candy bag options?

Graphing the evidence What if I wanted to compare every possible option at once? Graph it!

Graphing the evidence (1 blue)

Graphing the evidence (1 blue)

Graphing the evidence (6 blue)

Graphing the evidence (6 blue)

Graphing the evidence This is called a Likelihood function Ranks probability of the observations for all possible candy bag proportions Evidence is the ratio of heights on the curve A above B, evidence for A over B

Graphing the evidence Where does prior information enter? Prior rankings for each possibility Just as it did before But now as a prior distribution

Prior information Non-informative prior information All possibilities ranked equally i.e. no value preferred over another Weak prior information; vague knowledge The bag has some blue candy, but not all blue candy After Halloween, for example Saw some blue candy given out, but also other candies Strong prior information Proportion of women in the population is between 40% and 60%

Non-informative No preference for any values

Weakly-informative Some blue candy, but not all

Strongly-informative Only middle values have any weight

Information and context Your prior information depends on context! And depends on what you know! Just like drawing cards in the game Just harder to specify Intuitive, personal Conclusions must take context into account