Chapter 7 Wednesday, May 26th

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

Probability- describes the pattern of chance outcomes

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

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

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

Chapter 6: Probability The Study of Randomness

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

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

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

UNIT 5 ~ Probability: What Are the Chances? 1

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

Announcements. Topics: To Do:

Lecture notes for probability. Math 124

Mutually Exclusive Events

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

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

Probability Year 9. Terminology

Independence. P(A) = P(B) = 3 6 = 1 2, and P(C) = 4 6 = 2 3.

Intermediate Math Circles November 8, 2017 Probability II

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER / Probability

Probability Year 10. Terminology

Lecture Lecture 5

Dept. of Linguistics, Indiana University Fall 2015

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.

2011 Pearson Education, Inc

Chapter 2 PROBABILITY SAMPLE SPACE

Probability the chance that an uncertain event will occur (always between 0 and 1)

8. MORE PROBABILITY; INDEPENDENCE

STAT Chapter 3: Probability

3.2 Probability Rules

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

EPE / EDP 557 Homework 7

Econ 325: Introduction to Empirical Economics

OCR Statistics 1 Probability. Section 1: Introducing probability

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

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

Basic Concepts of Probability

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

Midterm #1 - Solutions

Event A: at least one tail observed A:

Math 140 Introductory Statistics

3.1 Events, Sample Spaces, and Probability

STA Module 4 Probability Concepts. Rev.F08 1

Venn Diagrams; Probability Laws. Notes. Set Operations and Relations. Venn Diagram 2.1. Venn Diagrams; Probability Laws. Notes

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

Probability: Part 1 Naima Hammoud

Math 243 Section 3.1 Introduction to Probability Lab

Conditional Probability

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

Topic 4 Probability. Terminology. Sample Space and Event

Introduction to probability

Probability and Statistics Notes

Conditional Probability

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

MA : Introductory Probability

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

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

Chapter 01: Probability Theory (Cont d)

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

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

The possible experimental outcomes: 1, 2, 3, 4, 5, 6 (Experimental outcomes are also known as sample points)

PERMUTATIONS, COMBINATIONS AND DISCRETE PROBABILITY

Basic Statistics and Probability Chapter 3: Probability

Determining Probabilities. Product Rule for Ordered Pairs/k-Tuples:

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

Math 1313 Experiments, Events and Sample Spaces

Stat 225 Week 1, 8/20/12-8/24/12, Notes: Set Theory

CMPSCI 240: Reasoning about Uncertainty

3 PROBABILITY TOPICS

Basic Concepts of Probability

Chapter. Probability

Lecture 1. ABC of Probability

Probability and Independence Terri Bittner, Ph.D.

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

4. Suppose that we roll two die and let X be equal to the maximum of the two rolls. Find P (X {1, 3, 5}) and draw the PMF for X.

MAT2377. Ali Karimnezhad. Version September 9, Ali Karimnezhad

Lecture 3 Probability Basics

Example: Suppose we toss a quarter and observe whether it falls heads or tails, recording the result as 1 for heads and 0 for tails.

Mathematics. ( : Focus on free Education) (Chapter 16) (Probability) (Class XI) Exercise 16.2

Dynamic Programming Lecture #4

Probability Theory. Probability and Statistics for Data Science CSE594 - Spring 2016

Probability 5-4 The Multiplication Rules and Conditional Probability

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

BASICS OF PROBABILITY CHAPTER-1 CS6015-LINEAR ALGEBRA AND RANDOM PROCESSES

14 - PROBABILITY Page 1 ( Answers at the end of all questions )

CS 361: Probability & Statistics

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

STAT 111 Recitation 1

Math 140 Introductory Statistics

Chapter 4 - Introduction to Probability

Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman.

Math 140 Introductory Statistics

STA 291 Lecture 8. Probability. Probability Rules. Joint and Marginal Probability. STA Lecture 8 1

AMS7: WEEK 2. CLASS 2

1 Probability Theory. 1.1 Introduction

Introduction and basic definitions

Chapter 6. Probability

Recitation 2: Probability

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

Transcription:

Chapter 7 Wednesday, May 26 th

Random event A random event is an event that the outcome is unpredictable. Example: There are 45 students in this class. What is the probability that if I select one student, student A will be selected? Random event in the example above is student A is selected

Probability bilit To all random events we can assign probabilities. Probability tell us how likely is a random event possible to happen. Probability is a number between 0 and 1. The sum of the probability bilit of all possible outcomes is equal to 1.

Probability interpretation in the long run Let s say I toss a coin. I know that the probability of observing a Head is 0.5 and the probability of observing atailis0.5. is Now let s say that I toss a coin 3 times. Then I can get either 3 Heads or 2 Heads and 1 Tail or 1 Head 2 Tails or 3 Tails Then why we say the probability of observing a Head is 0.5?

Probability interpretation in the long run This is a case where the probability is defined as the proportion p of times something will occur over the long run. Long run = multiple repetition of the same experiment. So if I toss a coin 1000 times I expect around half of the times to get a Head.

Different ways to express a probability Let s say that I am flipping a coin. The following expressions are equivalent: The proportion of times I will get a Head is about 0.5 About 50% of all the times I will toss a coin I will get a Head The probability to get a Head is 0.5

