Useful for Multiplication Rule: When two events, A and B, are independent, P(A and B) = P(A) P(B).

Similar documents
Outline. Probability. Math 143. Department of Mathematics and Statistics Calvin College. Spring 2010

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

ACMS Statistics for Life Sciences. Chapter 9: Introducing Probability

Conditional Probability 2 Solutions COR1-GB.1305 Statistics and Data Analysis

Section 13.3 Probability

AMS7: WEEK 2. CLASS 2

Probability Year 9. Terminology

CS 441 Discrete Mathematics for CS Lecture 19. Probabilities. CS 441 Discrete mathematics for CS. Probabilities

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

Event A: at least one tail observed A:

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

9/6/2016. Section 5.1 Probability. Equally Likely Model. The Division Rule: P(A)=#(A)/#(S) Some Popular Randomizers.

Probability Year 10. Terminology

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

CSC Discrete Math I, Spring Discrete Probability

ECE 340 Probabilistic Methods in Engineering M/W 3-4:15. Lecture 2: Random Experiments. Prof. Vince Calhoun

Homework (due Wed, Oct 27) Chapter 7: #17, 27, 28 Announcements: Midterm exams keys on web. (For a few hours the answer to MC#1 was incorrect on

With Question/Answer Animations. Chapter 7

UNIT 5 ~ Probability: What Are the Chances? 1

Conditional Probability. CS231 Dianna Xu

Quantitative Methods for Decision Making

Lecture notes for probability. Math 124

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

Today we ll discuss ways to learn how to think about events that are influenced by chance.

Chapter 7 Wednesday, May 26th

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

Conditional Probability

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio

Chapter 14. From Randomness to Probability. Copyright 2012, 2008, 2005 Pearson Education, Inc.

Lecture 3 Probability Basics

Events A and B are said to be independent if the occurrence of A does not affect the probability of B.

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

Statistics for Engineers

Lesson B1 - Probability Distributions.notebook

Random processes. Lecture 17: Probability, Part 1. Probability. Law of large numbers

Discrete Probability. Chemistry & Physics. Medicine

Chap 4 Probability p227 The probability of any outcome in a random phenomenon is the proportion of times the outcome would occur in a long series of

Outline Conditional Probability The Law of Total Probability and Bayes Theorem Independent Events. Week 4 Classical Probability, Part II

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

Lecture 15. DATA 8 Spring Sampling. Slides created by John DeNero and Ani Adhikari

Dept. of Linguistics, Indiana University Fall 2015

Chapter5 Probability.

8. MORE PROBABILITY; INDEPENDENCE

P(A) = Definitions. Overview. P - denotes a probability. A, B, and C - denote specific events. P (A) - Chapter 3 Probability

Mutually Exclusive Events

Producing data Toward statistical inference. Section 3.3

Announcements. Topics: To Do:

Probability 5-4 The Multiplication Rules and Conditional Probability

HW MATH425/525 Lecture Notes 1

Let us think of the situation as having a 50 sided fair die; any one number is equally likely to appear.

Week 2. Section Texas A& M University. Department of Mathematics Texas A& M University, College Station 22 January-24 January 2019

Discrete Structures for Computer Science

Expected Value. Lecture A Tiefenbruck MWF 9-9:50am Center 212 Lecture B Jones MWF 2-2:50pm Center 214 Lecture C Tiefenbruck MWF 11-11:50am Center 212

Senior Math Circles November 19, 2008 Probability II

Chapter 2. Conditional Probability and Independence. 2.1 Conditional Probability

Problems and results for the ninth week Mathematics A3 for Civil Engineering students

STA Module 4 Probability Concepts. Rev.F08 1

When working with probabilities we often perform more than one event in a sequence - this is called a compound probability.

5.5 PROBABILITY AS A THEORETICAL CONCEPT

STAT 31 Practice Midterm 2 Fall, 2005

Probabilistic models

A brief review of basics of probabilities

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

