4 BASICS OF PROBABILITY. Experiment is a process of observation that leads to a single outcome that cannot be predicted with certainty.

Similar documents
The study of probability has increased in popularity over the years because of its wide range of practical applications.

Section 6.2 Definition of Probability

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

Basic Probability Concepts

Lecture Note 1 Set and Probability Theory. MIT Spring 2006 Herman Bennett

Chapter What is the probability that a card chosen from an ordinary deck of 52 cards is an ace? Ans: 4/52.

Probability. Sample space: all the possible outcomes of a probability experiment, i.e., the population of outcomes

(b) You draw two balls from an urn and track the colors. When you start, it contains three blue balls and one red ball.

Math 3C Homework 3 Solutions

Chapter 4 - Practice Problems 1

Contemporary Mathematics- MAT 130. Probability. a) What is the probability of obtaining a number less than 4?

REPEATED TRIALS. The probability of winning those k chosen times and losing the other times is then p k q n k.

Section 5-3 Binomial Probability Distributions

Introduction to Probability

The Procedures of Monte Carlo Simulation (and Resampling)

Fundamentals of Probability


Chapter 4: Probability and Counting Rules

Lab 11. Simulations. The Concept

AP Statistics 7!3! 6!

Basic Probability. Probability: The part of Mathematics devoted to quantify uncertainty

Chapter 3. Probability

Definition and Calculus of Probability

Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Section 6-5 Sample Spaces and Probability

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10

Exam. Name. How many distinguishable permutations of letters are possible in the word? 1) CRITICS

A probability experiment is a chance process that leads to well-defined outcomes. 3) What is the difference between an outcome and an event?

Poker Probability from Wikipedia. Frequency of 5-card poker hands % % 72, : 1

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

Statistics 100A Homework 2 Solutions

5. Probability Calculus

8.3 Probability Applications of Counting Principles

Combinations If 5 sprinters compete in a race, how many different ways can the medals for first, second and third place, be awarded

Hoover High School Math League. Counting and Probability

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

Question of the Day. Key Concepts. Vocabulary. Mathematical Ideas. QuestionofDay

Concepts of Probability

Lesson 1. Basics of Probability. Principles of Mathematics 12: Explained! 314

Lesson Plans for (9 th Grade Main Lesson) Possibility & Probability (including Permutations and Combinations)

Discrete mathematics

SECTION 10-5 Multiplication Principle, Permutations, and Combinations

Chapter 4 - Practice Problems 2

Probabilistic Strategies: Solutions

IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS INTRODUCTION

2. Three dice are tossed. Find the probability of a) a sum of 4; or b) a sum greater than 4 (may use complement)

PROBABILITY SECOND EDITION

Homework 8 Solutions

Methods Used for Counting

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

MATHEMATICS 154, SPRING 2010 PROBABILITY THEORY Outline #3 (Combinatorics, bridge, poker)

Chapter 7 Probability. Example of a random circumstance. Random Circumstance. What does probability mean?? Goals in this chapter

MATH 140 Lab 4: Probability and the Standard Normal Distribution

Math 408, Actuarial Statistics I, Spring Solutions to combinatorial problems

Algebra 2 C Chapter 12 Probability and Statistics

In the situations that we will encounter, we may generally calculate the probability of an event

High School Statistics and Probability Common Core Sample Test Version 2

Basic Probability Theory II

Random variables, probability distributions, binomial random variable

Chapter 5 A Survey of Probability Concepts

Probability and Venn diagrams UNCORRECTED PAGE PROOFS

You flip a fair coin four times, what is the probability that you obtain three heads.

6. Let X be a binomial random variable with distribution B(10, 0.6). What is the probability that X equals 8? A) (0.6) (0.4) B) 8! C) 45(0.6) (0.

Elements of probability theory

STAT 319 Probability and Statistics For Engineers PROBABILITY. Engineering College, Hail University, Saudi Arabia

Lesson 3: Calculating Conditional Probabilities and Evaluating Independence Using Two-Way Tables

2.5 Conditional Probabilities and 2-Way Tables

Statistics 100A Homework 3 Solutions

EXAM. Exam #3. Math 1430, Spring April 21, 2001 ANSWERS

Introductory Probability. MATH 107: Finite Mathematics University of Louisville. March 5, 2014

Bayesian Tutorial (Sheet Updated 20 March)

Probability Distribution for Discrete Random Variables

Find the indicated probability. 1) If a single fair die is rolled, find the probability of a 4 given that the number rolled is odd.