Sample space All possible outcomes of an experiment compose the sample space. What is my sample space if I toss a coin? What is my sample space if I toss a coin 3 What is my sample space if I toss a coin 3 times?

Simple event Each event in a sample space is called a simple event. What are the simple events when I toss a coin? What are the simple events when I toss a coin 3 p times?

Event Event is a collection of simple events

Complementary events One event A is the complement of another event B if: A and B do not contain the same simple events. If we put together th the two events A and B we get the whole sample space We denote the complement of an event A C P A 1 P A as A C. Also

Example Let s say I roll a die. What is my sample space? If I have the events A= the outcome of the die is 1 or 2, B= the outcome of the die is greater or equal to 4 C= the outcome of the die is greater or equal to 3 Is A and B complementary events? Is A and C complementary events? Is B and C complementary events?

Mutually Exclusive events Two events are mutually exclusive (or disjoint) if they do not contain any of the same simple events. When two events are mutually exclusive then P Aor B P A P B Example: I have to select a number between 0 and 9. Let A= select a number less or equal to 2. Let B= select a number greater or equal to 5 What is P(A) and P(B)? What is P(A or B)?

Independent d events Two events are independent, if knowing that one event will occur then this does not change the probability of the second event. Two events are dependent, if knowing that one event will happen, then the probability of the second event changes.

Example Let say we toss a coin two times and let: A= first toss is a Head -> P(A)=0.5 B= first toss is a Tail -> P(B)=0.5 C= second toss is a Tail -> P(C)=0.5 A and B are dependent because if I know that A will happen then B definitely it will not happen and so P(B if A happens)=0 A and C are independent because if A happens that will not affect the outcome of the second experiment.

Conditional probability bilit In the example in the previous slide we are interested about P(B if A happens). This is called the conditional probability and is denoted as P(B A) or P(B given A) Conditional probability of the event B given that A occurs, is called the probability that B will happen if we know that A has happened

Example Let say that I ask a sample of students in Penn State and I get the answers that among the male students 25% have tried marijuana at least once and among the female students 15% have tried marijuana at least once Now if I randomly choose a student. What is the: P(he has tried marijuana is a male)=? P(she has tried marijuana is a female)=?

Rules of probability bilit We will see now four rules that will help us calculate the probabilities. Rule 1: The probability that one event will not occur. Rule 2: The probability that either of two events will occur Rule 3: The probability that two or more events will occur Rule 4: Conditional probability

Rule 1 We want to calculate the probability that event A will not happen. This is the same as calculating P(A C ). We know that the formula of that is: C P A 1 P A Example: I have 45 students in my class. I want to select one to answer one exercise. What is the probability that student A will not be selected?

Rule 2 If I have two events A and B and I want to see what is the probability that either A or B or both will happen then: General Case: P(A or B) = P(A) + P(B) - P(A and B) Mutually y exclusive events: P(A or B) = P(A) + P(B)

Example I ask 1000 students in Penn State if they have ever tried marijuana, and if they have ever tried ecstasy. The results are as follows: Marijuana Yes No Total Ecstasy Yes 50 100 150 No 200 650 850 Total 250 750 1000

Example If I select a random student from Penn State what will be the probability that they have tried either marijuana or ecstasy or both?

Rule 3 To find the probability that two events occur at the same time, that is events A and B happen simultaneously we have: General case: P(A and B) = P(A)P(B/A)=P(B)P(A/B) Independent p events: P(A and B) = P(A)P(B)

Example Let say that I ask a sample of students in Penn State and I get the answers that among the male students 25% have tried marijuana at least once and among the female students 15% have tried marijuana at least once. Also let s assume that my sample is consisted of males at 55% and females at 45% Let A= Select a male Let B= Select someone that have tried marijuana

Example Now if I randomly select a student what is P(A and B) = P(A)P(B A)=P(B)P(A B)?? ( ) ( ) ( ) First note that P(B A)=0.25 Also note that P(A B) is unknown. So P(A and B)=..?

Rule 4 To calculate the conditional probability of two events all you have to do is to restate rule 3. Rule 3 says P(A and B) = P(A)P(B A)=P(B)P(A B) Rule4says: P Aand B P B A, P A B P A P Aand B P B

Example Let say I throw a die and I am interested for two events A= I get an even number, P(A)=1/2 B= I get a number greater or equal to 3, P(B)=2/3 What is P(A and B)? What is P(A B)?

Sampling with or without replacement A sample is drawn with replacement if individuals selected are eligible to get re- selected. A sample is drawn without replacement if all individuals can be selected one time only.

Example Let s say I am asking a question in a class of 45 students. Let s say I choose student A to answer it. Now let s say that I am asking a second question. What is the probability of student B to answer the second question if student A is allowed to answer the second question? if student A is not allowed to answer the second question?

Another useful formula C P B P Aand B P A and B

Baye s Rule Using the formula in previous slide: P Aand B P A B P B P Aand B P B A P A P B A C P A C

Tree Diagrams An easy way to view probabilities is by constructing a tree diagram. Example: Assuming that in Penn State we have 40% male students and 60% female students. Now let s assume that among male students 85% owns a car and among female students 90% owns a car. Construct a tree diagram. Now, let s make things more complicated. Among the male that have a car, 40% own an American model while among women 30% own an American model.