Presentation on Theo e ry r y o f P r P o r bab a il i i l t i y

Econ 325: Introduction to Empirical Economics

A Event has occurred

Introductory Probability

(a) Fill in the missing probabilities in the table. (b) Calculate P(F G). (c) Calculate P(E c ). (d) Is this a uniform sample space?

Chapter 4 Probability

Relationship between probability set function and random variable - 2 -

Probability and Probability Distributions. Dr. Mohammed Alahmed

Probability- describes the pattern of chance outcomes

MATH STUDENT BOOK. 12th Grade Unit 9

Why should you care?? Intellectual curiosity. Gambling. Mathematically the same as the ESP decision problem we discussed in Week 4.

CISC 1100/1400 Structures of Comp. Sci./Discrete Structures Chapter 7 Probability. Outline. Terminology and background. Arthur G.

MAT Mathematics in Today's World

Probability Distributions. Conditional Probability.

Announcements. Lecture 5: Probability. Dangling threads from last week: Mean vs. median. Dangling threads from last week: Sampling bias

Discrete Probability Distribution Tables

Introduction to Probability. Ariel Yadin. Lecture 1. We begin with an example [this is known as Bertrand s paradox]. *** Nov.

Random Variables Example:

Math 140 Introductory Statistics

Probability deals with modeling of random phenomena (phenomena or experiments whose outcomes may vary)

Probability. VCE Maths Methods - Unit 2 - Probability

HW2 Solutions, for MATH441, STAT461, STAT561, due September 9th

Statistics 1. Edexcel Notes S1. Mathematical Model. A mathematical model is a simplification of a real world problem.

STAT200 Elementary Statistics for applications

CS 361: Probability & Statistics

Lecture 2: Probability and Distributions

F71SM STATISTICAL METHODS

P (A) = P (B) = P (C) = P (D) =

Lecture 8 : The Geometric Distribution

UNIT Explain about the partition of a sampling space theorem?

Lower bound for sorting/probability Distributions

STAT Chapter 3: Probability

9. DISCRETE PROBABILITY DISTRIBUTIONS

Introduction to probability

Independence. CS 109 Lecture 5 April 6th, 2016

Example. If 4 tickets are drawn with replacement from ,

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

Transcription:

Probability Independence Last time: Two events are indpt if knowing that one did or did not happen tells you nothing about whether the other will or will not. It doesn't change the probability. Example: coinflips, dice rolls, sex of child in family. Useful for Multiplication Rule: When two events, A and B, are independent, P(A and B) = P(A) P(B). Example: Flip a coin two times. What's probability both are heads? A = first flip is heads B = second flip is heads P(A and B) = P(A) P(B) =.5 *.5 =.25 Or: Sample Space =, T, T, TT A = {, T} B = {, T} # of outcomes in both A and B = 1. # of events in S = 4 P(A and B) = 1/4 The first method is often much easier. For example: Flip a coin 10 times. What's probability all heads? Writing all outcomes down is very time consuming. But easy enough this way. Example: What's probability of rolling two "aces"? 1/6 * 1/6 = 1/36 NOTE: 3 ways of computing P(A and B): 1) #(in both A and B)/ #(S) 2) If A and B are mutually exclusive, P(A and B) = 0 3) If A and B are independent, P(A and B) = P(A) * P(B) Example: China had a one-child rule, that was ammended in some cities and rural areas to a "one boy" rule. You may have as many children as it takes, as long as only one boy. Assume that under these conditions, families will have babies until their first boy. What's the