14.30 Introduction to Statistical Methods in Economics Spring 2009

Probability and Statistics Vocabulary List (Definitions for Middle School Teachers)

Review for Test 2. Chapters 4, 5 and 6

PERMUTATIONS and COMBINATIONS. If the order doesn't matter, it is a Combination. If the order does matter it is a Permutation.

36 Odds, Expected Value, and Conditional Probability

1 Combinations, Permutations, and Elementary Probability

2. Discrete random variables

AP Stats - Probability Review

Math Quizzes Winter 2009

2 Binomial, Poisson, Normal Distribution

2. How many ways can the letters in PHOENIX be rearranged? 7! = 5,040 ways.

STATISTICS 230 COURSE NOTES. Chris Springer, revised by Jerry Lawless and Don McLeish

A natural introduction to probability theory. Ronald Meester

Probability of Compound Events

Probability for Computer Scientists

WHERE DOES THE 10% CONDITION COME FROM?

Probability: Terminology and Examples Class 2, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

MCB 432. Basic Probability: Considering the Odds

Probability And Counting Problems with the TI-83

Lesson 17: Margin of Error When Estimating a Population Proportion

Contemporary Mathematics Online Math 1030 Sample Exam I Chapters No Time Limit No Scratch Paper Calculator Allowed: Scientific

Without data, all you are is just another person with an opinion.

A Few Basics of Probability

Statistics 100A Homework 8 Solutions

Comparison of frequentist and Bayesian inference. Class 20, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Unit 19: Probability Models

Transcription:

4 BASICS OF PROBABILITY Experiment is a process of observation that leads to a single outcome that cannot be predicted with certainty. Examples: 1. Pull a card from a deck 2. Toss a coin 3. Response time. Sample Space: All outcomes of an experiment. Usually denoted by S. Event denoted by E is any subset of S 1. E = Spades 2. E = Head 3. E = Component is functioning P(E) denotes the probability of the event E. 1. P(E) = P(Spades) 2. P(E) = P(Head) 3. P(E) = P(Component is functioning)

Calculating Probabilities CLASSICAL APPROACH: Assumes all outcomes of the experiment are equally likely: number of favourable cases P(E) = number of possible cases Example: Roll a fair die. E = even number P(E) = 3 6 RELATIVE FREQUENCY APPROACH: Interprets the probability as the relative frequency of the event over a long series of experiment. P(E) = no. of times E occurs no. of times experiment is repeated Example: Roll a die a large number of times and observe number of times an even number occurs. P(E) = number of observed evens number of times the die is rolled

Examples: 1. Toss a coin. What is the probability of getting a head? 2. Toss two coins. What is the probability of getting at least one head? 3. Select a card from a deck. What is the probability that it is a diamond? 4. A group of four integrated-circuit (IC) chips consists of two good chips and two defective chips. If three chips are selected at random from this group, what is the probability that two are defective? Solution: A natural sample space for this problem consists of all possible three-chip selections from the group of four chips: S = {g 1 g 2 d 1, g 1 g 2 d 2, g 1 d 1 d 2, g 2 d 1 d 2 }. E = Two of the three selected chips are defective. Since the two sample points g 1 d 1 d 2 and g 2 d 1 d 2 are favourable to the event E and since the sample space has four points, we conclude that P(E) = 2/4 = 1/2.

Permutations and Combinations: We have seen that finding P(E) simply involves counting the number of equally likely outcomes favourable to E. However, counting by hand may not be feasible when the sample space is large. Example Passwords consist of three letters. Find the probability that a randomly chosen password will not have any repeated letters. Let A = {a, b,..., z} be the alphabet of 26 letters. Then the sample space is S = {(α, β, γ) : α A, β A, γ A} and the event of interest is E = {(α, β, γ) : α β, β γ, γ α} The number of cases favourable to E is 26 for the first letter 25 for the second 24 for the third, giving a total of 26 25 24 = 15, 600 The number of possible cases in S = 26 3 = 17, 576. Then P(E) = 15, 600 17, 576 = 0.89.

