STATISTIC & INFORMATION THEORY (CSNB134) MODULE 4 PRINCIPLES OF PROBABILITY.

Slides:



Advertisements
Similar presentations
Copyright ©2005 Brooks/Cole A division of Thomson Learning, Inc. Introduction to Probability and Statistics Twelfth Edition Robert J. Beaver Barbara M.
Advertisements

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
1 Chapter 3 Probability 3.1 Terminology 3.2 Assign Probability 3.3 Compound Events 3.4 Conditional Probability 3.5 Rules of Computing Probabilities 3.6.
Copyright ©2011 Nelson Education Limited. Probability and Probability Distributions CHAPTER 4.
Chapter 4 Probability and Probability Distributions
Copyright ©2006 Brooks/Cole A division of Thomson Learning, Inc. Introduction to Probability and Statistics Twelfth Edition Robert J. Beaver Barbara M.
Introduction to Probability and Statistics Thirteenth Edition Chapter 3 Probability and Probability Distributions.
Chapter 3 Probability.
Introduction to Probability
Thinking Mathematically
5E Note 4 Statistics with Economics and Business Applications Chapter 3 Probability and Discrete Probability Distributions Experiment, Event, Sample space,
1 Pertemuan 05 Ruang Contoh dan Peluang Matakuliah: I0134 –Metode Statistika Tahun: 2007.
LING 438/538 Computational Linguistics Sandiway Fong Lecture 17: 10/24.
Conditional Probability
Introduction to Probability and Statistics Chapter 4 Probability and Probability Distributions.
Probability Chapter 3. § 3.1 Basic Concepts of Probability.
Statistics and Probability Theory Lecture 09 Fasih ur Rehman.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Counting Principles (Permutations and Combinations )
3.1 Probability Experiments Probability experiment: An action, or trial, through which specific results (counts, measurements, or responses) are obtained.
Copyright ©2006 Brooks/Cole A division of Thomson Learning, Inc. Introduction to Probability and Statistics Twelfth Edition Chapter 4 Probability and Probability.
You probability wonder what we’re going to do next!
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review Instructor: Anirban Mahanti Office: ICT Class.
Conditional Probability The probability that event B will occur given that A will occur (or has occurred) is denoted P(B|A) (read the probability of B.
Computing Fundamentals 2 Lecture 6 Probability Lecturer: Patrick Browne
Chapter 2: Probability · An Experiment: is some procedure (or process) that we do and it results in an outcome. A random experiment: is an experiment we.
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Applicable Mathematics “Probability” Page 113. Definitions Probability is the mathematics of chance. It tells us the relative frequency with which we.
Advanced Precalculus Advanced Precalculus Notes 12.3 Probability.
1 MATB344 Applied Statistics Chapter 4 Probability and Probability Distributions.
PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY
Probability Basic Concepts Start with the Monty Hall puzzle
Introduction  Probability Theory was first used to solve problems in gambling  Blaise Pascal ( ) - laid the foundation for the Theory of Probability.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
QR 32 Section #6 November 03, 2008 TA: Victoria Liublinska
Basic Concepts of Probability
Probability A quantitative measure of uncertainty A quantitative measure of uncertainty A measure of degree of belief in a particular statement or problem.
Aim: Combinations Course: Alg. 2 & Trig. Do Now: Aim: How do we determine the number of outcomes when order is not an issue? Ann, Barbara, Carol, and.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Section 1.3 Each arrangement (ordering) of n distinguishable objects is called a permutation, and the number of permutations of n distinguishable objects.
Copyright ©2006 Brooks/Cole A division of Thomson Learning, Inc. Introduction to Probability and Statistics Twelfth Edition Robert J. Beaver Barbara M.
Chapter 7 Sets & Probability Section 7.3 Introduction to Probability.
CHAPTER 1 Probability Chapter 1 1. Introduction o Definition ~ the measure of any possibilities occurrence of a result in an event. o Question : With.
5E Note 4 Honors Statistics Chapter 5 “Probability”
Chapter 10 PROBABILITY. Probability Terminology  Experiment: take a measurement Like flipping a coin  Outcome: one possible result of an experiment.
Introduction to probability (3) Definition: - The probability of an event A is the sum of the weights of all sample point in A therefore If A1,A2,…..,An.
Probability and Probability Distributions. Probability Concepts Probability: –We now assume the population parameters are known and calculate the chances.
PROBABILITY AND STATISTICS WEEK 2 Onur Doğan. Introduction to Probability The Classical Interpretation of Probability The Frequency Interpretation of.
MATB344 Applied Statistics
PROBABILITY Probability Concepts
What Is Probability?.
Chapter 7: Counting Principles
Chapter 4 Probability Concepts
Probability and Discrete Probability Distributions
Subtopic : 10.1 Events and Probability
What is Probability? Quantification of uncertainty.
Introduction to Probability and Statistics
Probability & Tree Diagrams
Basic Concepts An experiment is the process by which an observation (or measurement) is obtained. An event is an outcome of an experiment,
Probability Probability underlies statistical inference - the drawing of conclusions from a sample of data. If samples are drawn at random, their characteristics.
Chapter 3 Probability.
Section 6.2 Probability Models
Principles of Statistics
Probability & Tree Diagrams
Statistics for IT Lecture 8,9: Introduction to Probability and
Objective: Probability & Tree Diagrams
Independence and Counting
Independence and Counting
Independence and Counting
Probability & Tree Diagrams
Presentation transcript:

STATISTIC & INFORMATION THEORY (CSNB134) MODULE 4 PRINCIPLES OF PROBABILITY

Points to Ponder Activities pertaining computer information systems are basically surrounded by uncertainty. For example, the chances that our hard disk will crash within 2 years, the chances that data will get corrupted over a transmission channel, the accuracy of an error detection mechanism etc. – we can never be certain of these events. However, it is important that we are able to induce these measurements as such we could take safeguards in protecting our data and our IT infrastructure. Hence :- the applications of probability

Probability Probability allows us to use sample data to conclude about the population. Probability distribution models some random variables of the population. Probability can be calculated given data obtained from observations. An experiment is the process by which an observation (or measurement) is obtained. An event is an outcome of an experiment. ExperimentEvents Record an ageA: person is 30 years old B: person is older than 65 Toss a dieA: observe an odd number B: observe a number greater than 2

Overview of Probability ExperimentEvents Alien encounterA: An alien came up to my front door P(A) = 0????

Sample Space. An event that cannot be decomposed is called a simple event. Denoted by E with a subscript. Each simple event will be assigned a probability, measuring “how often” it occurs., The set of all simple events of an experiment is called the sample space, S. E.g. Toss a die S={E 1, E 2, E 3, E 4, E 5, E 6 } : Events: A: observe an odd number {E 1,E 3,E 5 } B: observe a number greater than 2 {E 3,E 4,E 5,E 6 } C: observe a 6 {E 6 } D: observe a 3 {E 3 }

Mutual Exclusive Two events are mutually exclusive if, when one event occurs, the other cannot, and vice versa.  E.g. Experiment: Toss a die :  Events: A: observe an odd number {E 1,E 3,E 5 } B: observe a number greater than 2 {E 3,E 4,E 5,E 6 } C: observe a 6 {E 6 } D: observe a 3 {E 3 }  Mutual Exclusive? (1) A & B – NO (2) C & D – YES (3) A & C – YES (4) B & D - NO

The Probability of an Event The probability of an event A measures “how often” we think A will occur. We write P(A). Suppose that an experiment is performed n times. The relative frequency for an event A is If we let n get infinitely large,

The Probability of an Event (cont.) P(A) must be between 0 and 1. If event A can never occur, P(A) = 0. If event A always occurs when the experiment is performed, P(A) =1. The sum of the probabilities for all simple events in S equals 1.  The probability of an event A is found by adding the probabilities of all the simple events in A. E.g. Experiment: Toss a die EventsProbability A: observe an odd numberP(A) = 3/6 = 1/2 B: observe a number greater than 2P(B) = 4/6 = 2/3 C: observe a 6P(C) = 1/6

Exercise 1 Toss a fair coin twice. What is the probability of observing at least one head? H H 1st Coin 2nd Coin E i P(E i ) H H T T T T H H T T HH HT TH TT 1/4 P(at least 1 head) = P(E 1 ) + P(E 2 ) + P(E 3 ) = 1/4 + 1/4 + 1/4 = 3/4 P(at least 1 head) = P(E 1 ) + P(E 2 ) + P(E 3 ) = 1/4 + 1/4 + 1/4 = 3/4

Exercise 2 A bowl contains three M&Ms ®, one red, one blue and one green. A child selects two M&Ms at random. What is the probability that at least one is red? 1st M&M 2nd M&M E i P(E i ) RB RG BR BG 1/6 P(at least 1 red) = P(RB) + P(RG) +P(BR) + P(GR) = 1/6 + 1/6 + 1/6 + 1/6 = 4/6 = 2/3 P(at least 1 red) = P(RB) + P(RG) +P(BR) + P(GR) = 1/6 + 1/6 + 1/6 + 1/6 = 4/6 = 2/3 m m m m m m m m m GB GR

Counting Rules Fortunately, there are several counting rules that can be applied in order to calculate the probability of events of an experiment. - the mn rules - permutations - combinations

The mn Rule Example: Toss two coins. The total number of simple events is: 2 X 2 = 4 If an experiment is performed in two stages, with m ways to accomplish the first stage and n ways to accomplish the second stage, then there are mn ways to accomplish the experiment. This rule is easily extended to k stages, with the number of ways equal to n1 n2 n3 … nk

Exercise 3 Example: Toss three coins. The total number of simple events is : Example: Two M&Ms are drawn from a dish containing two red and two blue candies. The total number of simple events is: Example: Toss two dice. The total number of simple events is: 6 X 6 = 36 4 X 3 = 12 2 X 2 X 2 = 8

Exercise 4 Example: In data networking, a packet can take 2 routes from Router A to Router B, 3 routes from Router B to router C and 3 routes from Router C to Router D respectively. How many possible A to D routes are available? If one link between Router B and C is down, how many possible A to D routes are available?: 2 X 3 X 3 = 18 2 X 2 X 3 = 12

Permutations The number of ways you can arrange n distinct objects, taking them r at a time is Example: How many 3-digit lock combinations can we make from the numbers 1, 2, 3, and 4? The order of the choice is important!

Exercise 5 Example: A lock consists of five parts and can be assembled in any order. A quality control engineer wants to test each order for efficiency of assembly. How many orders are there? The order of the choice is important!

Combinations The number of distinct combinations of n distinct objects that can be formed, taking them r at a time is Example: Three members of a 5-person committee must be chosen to form a subcommittee. How many different subcommittees could be formed? The order of the choice is not important!

Exercise 6 A box contains six M&Ms ®, four red and two green. A child selects two M&Ms at random. What is the probability that exactly one is red? The order of the choice is not important! 4  2 =8 ways to choose 1 red and 1 green M&M. P( exactly one red) = 8/15

In a Nutshell……… How to differentiate between Permutation & Combination? The ‘MADU 3’ Scenario E.g. Abu is given a chance to choose 3 women as his wives amongst five pretty women Aminah, Salmah, Eton, Esah and Joyah. Case 1: What is the probability that Eton, Esah and Joyah are chosen as the first, second and third wife respectively? Order is important!! First wife must be Eton!! Use Permutations!! Case 2: What is the probability that Eton, Esah and Joyah are chosen as the wives? Order is not important!! Anyone can be the first wife. Use Combinations!!

Something to ponder…. Practice makes PURRRfect!! U may do exercises from any text books on Probability & Statistics; amongst those that I am using:- Mendenhall, Beaver & Beaver, ‘Introduction to Probability & Statistics’, 12 th Edition, Thomson Brooks

STATISTIC & INFORMATION THEORY (CSNB134) PRINCIPLES OF PROBABILITY --END--