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

Similar documents
Basic Concepts of Probability

Probability & Random Variables

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

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

Math 1313 Experiments, Events and Sample Spaces

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

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.

CMPSCI 240: Reasoning about Uncertainty

Basic Concepts of Probability

Single Maths B: Introduction to Probability

8. MORE PROBABILITY; INDEPENDENCE

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

Experiment -- the process by which an observation is made. Sample Space -- ( S) the collection of ALL possible outcomes of an experiment

4. Probability of an event A for equally likely outcomes:

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

AP Statistics Ch 6 Probability: The Study of Randomness

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

Chapter 7 Wednesday, May 26th

Dept. of Linguistics, Indiana University Fall 2015

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

Fundamentals of Probability CE 311S

MA : Introductory Probability

Lecture notes for probability. Math 124

Properties of Probability

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

Lecture 1 : The Mathematical Theory of Probability

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

3.1 Events, Sample Spaces, and Probability

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

Probability Year 9. Terminology

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

Relative Risks (RR) and Odds Ratios (OR) 20

Math 243 Section 3.1 Introduction to Probability Lab

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

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

STAT 111 Recitation 1

Probabilistic Systems Analysis Spring 2018 Lecture 6. Random Variables: Probability Mass Function and Expectation

Notes for Math 324, Part 12

Probability Year 10. Terminology

Lecture 1. ABC of Probability

Econ 325: Introduction to Empirical Economics

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

Unit 7 Probability M2 13.1,2,4, 5,6

Probability Theory and Applications

3.2 Probability Rules

Mutually Exclusive Events

DEPARTMENT OF QUANTITATIVE METHODS & INFORMATION SYSTEMS QM 120. Chapter 4: Experiment, outcomes, and sample space

AMS7: WEEK 2. CLASS 2

Probability and Applications

3 PROBABILITY TOPICS

Lecture 3 Probability Basics

Lecture 2: Probability. Readings: Sections Statistical Inference: drawing conclusions about the population based on a sample

Math 416 Lecture 3. The average or mean or expected value of x 1, x 2, x 3,..., x n is

Lecture 3 - Axioms of Probability

Mean, Median and Mode. Lecture 3 - Axioms of Probability. Where do they come from? Graphically. We start with a set of 21 numbers, Sta102 / BME102

Review Basic Probability Concept

Lecture Lecture 5

Chapter 4 - Introduction to Probability

Intro to Stats Lecture 11

Probability. Chapter 1 Probability. A Simple Example. Sample Space and Probability. Sample Space and Event. Sample Space (Two Dice) Probability

Probability Theory Review

Origins of Probability Theory

Ch 14 Randomness and Probability

Basic Statistics and Probability Chapter 3: Probability

Statistics for Managers Using Microsoft Excel/SPSS Chapter 4 Basic Probability And Discrete Probability Distributions

Chapter 2: Probability Part 1

2011 Pearson Education, Inc

Chapter 2 PROBABILITY SAMPLE SPACE

the time it takes until a radioactive substance undergoes a decay

Dynamic Programming Part 2: Probability, Combinatorics, and Bitmasks

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

Chapter 2. Probability

Statistical Inference

MATH MW Elementary Probability Course Notes Part I: Models and Counting

EPE / EDP 557 Homework 7

Notes Week 2 Chapter 3 Probability WEEK 2 page 1

Probability Theory for Machine Learning. Chris Cremer September 2015

UNIT 5 ~ Probability: What Are the Chances? 1

Lecture 9b: Events, Conditional Probability, Independence, Bayes' Rule Lecturer: Lale Özkahya

Axioms of Probability. Set Theory. M. Bremer. Math Spring 2018

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

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

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

1 Probability Theory. 1.1 Introduction

Introduction to probability

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

Discrete Probability

Discrete Probability. Chemistry & Physics. Medicine

Independence. CS 109 Lecture 5 April 6th, 2016

Statistics for Financial Engineering Session 2: Basic Set Theory March 19 th, 2006

Probability: Sets, Sample Spaces, Events

Conditional Probability and Bayes

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

Preliminary Statistics Lecture 2: Probability Theory (Outline) prelimsoas.webs.com

CHAPTER 3 PROBABILITY TOPICS

Business Statistics MBA Pokhara University

Lecture 4. Selected material from: Ch. 6 Probability

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 1. (a) (b) (c) (d) (e) 2. (a) (b) (c) (d) (e) (a) (b) (c) (d) (e) 4. (a) (b) (c) (d) (e)...

Brief Review of Probability

Transcription:

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

Union and Intersection Let A and B denote two events. The union of two events: A B The intersection of two events: A B STA 291 - Lecture 8 2

Complement Let A denote an event. The complement of an event A: A C Law of Complements: P( A) = 1 P( A c ) STA 291 - Lecture 8 3

