Introductory Probability

Size: px
Start display at page:

Download "Introductory Probability"

Transcription

1 Introductory Probability Conditional Probability: Bayes Probabilities Nicholas Nguyen Department of Mathematics UK

2 Agenda Computing Bayes Probabilities Conditional Probability and Independence on the Real Line Announcement: The fth homework is due this Saturday. There is a quiz this Friday.

3 Reminder The conditional probability that F occurs given that E occurs is P(F E) = P(E F ), P(E) so P(E F ) = P(F E) P(E).

4 Three Dice We have a choice of 3 fair dice, with 4, 8, and 10 sides. A two-stage experiment consists of picking a die, and rolling it. Let D record the die chosen (4, 8, or 10 sided) and R record the roll (1-10). Suppose P(D = 4) = P(D = 8) = P(D = 10) = 1/3, and given an n-sided die, for any natural number j, { 1/n, j n P(R = j D = n) = 0, j > n. Let us nd P(D = 8 R = 5) = P(D = 8 and R = 5). P(R = 5)

5 Three Dice We have a choice of 3 fair dice, with 4, 8, and 10 sides. A two-stage experiment consists of picking a die, and rolling it. Let D record the die chosen (4, 8, or 10 sided) and R record the roll (1-10). Suppose P(D = 4) = P(D = 8) = P(D = 10) = 1/3, and given an n-sided die, for any natural number j, { 1/n, j n P(R = j D = n) = 0, j > n. Let us nd P(D = 8 R = 5) = P(D = 8 and R = 5). P(R = 5)

6 Three Dice We have a choice of 3 fair dice, with 4, 8, and 10 sides. A two-stage experiment consists of picking a die, and rolling it. Let D record the die chosen (4, 8, or 10 sided) and R record the roll (1-10). Suppose P(D = 4) = P(D = 8) = P(D = 10) = 1/3, and given an n-sided die, for any natural number j, { 1/n, j n P(R = j D = n) = 0, j > n. Let us nd P(D = 8 R = 5)= P(D = 8 and R = 5). P(R = 5)

7 Three Dice We have a choice of 3 fair dice, with 4, 8, and 10 sides. A two-stage experiment consists of picking a die, and rolling it. Let D record the die chosen (4, 8, or 10 sided) and R record the roll (1-10). Suppose P(D = 4) = P(D = 8) = P(D = 10) = 1/3, and given an n-sided die, for any natural number j, { 1/n, j n P(R = j D = n) = 0, j > n. Let us nd P(D = 8 R = 5) = P(D = 8 and R = 5). P(R = 5)

8 We have a choice of 3 fair dice, with 4, 8, and 10 sides. A two-stage experiment consists of picking a die, and rolling it. Let D record the die chosen (4, 8, or 10 sided) and R record the roll (1-10). Suppose P(D = 4) = P(D = 8) = P(D = 10) = 1/3, and given an n-sided die, for any natural number j, { 1/n, j n P(R = j D = n) = 0, j > n. Let us nd P(D = 8 R = 5) = P(D = 8 and R = 5). P(R = 5) Find P(R = 5) using cases based on the die picked: add up probabilities for picking die D AND rolling R = 5.

9 Cases Details If we roll a 5, then either: we picked the 4-sided die and rolled a 5 on it, or we picked the 8-sided die and rolled a 5 on it, or we picked the 10-sided die and rolled a 5 on it. Hence P(R = 5) = P(D = 4 and R = 5) + P(D = 8 and R = 5) + P(D = 10 and R = 5) = P(D = n and R = 5) n=4,8,10

10 Let D record the die chosen (4, 8, or 10 sided) and R record the roll (1-10). Suppose P(D = 4) = P(D = 8) = P(D = 10) = 1/3, and given an n-sided die, for any natural number j, { 1/n, j n P(R = j D = n) = 0, j > n. Let us nd P(D = 8 R = 5) = P(D = 8 and R = 5). P(R = 5) Find P(R = 5) using cases based on the die picked: add up probabilities for picking die D AND rolling R = 5. Start with D = 8: P(D = 8 and R = 5) = P(R = 5 D = 8) P(D = 8)

11 P(D = 4) = P(D = 8) = P(D = 10) = 1/3, and given an n-sided die, for any natural number j, { 1/n, j n P(R = j D = n) = 0, j > n. Let us nd P(D = 8 R = 5) = P(D = 8 and R = 5). P(R = 5) Find P(R = 5) using cases based on the die picked: add up probabilities for picking die D AND rolling R = 5. Start with D = 8: P(D = 8 and R = 5) = P(R = 5 D = 8) P(D = 8) = (1/8)(1/3) = 1/24.

12 Let us nd P(D = 8 R = 5) = P(D = 8 and R = 5). P(R = 5) Find P(R = 5) using cases based on the die picked: add up probabilities for picking die D AND rolling R = 5. Start with D = 8: P(D = 8 and R = 5) = P(R = 5 D = 8) P(D = 8) = (1/8)(1/3) = 1/24. Similarly, P(D = 4 and R = 5) = 0. P(D = 10 and R = 5) = 1/30.

13 Intersection Details The 4-sided die cannot roll a 5, so P(R = 5 D = 4) = 0, not 1/4. Hence P(D = 4 and R = 5) P(D = 4) = P(R = 5 D = 4), so P(D = 4 and R = 5) = P(R = 5 D = 4) P(D = 4) = (0)(1/3) = 0. Each number on the 10-sided die is equally likely - P(R = 5 D = 10) = 1/10 in particular. P(D = 10 and R = 5) P(D = 10) = P(R = 5 D = 10), so P(D = 10 and R = 5) = P(R = 5 D = 10) P(D = 10) = (1/10)(1/3) = 1/30.

14 Find P(R = 5) using cases based on the die picked: add up probabilities for picking die D AND rolling R = 5. Start with D = 8: P(D = 8 and R = 5) = P(R = 5 D = 8) P(D = 8) = (1/8)(1/3) = 1/24. Similarly, P(D = 4 and R = 5) = 0. Hence P(R = 5) is the sum P(D = 10 and R = 5) = 1/30. P(D = n and R = 5) = = 9 120, n=4,8,10

15 P(D = 8 and R = 5) = P(R = 5 D = 8) P(D = 8) Similarly, Hence P(R = 5) is the sum so = (1/8)(1/3) = 1/24. P(D = 4 and R = 5) = 0. P(D = 10 and R = 5) = 1/30. P(D = n and R = 5) = = 9 120, n=4,8,10 P(D = 8 R = 5) = P(D = 8 and R = 5) P(R = 5) = 1/24 9/120 = 5/9.

16 Similarly, P(D = 4 and R = 5) = 0. Hence P(R = 5) is the sum so P(D = 10 and R = 5) = 1/30. P(D = n and R = 5) = = 9 120, n=4,8,10 P(D = 8 R = 5) = Similarly, P(D = 8 and R = 5) P(R = 5) P(D = 4 R = 5) = 0 9/120 = 0, P(D = 10 R = 5) = 1/30 9/120 = 4/9. = 1/24 9/120 = 5/9.

17 Bayes' Formula (Variable Form) Let X 1 record the outcome of the rst stage, and suppose it can be one of these m outcomes: h 1,h 2,...,h m. Let X 2 record the outcome of the second stage. Suppose that X 2 = ω for some outcome. Then P(X 1 = h i X 2 = ω) = P(X 1 = h i and X 2 = ω) P(X 2 = ω) P(X 1 = h i and X 2 = ω) = m P(X 1 = h k and X 2 = ω) k=1 P(X 1 = h i and X 2 = ω) = m P(X 1 = h k ) P(X 2 = ω X 1 = h k ) k=1 P(X 1 = h i ) P(X 2 = ω X 1 = h i ) = m. P(X 1 = h k ) P(X 2 = ω X 1 = h k ) k=1

18 Continuous Conditional Probability Let Ω be a continuous sample space, and E be an event with P(E) 0. For any event F of Ω, the conditional probability that F occurs given that E occurs is P(F E) = P(F E). P(E) For any x in Ω, if f is the density function on Ω, then the conditional density function on E is { f (x)/p(e), x in E f (x E) = 0 x not in E.

19 Continuous Conditional Probability Let Ω be a continuous sample space, and E be an event with P(E) 0. For any event F of Ω, the conditional probability that F occurs given that E occurs is P(F E) = P(F E). P(E) For any x in Ω, if f is the density function on Ω, then the conditional density function on E is { f (x)/p(e), x in E f (x E) = 0 x not in E.

20 Uniform Density Functions Let Ω = [ω 1,ω 2 ] be an interval in R, and suppose X is a continuous random variable with a uniform density function (uniform probability). Then for any real numbers a and b with ω 1 a b ω 2, P(a X b) = P([a,b]) = Let Ω = [0,1] and F = [0,0.3]. Then Let E = [0.1,0.6]. Then P(F ) = = P(E) = = b a length of [a,b] = ω 2 ω 1 length of Ω.

21 Uniform Density Functions Let Ω = [ω 1,ω 2 ] be an interval in R, and suppose X is a continuous random variable with a uniform density function (uniform probability). Then for any real numbers a and b with ω 1 a b ω 2, P(a X b) = P([a,b]) = Let Ω = [0,1] and F = [0,0.3]. Then Let E = [0.1,0.6]. Then P(F ) = = P(E) = = b a length of [a,b] = ω 2 ω 1 length of Ω.

22 Uniform Density Functions Let Ω = [ω 1,ω 2 ] be an interval in R, and suppose X is a continuous random variable with a uniform density function (uniform probability). Then for any real numbers a and b with ω 1 a b ω 2, P(a X b) = P([a,b]) = Let Ω = [0,1] and F = [0,0.3]. Then Let E = [0.1,0.6]. Then P(F ) = = P(E) = = b a length of [a,b] = ω 2 ω 1 length of Ω.

23 P(a X b) = P([a,b]) = b a length of [a,b] = ω 2 ω 1 length of Ω. Let Ω = [0,1] and F = [0,0.3]. Then Let E = [0.1,0.6]. Then Notice so P(F ) = = P(E) = = F E = [0.1,0.3], P(F E) = =

24 Let E = [0.1,0.6]. Then P(E) = = Notice so Hence F E = [0.1,0.3], P(F E) = = P(F E) = P(F E) P(E) = = 2 5.

25 Proportions of Lengths Notice F (in gold) takes up 3/10ths of the length of Ω: Here, E takes up 5/10ths of the length of Ω. Here, F E (green) takes up 2/5ths of the area of E 2 (blue and green):

26 Independent Events Let E and F be two events. Then they are independent if either: P(E F ) = P(E) or P(F E) = P(F ). One or both events has probability zero. Two events E and F are independent if and only if P(E F ) = P(E)P(F ).

27 Not Independent The events F and E are not independent: 0.3 = P(F ) P(F E) = 2/5 = 0.4. Also, P(F ) P(E) = = 0.15 P(F E) = 0.2 P(F ) P(E) P(F E).

28 Not Independent The events F and E are not independent: 0.3 = P(F ) P(F E) = 2/5 = 0.4. Also, P(F ) P(E) = = 0.15 P(F E) = 0.2 P(F ) P(E) P(F E).

29 Independent Example Let E 1 = [0,0.6] and F 1 = [0.3,0.8]. Then Then P(E 1 ) = 0.6, P(F 1 ) = 0.5, F 1 E 1 = [0.3,0.6], so P(F 1 E 1 ) = 0.3. P(F 1 E 1 ) = P(F 1 E 1 ) P(E 1 ) P(E 1 F 1 ) = P(F 1 E 1 ) P(F 1 ) so E 1 and F 1 are independent. Indeed, = = 0.5 = P(F 1), = = 0.6 = P(E 1), P(F 1 )P(E 1 ) = = 0.3 = P(F 1 E 1 ).

30 Independent Example Let E 1 = [0,0.6] and F 1 = [0.3,0.8]. Then Then P(E 1 ) = 0.6, P(F 1 ) = 0.5, F 1 E 1 = [0.3,0.6], so P(F 1 E 1 ) = 0.3. P(F 1 E 1 ) = P(F 1 E 1 ) P(E 1 ) P(E 1 F 1 ) = P(F 1 E 1 ) P(F 1 ) so E 1 and F 1 are independent. Indeed, = = 0.5 = P(F 1), = = 0.6 = P(E 1), P(F 1 )P(E 1 ) = = 0.3 = P(F 1 E 1 ).

31 Independent Example Let E 1 = [0,0.6] and F 1 = [0.3,0.8]. Then Then P(E 1 ) = 0.6, P(F 1 ) = 0.5, F 1 E 1 = [0.3,0.6], so P(F 1 E 1 ) = 0.3. P(F 1 E 1 ) = P(F 1 E 1 ) P(E 1 ) P(E 1 F 1 ) = P(F 1 E 1 ) P(F 1 ) so E 1 and F 1 are independent. Indeed, = = 0.5 = P(F 1), = = 0.6 = P(E 1), P(F 1 )P(E 1 ) = = 0.3 = P(F 1 E 1 ).

32 Conditional Density Functions The uniform density function on [0,1] is { { 1, 0 x 1 f (x) = 0, otherwise = 1/(length of [0,1]) 0 x 1 0, otherwise Since E 1 = [0.0,0.6], E 2 = [0.1,0.6], P(E 1 ) = = 0.6, and P(E ) = = 0.5, 1 0 we have { 1/0.6 = 1/(length of E 1 ), 0 x 0.6 f (x E 1 ) =, 0, otherwise { 1/0.5 = 1/(length of E 2 ), 0.1 x 0.6 f (x E 2 ) =. 0, otherwise

33 @Home: Reading Note: page numbers refer to printed version. Add 8 to get page numbers in a PDF reader. The book presents Bayes' formula in terms of events. You may want to review Chapter 2 before next class, since Section 4.2 is conditional probability with continuous random variables. You may want to brush up on multivariable functions (functions with more than one input).

34 Next Time Please read Section 4.2. We will continue this section on Friday. The fth homework is due this Saturday.

Introductory Probability

Introductory Probability Introductory Probability Bernoulli Trials and Binomial Probability Distributions Dr. Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK February 04, 2019 Agenda Bernoulli Trials and Probability

More information

Introductory Probability

Introductory Probability Introductory Probability Joint Probability with Independence; Binomial Distributions Nicholas Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK Agenda Comparing Two Variables with Joint Random

More information

MA : Introductory Probability

MA : Introductory Probability MA 320-001: Introductory Probability David Murrugarra Department of Mathematics, University of Kentucky http://www.math.uky.edu/~dmu228/ma320/ Spring 2017 David Murrugarra (University of Kentucky) MA 320:

More information

Introductory Probability

Introductory Probability Introductory Probability Discrete Probability Distributions Dr. Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK January 9, 2019 Agenda Syllabi and Course Websites Class Information Random Variables

More information

Intro to Contemporary Math

Intro to Contemporary Math Intro to Contemporary Math Unions and Intersections of Intervals Department of Mathematics UK Announcement You have a homework assignment due next Monday. Mini-exam 2 is next Wednesday. Unions and Intersections

More information

Intro to Contemporary Math

Intro to Contemporary Math Intro to Contemporary Math Hamiltonian Circuits and Nearest Neighbor Algorithm Nicholas Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK Agenda Hamiltonian Circuits and the Traveling Salesman

More information

1.6/1.7 - Conditional Probability and Bayes Theorem

1.6/1.7 - Conditional Probability and Bayes Theorem 1.6/1.7 - Conditional Probability and Bayes Theorem Math 166-502 Blake Boudreaux Department of Mathematics Texas A&M University February 1, 2018 Blake Boudreaux (Texas A&M University) 1.6/1.7 - Conditional

More information

Exam 1 - Math Solutions

Exam 1 - Math Solutions Exam 1 - Math 3200 - Solutions Spring 2013 1. Without actually expanding, find the coefficient of x y 2 z 3 in the expansion of (2x y z) 6. (A) 120 (B) 60 (C) 30 (D) 20 (E) 10 (F) 10 (G) 20 (H) 30 (I)

More information

Math 3338: Probability (Fall 2006)

Math 3338: Probability (Fall 2006) Math 3338: Probability (Fall 2006) Jiwen He Section Number: 10853 http://math.uh.edu/ jiwenhe/math3338fall06.html Probability p.1/8 2.2 Axioms, Interpretations, and Properties of Probability Probability

More information

M378K In-Class Assignment #1

M378K In-Class Assignment #1 The following problems are a review of M6K. M7K In-Class Assignment # Problem.. Complete the definition of mutual exclusivity of events below: Events A, B Ω are said to be mutually exclusive if A B =.

More information

Dept. of Linguistics, Indiana University Fall 2015

Dept. of Linguistics, Indiana University Fall 2015 L645 Dept. of Linguistics, Indiana University Fall 2015 1 / 34 To start out the course, we need to know something about statistics and This is only an introduction; for a fuller understanding, you would

More information

CMPSCI 240: Reasoning Under Uncertainty

CMPSCI 240: Reasoning Under Uncertainty CMPSCI 240: Reasoning Under Uncertainty Lecture 5 Prof. Hanna Wallach wallach@cs.umass.edu February 7, 2012 Reminders Pick up a copy of B&T Check the course website: http://www.cs.umass.edu/ ~wallach/courses/s12/cmpsci240/

More information

Independence Solutions STAT-UB.0103 Statistics for Business Control and Regression Models

Independence Solutions STAT-UB.0103 Statistics for Business Control and Regression Models Independence Solutions STAT-UB.003 Statistics for Business Control and Regression Models The Birthday Problem. A class has 70 students. What is the probability that at least two students have the same

More information

Business Statistics 41000: Homework # 2 Solutions

Business Statistics 41000: Homework # 2 Solutions Business Statistics 4000: Homework # 2 Solutions Drew Creal February 9, 204 Question #. Discrete Random Variables and Their Distributions (a) The probabilities have to sum to, which means that 0. + 0.3

More information

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E.

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E. Compound Events Because we are using the framework of set theory to analyze probability, we can use unions, intersections and complements to break complex events into compositions of events for which it

More information

Example. What is the sample space for flipping a fair coin? Rolling a 6-sided die? Find the event E where E = {x x has exactly one head}

Example. What is the sample space for flipping a fair coin? Rolling a 6-sided die? Find the event E where E = {x x has exactly one head} Chapter 7 Notes 1 (c) Epstein, 2013 CHAPTER 7: PROBABILITY 7.1: Experiments, Sample Spaces and Events Chapter 7 Notes 2 (c) Epstein, 2013 What is the sample space for flipping a fair coin three times?

More information

Probability Rules. MATH 130, Elements of Statistics I. J. Robert Buchanan. Fall Department of Mathematics

Probability Rules. MATH 130, Elements of Statistics I. J. Robert Buchanan. Fall Department of Mathematics Probability Rules MATH 130, Elements of Statistics I J. Robert Buchanan Department of Mathematics Fall 2018 Introduction Probability is a measure of the likelihood of the occurrence of a certain behavior

More information

CSC Discrete Math I, Spring Discrete Probability

CSC Discrete Math I, Spring Discrete Probability CSC 125 - Discrete Math I, Spring 2017 Discrete Probability Probability of an Event Pierre-Simon Laplace s classical theory of probability: Definition of terms: An experiment is a procedure that yields

More information

Probability and Statisitcs

Probability and Statisitcs Probability and Statistics Random Variables De La Salle University Francis Joseph Campena, Ph.D. January 25, 2017 Francis Joseph Campena, Ph.D. () Probability and Statisitcs January 25, 2017 1 / 17 Outline

More information

Chapter 3 : Conditional Probability and Independence

Chapter 3 : Conditional Probability and Independence STAT/MATH 394 A - PROBABILITY I UW Autumn Quarter 2016 Néhémy Lim Chapter 3 : Conditional Probability and Independence 1 Conditional Probabilities How should we modify the probability of an event when

More information

2. Conditional Probability

2. Conditional Probability ENGG 2430 / ESTR 2004: Probability and Statistics Spring 2019 2. Conditional Probability Andrej Bogdanov Coins game Toss 3 coins. You win if at least two come out heads. S = { HHH, HHT, HTH, HTT, THH,

More information

Random Sampling - what did we learn?

Random Sampling - what did we learn? Homework Assignment Chapter 1, Problems 6, 15 Chapter 2, Problems 6, 8, 9, 12 Chapter 3, Problems 4, 6, 15 Chapter 4, Problem 16 Due a week from Friday: Sept. 22, 12 noon. Your TA will tell you where to

More information

Random Sampling - what did we learn? Homework Assignment

Random Sampling - what did we learn? Homework Assignment Homework Assignment Chapter 1, Problems 6, 15 Chapter 2, Problems 6, 8, 9, 12 Chapter 3, Problems 4, 6, 15 Chapter 4, Problem 16 Due a week from Friday: Sept. 22, 12 noon. Your TA will tell you where to

More information

CMPSCI 240: Reasoning Under Uncertainty

CMPSCI 240: Reasoning Under Uncertainty CMPSCI 240: Reasoning Under Uncertainty Lecture 2 Prof. Hanna Wallach wallach@cs.umass.edu January 26, 2012 Reminders Pick up a copy of B&T Check the course website: http://www.cs.umass.edu/ ~wallach/courses/s12/cmpsci240/

More information

STAT:5100 (22S:193) Statistical Inference I

STAT:5100 (22S:193) Statistical Inference I STAT:5100 (22S:193) Statistical Inference I Week 3 Luke Tierney University of Iowa Fall 2015 Luke Tierney (U Iowa) STAT:5100 (22S:193) Statistical Inference I Fall 2015 1 Recap Matching problem Generalized

More information

Probability Basics. Part 3: Types of Probability. INFO-1301, Quantitative Reasoning 1 University of Colorado Boulder

Probability Basics. Part 3: Types of Probability. INFO-1301, Quantitative Reasoning 1 University of Colorado Boulder Probability Basics Part 3: Types of Probability INFO-1301, Quantitative Reasoning 1 University of Colorado Boulder September 30, 2016 Prof. Michael Paul Prof. William Aspray Example A large government

More information

STAT 430/510 Probability Lecture 7: Random Variable and Expectation

STAT 430/510 Probability Lecture 7: Random Variable and Expectation STAT 430/510 Probability Lecture 7: Random Variable and Expectation Pengyuan (Penelope) Wang June 2, 2011 Review Properties of Probability Conditional Probability The Law of Total Probability Bayes Formula

More information

(6, 1), (5, 2), (4, 3), (3, 4), (2, 5), (1, 6)

(6, 1), (5, 2), (4, 3), (3, 4), (2, 5), (1, 6) Section 7.3: Compound Events Because we are using the framework of set theory to analyze probability, we can use unions, intersections and complements to break complex events into compositions of events

More information

Topic 2 Probability. Basic probability Conditional probability and independence Bayes rule Basic reliability

Topic 2 Probability. Basic probability Conditional probability and independence Bayes rule Basic reliability Topic 2 Probability Basic probability Conditional probability and independence Bayes rule Basic reliability Random process: a process whose outcome can not be predicted with certainty Examples: rolling

More information

MA : Introductory Probability

MA : Introductory Probability MA 320-001: Introductory Probability David Murrugarra Department of Mathematics, University of Kentucky http://www.math.uky.edu/~dmu228/ma320/ Spring 2017 David Murrugarra (University of Kentucky) MA 320:

More information

Conditional probability

Conditional probability CHAPTER 4 Conditional probability 4.1. Introduction Suppose there are 200 men, of which 100 are smokers, and 100 women, of which 20 are smokers. What is the probability that a person chosen at random will

More information

Lecture 1. ABC of Probability

Lecture 1. ABC of Probability Math 408 - Mathematical Statistics Lecture 1. ABC of Probability January 16, 2013 Konstantin Zuev (USC) Math 408, Lecture 1 January 16, 2013 1 / 9 Agenda Sample Spaces Realizations, Events Axioms of Probability

More information

CS1512 Foundations of Computing Science 2. Lecture 4

CS1512 Foundations of Computing Science 2. Lecture 4 CS1512 Foundations of Computing Science 2 Lecture 4 Bayes Law; Gaussian Distributions 1 J R W Hunter, 2006; C J van Deemter 2007 (Revd. Thomas) Bayes Theorem P( E 1 and E 2 ) = P( E 1 )* P( E 2 E 1 ) Order

More information

Math C067 Independence and Repeated Trials.

Math C067 Independence and Repeated Trials. Math C067 Independence and Repeated Trials. Richard Beigel February 7, 006 Socks. Bill s sock drawer contains 10 red socks, 0 green socks, and 30 blue socks. If Bill removes two socks from his drawer at

More information

Introduction to Probability 2017/18 Supplementary Problems

Introduction to Probability 2017/18 Supplementary Problems Introduction to Probability 2017/18 Supplementary Problems Problem 1: Let A and B denote two events with P(A B) 0. Show that P(A) 0 and P(B) 0. A A B implies P(A) P(A B) 0, hence P(A) 0. Similarly B A

More information

5. Conditional Distributions

5. Conditional Distributions 1 of 12 7/16/2009 5:36 AM Virtual Laboratories > 3. Distributions > 1 2 3 4 5 6 7 8 5. Conditional Distributions Basic Theory As usual, we start with a random experiment with probability measure P on an

More information

Independence. CS 109 Lecture 5 April 6th, 2016

Independence. CS 109 Lecture 5 April 6th, 2016 Independence CS 109 Lecture 5 April 6th, 2016 Today s Topics 2 Last time: Conditional Probability Bayes Theorem Today: Independence Conditional Independence Next time: Random Variables The Tragedy of Conditional

More information

MA : Introductory Probability

MA : Introductory Probability MA 320-001: Introductory Probability David Murrugarra Department of Mathematics, University of Kentucky http://www.math.uky.edu/~dmu228/ma320/ Spring 2017 David Murrugarra (University of Kentucky) MA 320:

More information

Homework 4 Solution, due July 23

Homework 4 Solution, due July 23 Homework 4 Solution, due July 23 Random Variables Problem 1. Let X be the random number on a die: from 1 to. (i) What is the distribution of X? (ii) Calculate EX. (iii) Calculate EX 2. (iv) Calculate Var

More information

Discrete Probability. Mark Huiskes, LIACS Probability and Statistics, Mark Huiskes, LIACS, Lecture 2

Discrete Probability. Mark Huiskes, LIACS Probability and Statistics, Mark Huiskes, LIACS, Lecture 2 Discrete Probability Mark Huiskes, LIACS mark.huiskes@liacs.nl Probability: Basic Definitions In probability theory we consider experiments whose outcome depends on chance or are uncertain. How do we model

More information

Lecture 1: Probability Fundamentals

Lecture 1: Probability Fundamentals Lecture 1: Probability Fundamentals IB Paper 7: Probability and Statistics Carl Edward Rasmussen Department of Engineering, University of Cambridge January 22nd, 2008 Rasmussen (CUED) Lecture 1: Probability

More information

the time it takes until a radioactive substance undergoes a decay

the time it takes until a radioactive substance undergoes a decay 1 Probabilities 1.1 Experiments with randomness Wewillusethetermexperimentinaverygeneralwaytorefertosomeprocess that produces a random outcome. Examples: (Ask class for some first) Here are some discrete

More information

Review of Basic Probability

Review of Basic Probability Review of Basic Probability Erik G. Learned-Miller Department of Computer Science University of Massachusetts, Amherst Amherst, MA 01003 September 16, 2009 Abstract This document reviews basic discrete

More information

CMPSCI 240: Reasoning about Uncertainty

CMPSCI 240: Reasoning about Uncertainty CMPSCI 240: Reasoning about Uncertainty Lecture 2: Sets and Events Andrew McGregor University of Massachusetts Last Compiled: January 27, 2017 Outline 1 Recap 2 Experiments and Events 3 Probabilistic Models

More information

Probability Theory for Machine Learning. Chris Cremer September 2015

Probability Theory for Machine Learning. Chris Cremer September 2015 Probability Theory for Machine Learning Chris Cremer September 2015 Outline Motivation Probability Definitions and Rules Probability Distributions MLE for Gaussian Parameter Estimation MLE and Least Squares

More information

18440: Probability and Random variables Quiz 1 Friday, October 17th, 2014

18440: Probability and Random variables Quiz 1 Friday, October 17th, 2014 18440: Probability and Random variables Quiz 1 Friday, October 17th, 014 You will have 55 minutes to complete this test. Each of the problems is worth 5 % of your exam grade. No calculators, notes, or

More information

Review (probability, linear algebra) CE-717 : Machine Learning Sharif University of Technology

Review (probability, linear algebra) CE-717 : Machine Learning Sharif University of Technology Review (probability, linear algebra) CE-717 : Machine Learning Sharif University of Technology M. Soleymani Fall 2012 Some slides have been adopted from Prof. H.R. Rabiee s and also Prof. R. Gutierrez-Osuna

More information

Probability- describes the pattern of chance outcomes

Probability- describes the pattern of chance outcomes Chapter 6 Probability the study of randomness Probability- describes the pattern of chance outcomes Chance behavior is unpredictable in the short run, but has a regular and predictable pattern in the long

More information

Probability & Random Variables

Probability & Random Variables & Random Variables Probability Probability theory is the branch of math that deals with random events, processes, and variables What does randomness mean to you? How would you define probability in your

More information

2.2 Grouping Data. Tom Lewis. Fall Term Tom Lewis () 2.2 Grouping Data Fall Term / 6

2.2 Grouping Data. Tom Lewis. Fall Term Tom Lewis () 2.2 Grouping Data Fall Term / 6 2.2 Grouping Data Tom Lewis Fall Term 2009 Tom Lewis () 2.2 Grouping Data Fall Term 2009 1 / 6 Outline 1 Quantitative methods 2 Qualitative methods Tom Lewis () 2.2 Grouping Data Fall Term 2009 2 / 6 Test

More information

CS4705. Probability Review and Naïve Bayes. Slides from Dragomir Radev

CS4705. Probability Review and Naïve Bayes. Slides from Dragomir Radev CS4705 Probability Review and Naïve Bayes Slides from Dragomir Radev Classification using a Generative Approach Previously on NLP discriminative models P C D here is a line with all the social media posts

More information

Probability Theory Review

Probability Theory Review Cogsci 118A: Natural Computation I Lecture 2 (01/07/10) Lecturer: Angela Yu Probability Theory Review Scribe: Joseph Schilz Lecture Summary 1. Set theory: terms and operators In this section, we provide

More information

HW MATH425/525 Lecture Notes 1

HW MATH425/525 Lecture Notes 1 HW MATH425/525 Lecture Notes 1 Definition 4.1 If an experiment can be repeated under the same condition, its outcome cannot be predicted with certainty, and the collection of its every possible outcome

More information

Announcements. Topics: To Do:

Announcements. Topics: To Do: Announcements Topics: In the Probability and Statistics module: - Sections 1 + 2: Introduction to Stochastic Models - Section 3: Basics of Probability Theory - Section 4: Conditional Probability; Law of

More information

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail}

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail} Random Experiment In random experiments, the result is unpredictable, unknown prior to its conduct, and can be one of several choices. Examples: The Experiment of tossing a coin (head, tail) The Experiment

More information

Chapter Summary. 7.1 Discrete Probability 7.2 Probability Theory 7.3 Bayes Theorem 7.4 Expected value and Variance

Chapter Summary. 7.1 Discrete Probability 7.2 Probability Theory 7.3 Bayes Theorem 7.4 Expected value and Variance Chapter 7 Chapter Summary 7.1 Discrete Probability 7.2 Probability Theory 7.3 Bayes Theorem 7.4 Expected value and Variance Section 7.1 Introduction Probability theory dates back to 1526 when the Italian

More information

Deep Learning for Computer Vision

Deep Learning for Computer Vision Deep Learning for Computer Vision Lecture 3: Probability, Bayes Theorem, and Bayes Classification Peter Belhumeur Computer Science Columbia University Probability Should you play this game? Game: A fair

More information

AMS7: WEEK 2. CLASS 2

AMS7: WEEK 2. CLASS 2 AMS7: WEEK 2. CLASS 2 Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio Friday April 10, 2015 Probability: Introduction Probability:

More information

Bayesian Updating: Discrete Priors: Spring

Bayesian Updating: Discrete Priors: Spring Bayesian Updating: Discrete Priors: 18.05 Spring 2017 http://xkcd.com/1236/ Learning from experience Which treatment would you choose? 1. Treatment 1: cured 100% of patients in a trial. 2. Treatment 2:

More information

Probability 1 (MATH 11300) lecture slides

Probability 1 (MATH 11300) lecture slides Probability 1 (MATH 11300) lecture slides Márton Balázs School of Mathematics University of Bristol Autumn, 2015 December 16, 2015 To know... http://www.maths.bris.ac.uk/ mb13434/prob1/ m.balazs@bristol.ac.uk

More information

Lecture 10: Bayes' Theorem, Expected Value and Variance Lecturer: Lale Özkahya

Lecture 10: Bayes' Theorem, Expected Value and Variance Lecturer: Lale Özkahya BBM 205 Discrete Mathematics Hacettepe University http://web.cs.hacettepe.edu.tr/ bbm205 Lecture 10: Bayes' Theorem, Expected Value and Variance Lecturer: Lale Özkahya Resources: Kenneth Rosen, Discrete

More information

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events LECTURE 1 1 Introduction The first part of our adventure is a highly selective review of probability theory, focusing especially on things that are most useful in statistics. 1.1 Sample spaces and events

More information

GOV 2001/ 1002/ Stat E-200 Section 1 Probability Review

GOV 2001/ 1002/ Stat E-200 Section 1 Probability Review GOV 2001/ 1002/ Stat E-200 Section 1 Probability Review Solé Prillaman Harvard University January 28, 2015 1 / 54 LOGISTICS Course Website: j.mp/g2001 lecture notes, videos, announcements Canvas: problem

More information

Math Treibergs. Solutions to Fourth Homework February 13, 2009

Math Treibergs. Solutions to Fourth Homework February 13, 2009 Math 5010 1. Treibergs Solutions to Fourth Homework February 13, 2009 76[12] Two roads join Ayton to Beaton, and two further roads join Beaton to the City. Ayton is directly connected to the City by railway.

More information

Review of Basic Probability Theory

Review of Basic Probability Theory Review of Basic Probability Theory James H. Steiger Department of Psychology and Human Development Vanderbilt University James H. Steiger (Vanderbilt University) 1 / 35 Review of Basic Probability Theory

More information

CHAPTER 3 PROBABILITY: EVENTS AND PROBABILITIES

CHAPTER 3 PROBABILITY: EVENTS AND PROBABILITIES CHAPTER 3 PROBABILITY: EVENTS AND PROBABILITIES PROBABILITY: A probability is a number between 0 and 1, inclusive, that states the long-run relative frequency, likelihood, or chance that an outcome will

More information

CSE 312, 2017 Winter, W.L.Ruzzo. 5. independence [ ]

CSE 312, 2017 Winter, W.L.Ruzzo. 5. independence [ ] CSE 312, 2017 Winter, W.L.Ruzzo 5. independence [ ] independence Defn: Two events E and F are independent if P(EF) = P(E) P(F) If P(F)>0, this is equivalent to: P(E F) = P(E) (proof below) Otherwise, they

More information

Randomized Algorithms. Andreas Klappenecker

Randomized Algorithms. Andreas Klappenecker Randomized Algorithms Andreas Klappenecker Randomized Algorithms A randomized algorithm is an algorithm that makes random choices during its execution. A randomized algorithm uses values generated by a

More information

Data Mining Techniques. Lecture 3: Probability

Data Mining Techniques. Lecture 3: Probability Data Mining Techniques CS 6220 - Section 3 - Fall 2016 Lecture 3: Probability Jan-Willem van de Meent (credit: Zhao, CS 229, Bishop) Project Vote 1. Freeform: Develop your own project proposals 30% of

More information

Lecture 1: Basics of Probability

Lecture 1: Basics of Probability Lecture 1: Basics of Probability (Luise-Vitetta, Chapter 8) Why probability in data science? Data acquisition is noisy Sampling/quantization external factors: If you record your voice saying machine learning

More information

LING 473: Day 3. START THE RECORDING Assignment 1 Review Probability. University of Washington Linguistics 473: Computational Linguistics Fundamentals

LING 473: Day 3. START THE RECORDING Assignment 1 Review Probability. University of Washington Linguistics 473: Computational Linguistics Fundamentals LING 473: Day 3 START THE RECORDING Assignment 1 Review Probability 1 Probability textbook: Resources Available Charles Grinstead and J. Laurie Snell Introduction to Probability - online on course website

More information

Bayes Theorem. Jan Kracík. Department of Applied Mathematics FEECS, VŠB - TU Ostrava

Bayes Theorem. Jan Kracík. Department of Applied Mathematics FEECS, VŠB - TU Ostrava Jan Kracík Department of Applied Mathematics FEECS, VŠB - TU Ostrava Introduction Bayes theorem fundamental theorem in probability theory named after reverend Thomas Bayes (1701 1761) discovered in Bayes

More information

What is Probability? Probability. Sample Spaces and Events. Simple Event

What is Probability? Probability. Sample Spaces and Events. Simple Event What is Probability? Probability Peter Lo Probability is the numerical measure of likelihood that the event will occur. Simple Event Joint Event Compound Event Lies between 0 & 1 Sum of events is 1 1.5

More information

Cogs 14B: Introduction to Statistical Analysis

Cogs 14B: Introduction to Statistical Analysis Cogs 14B: Introduction to Statistical Analysis Statistical Tools: Description vs. Prediction/Inference Description Averages Variability Correlation Prediction (Inference) Regression Confidence intervals/

More information

Continuous Random Variables

Continuous Random Variables 1 Continuous Random Variables Example 1 Roll a fair die. Denote by X the random variable taking the value shown by the die, X {1, 2, 3, 4, 5, 6}. Obviously the probability mass function is given by (since

More information

Probability. Introduction to Biostatistics

Probability. Introduction to Biostatistics Introduction to Biostatistics Probability Second Semester 2014/2015 Text Book: Basic Concepts and Methodology for the Health Sciences By Wayne W. Daniel, 10 th edition Dr. Sireen Alkhaldi, BDS, MPH, DrPH

More information

ENGI 4421 Introduction to Probability; Sets & Venn Diagrams Page α 2 θ 1 u 3. wear coat. θ 2 = warm u 2 = sweaty! θ 1 = cold u 3 = brrr!

ENGI 4421 Introduction to Probability; Sets & Venn Diagrams Page α 2 θ 1 u 3. wear coat. θ 2 = warm u 2 = sweaty! θ 1 = cold u 3 = brrr! ENGI 4421 Introduction to Probability; Sets & Venn Diagrams Page 2-01 Probability Decision trees u 1 u 2 α 2 θ 1 u 3 θ 2 u 4 Example 2.01 θ 1 = cold u 1 = snug! α 1 wear coat θ 2 = warm u 2 = sweaty! θ

More information

Econ 325: Introduction to Empirical Economics

Econ 325: Introduction to Empirical Economics Econ 325: Introduction to Empirical Economics Lecture 2 Probability Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall Ch. 3-1 3.1 Definition Random Experiment a process leading to an uncertain

More information

Origins of Probability Theory

Origins of Probability Theory 1 16.584: INTRODUCTION Theory and Tools of Probability required to analyze and design systems subject to uncertain outcomes/unpredictability/randomness. Such systems more generally referred to as Experiments.

More information

Recitation 2: Probability

Recitation 2: Probability Recitation 2: Probability Colin White, Kenny Marino January 23, 2018 Outline Facts about sets Definitions and facts about probability Random Variables and Joint Distributions Characteristics of distributions

More information

Probability COMP 245 STATISTICS. Dr N A Heard. 1 Sample Spaces and Events Sample Spaces Events Combinations of Events...

Probability COMP 245 STATISTICS. Dr N A Heard. 1 Sample Spaces and Events Sample Spaces Events Combinations of Events... Probability COMP 245 STATISTICS Dr N A Heard Contents Sample Spaces and Events. Sample Spaces........................................2 Events........................................... 2.3 Combinations

More information

The Theory behind PageRank

The Theory behind PageRank The Theory behind PageRank Mauro Sozio Telecom ParisTech May 21, 2014 Mauro Sozio (LTCI TPT) The Theory behind PageRank May 21, 2014 1 / 19 A Crash Course on Discrete Probability Events and Probability

More information

Concepts in Statistics

Concepts in Statistics Concepts in Statistics -- A Theoretical and Hands-on Approach Statistics The Art of Distinguishing Luck from Chance Statistics originally meant the collection of population and economic information vital

More information

PERMUTATIONS, COMBINATIONS AND DISCRETE PROBABILITY

PERMUTATIONS, COMBINATIONS AND DISCRETE PROBABILITY Friends, we continue the discussion with fundamentals of discrete probability in the second session of third chapter of our course in Discrete Mathematics. The conditional probability and Baye s theorem

More information

Information Science 2

Information Science 2 Information Science 2 Probability Theory: An Overview Week 12 College of Information Science and Engineering Ritsumeikan University Agenda Terms and concepts from Week 11 Basic concepts of probability

More information

4/17/2012. NE ( ) # of ways an event can happen NS ( ) # of events in the sample space

4/17/2012. NE ( ) # of ways an event can happen NS ( ) # of events in the sample space I. Vocabulary: A. Outcomes: the things that can happen in a probability experiment B. Sample Space (S): all possible outcomes C. Event (E): one outcome D. Probability of an Event (P(E)): the likelihood

More information

Probability and Stochastic Processes

Probability and Stochastic Processes Probability and Stochastic Processes A Friendly Introduction for Electrical and Computer Engineers Third Edition INSTRUCTOR S SOLUTION MANUAL Roy D. Yates, David J. Goodman, David Famolari September 8,

More information

Math 42, Discrete Mathematics

Math 42, Discrete Mathematics c Fall 2018 last updated 11/14/2018 at 18:13:19 For use by students in this class only; all rights reserved. Note: some prose & some tables are taken directly from Kenneth R. Rosen, and Its Applications,

More information

Topic 5: Probability. 5.4 Combined Events and Conditional Probability Paper 1

Topic 5: Probability. 5.4 Combined Events and Conditional Probability Paper 1 Topic 5: Probability Standard Level 5.4 Combined Events and Conditional Probability Paper 1 1. In a group of 16 students, 12 take art and 8 take music. One student takes neither art nor music. The Venn

More information

Bayes Rule for probability

Bayes Rule for probability Bayes Rule for probability P A B P A P B A PAP B A P AP B A An generalization of Bayes Rule Let A, A 2,, A k denote a set of events such that S A A2 Ak and Ai Aj for all i and j. Then P A i B P Ai P B

More information

1,1 1,2 1,3 1,4 1,5 1,6 2,1 2,2 2,3 2,4 2,5 2,6 3,1 3,2 3,3 3,4 3,5 3,6 4,1 4,2 4,3 4,4 4,5 4,6 5,1 5,2 5,3 5,4 5,5 5,6 6,1 6,2 6,3 6,4 6,5 6,6

1,1 1,2 1,3 1,4 1,5 1,6 2,1 2,2 2,3 2,4 2,5 2,6 3,1 3,2 3,3 3,4 3,5 3,6 4,1 4,2 4,3 4,4 4,5 4,6 5,1 5,2 5,3 5,4 5,5 5,6 6,1 6,2 6,3 6,4 6,5 6,6 Name: Math 4 ctivity 9(Due by EOC Dec. 6) Dear Instructor or Tutor, These problems are designed to let my students show me what they have learned and what they are capable of doing on their own. Please

More information

CS 361: Probability & Statistics

CS 361: Probability & Statistics February 12, 2018 CS 361: Probability & Statistics Random Variables Monty hall problem Recall the setup, there are 3 doors, behind two of them are indistinguishable goats, behind one is a car. You pick

More information

Review: Probability. BM1: Advanced Natural Language Processing. University of Potsdam. Tatjana Scheffler

Review: Probability. BM1: Advanced Natural Language Processing. University of Potsdam. Tatjana Scheffler Review: Probability BM1: Advanced Natural Language Processing University of Potsdam Tatjana Scheffler tatjana.scheffler@uni-potsdam.de October 21, 2016 Today probability random variables Bayes rule expectation

More information

STAT Chapter 3: Probability

STAT Chapter 3: Probability Basic Definitions STAT 515 --- Chapter 3: Probability Experiment: A process which leads to a single outcome (called a sample point) that cannot be predicted with certainty. Sample Space (of an experiment):

More information

1 INFO 2950, 2 4 Feb 10

1 INFO 2950, 2 4 Feb 10 First a few paragraphs of review from previous lectures: A finite probability space is a set S and a function p : S [0, 1] such that p(s) > 0 ( s S) and s S p(s) 1. We refer to S as the sample space, subsets

More information

Nuevo examen - 02 de Febrero de 2017 [280 marks]

Nuevo examen - 02 de Febrero de 2017 [280 marks] Nuevo examen - 0 de Febrero de 0 [0 marks] Jar A contains three red marbles and five green marbles. Two marbles are drawn from the jar, one after the other, without replacement. a. Find the probability

More information

6.041/6.431 Spring 2009 Quiz 1 Wednesday, March 11, 7:30-9:30 PM. SOLUTIONS

6.041/6.431 Spring 2009 Quiz 1 Wednesday, March 11, 7:30-9:30 PM. SOLUTIONS 6.0/6.3 Spring 009 Quiz Wednesday, March, 7:30-9:30 PM. SOLUTIONS Name: Recitation Instructor: Question Part Score Out of 0 all 0 a 5 b c 5 d 5 e 5 f 5 3 a b c d 5 e 5 f 5 g 5 h 5 Total 00 Write your solutions

More information

Law of Total Probability and Bayes Rule

Law of Total Probability and Bayes Rule MATH 382 Law of Total Probability and Bayes Rule Dr Neal, WKU Law of Total Probability: Suppose events A 1, A 2,, A n form a partition of Ω That is, the events are mutually disjoint and their union is

More information

STAT 111 Recitation 1

STAT 111 Recitation 1 STAT 111 Recitation 1 Linjun Zhang January 20, 2017 What s in the recitation This class, and the exam of this class, is a mix of statistical concepts and calculations. We are going to do a little bit of

More information

Chapter 2.5 Random Variables and Probability The Modern View (cont.)

Chapter 2.5 Random Variables and Probability The Modern View (cont.) Chapter 2.5 Random Variables and Probability The Modern View (cont.) I. Statistical Independence A crucially important idea in probability and statistics is the concept of statistical independence. Suppose

More information