Permutation The number of ordered sequences where repetition is not allowed, i.e. no element can appear more than once in the sequence. Examples: 1. Three elements {1,2,3}. How many sequences of two elements from these three? (1,2); (1,3); (2,1); (2, 3); (3,1); (3,2). Six ordered sequences altogether. 2. Four elements {1,2,3,4}. How many sequences of two elements from these four? (1,2); (1,3); (1,4) (2,1); (2, 3); (2,4); (3,1); (3,2); (3,4); (4,1); (4,2); (4,3). Twelve ordered sequences altogether. 3. Four elements {1,2,3,4}. How many sequences of three elements from these four? (1,2,3); (1,3,2); (1,2,4); (1,4,2); (1,3,4); (1,4,3) (2,1,3); (2,3,1); (2,1,4); (2,4,1); (2,3,4); (2,4,3) (3,1,2); (3,2,1); (3,2,4); (3,4,2); (3,1,4); (3,4,1) (4,1,3); (4,3,1); (4,1,2); (4,2,1); (4,3,2); (4,2,3) Twenty-four ordered sequences.

Permutations: Ordered samples (sequences) of size k from n n P k = n(n 1)...(n k + 1) = n! (n k)! 1. 3 P 2 = 3 2 = 6 prod (3:2) [1] 6 2. 4 P 2 = 4 3 = 12 prod (4:3) [1] 2 3. 4 P 3 = 4 3 2 = 24 prod (4:2) [1] 24

Example A series of 10 jobs arrive at a computing centre with 10 processors. Assume that each of the jobs is equally likely to go through any of the processors. Find the probability that all processors are occupied. There are 10 10 ways of assigning the 10 jobs to the 10 processors. Let E be the event that all the processors are occupied. i.e all the 10 jobs go to different processors. The number of ways that each processor receives one job is 10! = 10 P 10 P(All different processors) = Calculating this in R gives prod(10:1)/10^10 [1] 0.00036288 less that.04% 10 P 10 10 10 Convesely P(At least 2 jobs assigned to at least 1 processors) = 1 0.00036288 = 0.9996371 almost certainty

Combinations: Example In how many ways can we select three distinct letters {α, β, γ} from the alphabet A = {a, b,..., z}? Taking the three letters a, b, c, the ordered sets are (a, b, c), (a, c, b), (b, a, c), (b, c, a), (c, a, b), (c, b, a), 6 permutations in all; but if we ignore the order, there is just one combination.

Combinations: The number of unordered sets of distinct elements, i.e. repetition is not allowed. Examples: 1. Three elements {1,2,3}. How many sets (combinations) of two elements from these three? Recall for permutations (ordered sequences) there are 6 in all: (1,2); (1,3); (2,1); (2, 3); (3,1); (3,2). For combinations (1, 2) and (2,1) are equivalent. Number of unordered sets = 3: {1,2}; {1,3}; {2,3} 2. Four elements {1,2,3,4}. How many combinations of two elements from four? {1,2}; {1,3}; {1,4} {2,3}; {2, 4}; {3,4}; Six unordered sets altogether. 3. Four elements {1,2,3,4}. How many unordered of three elements from four? {1,2,3}; {1,2,4}; {2,3,4}; {3,1,4} Four unordered sequences.

Combinations: Number of ways of selecting k distinct elements from n or equivalently number of unordered samples of size k, without replacement from n n P k n n! C k = = k! k!(n k)! This is the number of combinations of n distinct objects taken k at a time. Alternative Notation: ( ) n k = n C k. For example: 1. 3 C 2 = 3 P 2 2! = 3 2 2 1 = 3 choose(3,2) [1] 3 2. 4 C 2 = 4 P 2 2! = 4 3 2 1 = 6 choose(4,2) [1] 6 3. 4 C 3 = 4 P 3 3! = 4 3 2 3 2 1 = 4 choose(4,3) [1] 4

Examples 1. If a box contains 75 good IC chips and 25 defective chips, and 12 chips are selected at random, find the probability that all chips are good. E = All chips are good. P(E) = ( ) 75 ( 12 ) 100 12 To calculate P(E) from R : choose(75,12)/choose(100,12) [1] 0.02486992 2. Choose a sample of ten from a class of 100 consisting of 60 females and 40 males. What is the probability of getting 10 females? 3. A box with fifteen integrated circuit chips contains five defectives. If a random sample of three chips is drawn, what is the probability that all three are defective? 4. In a party of five persons, compute the probability that at least two have the same birthday (month/day), assuming a 365 day year. 5. In a class of 100, what is the probability that at least 2 have the same birthday?