Additive Law of Probability Let A and B be two events in a sample space S. The probability of the union of A and B is PA ( B) = PA ( ) + PB ( ) PA ( B). Let A and B be two events in a sample space S. The probability of the union of two disjoint (mutually exclusive) events A and B is PA ( B) = PA ( ) + PB ( ). STA 291 - Lecture 8 4

Using Additive Law of Probability Example: At State U, all first-year students must take chemistry and math. Suppose 15% fail chemistry, 12% fail math, and 5% fail both. Suppose a first-year student is selected at random. What is the probability that student selected failed at least one of the courses? What is the probability that student pass both? A B S STA 291 - Lecture 8 5

Disjoint Events Let A and B denote two events. Disjoint (mutually exclusive) events: A B= No overlap STA 291 - Lecture 8 6

Probability tables Simple table: One row of outcomes, one row of corresponding probabilities. R x C probability tables: when the outcomes are classified by two features STA 291 - Lecture 8 7

Gender and support President Obama? Smoker? And Lung disease? Age group and support Obama? STA 291 - Lecture 8 8

Example: Smoking and Lung Disease Lung Disease No Lung Disease Marginal (smoke status) Smoker 0.12 0.19 0.31 Nonsmoker 0.03 0.66 0.69 Marginal (disease status) 0.15 0.85 1.0 STA 291 - Lecture 8 9

Frequency table and probability table Lung Disease No Lung Disease (total) Marginal (smoke status) Smoker 120 190 Nonsmoker 30 660 (total) Marginal (disease status) 1000 STA 291 - Lecture 8 10

Equivalent to a table with 4 entries: (smoker & lung disease) 0.12 (smoker & not lung disease) 0.19 (nonsmoker & lung disease) 0.03 (nonsmoker & not lung disease) 0.66 But the R x C table reads much better STA 291 - Lecture 8 11

From the R x C table we can get a table for smoker status alone, or disease status alone. Those are called marginal probabilities STA 291 - Lecture 8 12

It s a one way street Given the joint probability table, we can figure out the marginal probability Given the marginal, we may not determine the joint: there can be several different joint tables that lead to identical marginal. STA 291 - Lecture 8 13

Example: Smoking and Lung Disease Lung Disease Not Lung Disease Marginal (smoke status) Smoker 0.02 0.29 0.31 Nonsmoker 0.13 0.56 0.69 Marginal (disease status) 0.15 0.85 Same marginal, different joint. STA 291 - Lecture 8 14

Using the table P(smoker and lung disease ) = 0.02 P(smoker or lung disease ) = 0.44 (either by looking at the table Or using the additive rule for probability) STA 291 - Lecture 8 15

Independence of events May not always hold. If and when it hold: With independence, one way street becomes two way street. Smoking and lung disease are obviously not independent in reality. STA 291 - Lecture 8 16

Independence If events A and B are independent, then the events A and B have no influence on each other. So, the probability of A is unaffected by whether B has occurred. STA 291 - Lecture 8 17

Multiplication rule of probability If A and B are two independent events, then PA ( B) = PAPB ( ) ( ). i.e. joint prob. = product of two marginal prob. STA 291 - Lecture 8 18

Conditional Probability PA ( B) PAB ( ) =, provided PB ( ) 0 PB ( ) Note: P(A B) is read as the probability that A occurs given that B has occurred. STA 291 - Lecture 8 19

Independent Events Multiplication Rule for Independent Events: Let A and B be two independent events, then PA ( B) = PAPB ( ) ( ). Mathematically, if A is independent of B, then: P(A B) = P(A) Examples: Flip a coin twice. What is the probability of observing two heads? Flip a coin twice. What is the probability of getting a head and then a tail? A tail and then a head? STA 291 - Lecture 8 20

In general, if events A and B are not independent, then the multiplication rule becomes PA ( B) = PAPB ( ) ( A) STA 291 - Lecture 8 21

Terminology P(AnB)=P(A and B) Joint probability of A and B (of the intersection of A and B) P(A B) Conditional probability of A given B P(A) (Marginal) probability of A STA 291 - Lecture 8 22

If we have the probability table, then everything can be figured out from the table. NO need to use the rules. Only when no table is available, then we may be able to find out some probabilities from some given/known probabilities (a partial table) using rules. STA 291 - Lecture 8 23

In homework/exam, you may be given a probability table, and are asked to verify certain rules. Or Given a partial table, you are asked to use various rules to find the missing probabilities in the table. STA 291 - Lecture 8 24

Examples STA 291 - Lecture 8 25

Homework STA 291 - Lecture 8 26

Attendance Survey Question On a 4 x6 index card Please write down your name and section number Today s Question: Is A independent of B in reality? A={Stock market go up today}; B={snow > 3 inch in New York today} STA 291 - Lecture 8 27