probability a family will have 1 child? 2? 3? (Assume sex of successive children is indpt, and that the probability of a boy is equal to a girl.) Answer: The probability that the first child is a boy is 1/2. So P(one child) = 1/2. What about the probability that they have 2? That means the first child is a girl and the second is a boy. It's just like flipping a coin twice and asking P(T)? Since we assume these are indtp. P(first is girl AND second is boy) = P(first is girl) P(second is boy) = 1/2 * 1/2 = 1/4 3? Means GGB P(GGB) = P(G) P(G) P(B) = 1/8. Do you see a pattern? P(number of children is x) = (1/2) x Could you simulate by tossing a coin? (Say P(get two children)) One simulation: toss until first head; count tosses Event of interest: takes two tosses Repetitions: 1000? 100? Experimental probability: number of times it took 2 tosses/1000. Note that the sample space consists of things like: GB, B, GGB, GGGGB, etc. But we're only concerned with counting the number of kids in the family. When you take a sample space and reduce your interest to a number, you are creating a random variable: Random Variables: Another way of looking at outcomes and events is the random variable. A random variable is a number associated with a random event. Think of it like this: It is the outcome of an experiment: It is variable, meaning the outcome is not always the same. It is random, because we can't predict with certainty what the value of the variable will be. Usual notation: X, Y. For example: X = number of children born in a family. Y = number of heads in 10 tosses of a coin. Z = number of inches of rain in LA next year X = a randomly selected person's height Random Variables come in two flavors: continuous and discrete Discrete: the values are "discrete" numbers, like the whole numbers: 1,2,3, or -2, -1, 0, 1,... the important features is that there is "space" between values. Example: X = number of kittens in a litter.

There can be 0, 1, 2, 3,... kittens in the litter. But there is space between these because you can't have.5 kittens. Example: A lottery has small prizes of $1, $1.5, $2, and $100. X = amount you win is discrete because there are spaces between the values. For example, the number 1.75 is between 1.5 and 2, and yet is not a value. Continuous: There are no spaces between values. The possible values occur over an interval including all numbers. Example: X = time spent waiting in line at the Food Court. Yes, possible values are 1 minute and 2 minutes, but 1.5 is another possible value between 1 and 2. And 1.25 is a possible value between 1 and 1.5, and 1.125 is between 1 and 1.25, and 1.005, etc. Probability Distribution Functions (PDFs) Once you've got a random variable, it's usually quite useful to be able to write down the probabilities associated with ALL of the outcomes. For example One-Boy Rule: X = number of children in a family under the one-boy policy. X is discrete, and possible values are 1,2,3,4,... We found that P(X = x) = (1/2) x Or we could put (some) of this information into a table: x P(X= x) 1 1/2 2 1/4 3 1/8 4 1/16 etc etc. Or we could make a graph: Another example: Toss a coin 3 times. Let X = number of heads. What's the probability distribution function (PDF) for X? Values for X are 0,1,2,3 Write down all outcomes: TT TT TT T

T T TTT Each is equally likely. So P(X = 0) = P(no heads) = 1/8 P(X = 1) = P(TT OR TT OR TT) = 1/8 + 1/8 + 1/8 = 3/8 P(X = 2) = 3/8 P(X = 3) = 1/8 x p 0 1/8 1 3/8 2 3/8 3 1/8 Q: P(X = Note: Sum P(X) = 1 Notation: P(X = x) = p(x) So we might write P(X = 3) or p(3). Simulation: Let's return to simulating the one-boy rule. I did it with coin flips, and here's what I found: ( is a boy, T a girl) 50 trials: T TT T T T TT TTT TT TT TTTTT

TT etc. Putting this together, I got: x frequency P-hat p 1 28.56.5 2 9.18.25 3 9.18.125 4 0 0 0.0625 5 0 0 0.03125 6 1 0.02 0.015625 You can make a plot of the empirical probabilities and also of the theoretical probabilities to help compare. The plot of experimental probabilities is very much like a histogram. We can pretend that we sampled a population and this is what we got. The theoretical probabilities is a plot of the pdf. We can think of it as a picture of the population from which we sampled. In toher words, another way of doing this simulation: Put the tickets 1,2,3,4,... in a box in the proportions shown in the theoretical probability. Then pull out 50 (with replacement). You'll get a result very much like (but not exactly the same as), our experiment.