Introduction to Probability and Statistics Chapter 4 Probability and Probability Distributions.

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

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.
7 Probability Experiments, Sample Spaces, and Events
Copyright ©2011 Nelson Education Limited. Probability and Probability Distributions CHAPTER 4.
Chapter 4 Probability and Probability Distributions
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 4 PRINCIPLES OF PROBABILITY.
© 2011 Pearson Education, Inc
Mathematics.
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 Two Probability
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Chapter 3 Probability.
Introduction to Probability
Chapter 4 Using Probability and Probability Distributions
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 4-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
5E Note 4 Statistics with Economics and Business Applications Chapter 3 Probability and Discrete Probability Distributions Experiment, Event, Sample space,
1 Pertemuan 06 Kejadian Bebas dan Bersyarat Matakuliah: I0134 – Metode Statistika Tahun: 2007.
1 Pertemuan 07 Peubah Acak Diskrit Matakuliah: I0134 -Metode Statistika Tahun: 2007.
Chapter Two Probability. Probability Definitions Experiment: Process that generates observations. Sample Space: Set of all possible outcomes of an experiment.
1 Pertemuan 05 Ruang Contoh dan Peluang Matakuliah: I0134 –Metode Statistika Tahun: 2007.
Class notes for ISE 201 San Jose State University
Fundamentals of Probability
Probability Chapter 3. § 3.1 Basic Concepts of Probability.
Stat 1510: Introducing Probability. Agenda 2  The Idea of Probability  Probability Models  Probability Rules  Finite and Discrete Probability Models.
Copyright ©2011 Nelson Education Limited. Probability and Probability Distributions CHAPTER 4 Part 2.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
5.1 Basic Probability Ideas
Lecture Slides Elementary Statistics Twelfth Edition
Probability.
Copyright ©2006 Brooks/Cole A division of Thomson Learning, Inc. Introduction to Probability and Statistics Twelfth Edition Chapter 4 Probability and Probability.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review Instructor: Anirban Mahanti Office: ICT Class.
Random Experiment Random Variable: Continuous, Discrete Sample Space: S Event: A, B, E Null Event Complement of an Event A’ Union of Events (either, or)
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
1 MATB344 Applied Statistics Chapter 4 Probability and Probability Distributions.
Probability Basic Concepts Start with the Monty Hall puzzle
12/7/20151 Probability Introduction to Probability, Conditional Probability and Random Variables.
(c) 2007 IUPUI SPEA K300 (4392) Probability Likelihood (chance) that an event occurs Classical interpretation of probability: all outcomes in the sample.
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
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
Discrete Probability Distributions
Population Genetics Lab Lab Instructor: Hari Chhetri PhD student Department of Biology Area of Research: Association genetics (Populus) Office:Life Sciences.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Copyright ©2006 Brooks/Cole A division of Thomson Learning, Inc. Introduction to Probability and Statistics Twelfth Edition Robert J. Beaver Barbara M.
Lecturer : FATEN AL-HUSSAIN Discrete Probability Distributions Note: This PowerPoint is only a summary and your main source should be the book.
5E Note 4 Honors Statistics Chapter 5 “Probability”
3-1 Copyright © 2014, 2011, and 2008 Pearson Education, Inc.
Probability Probability Day 4. Independent Practice Topic 3 packet pg
Chapter 10 PROBABILITY. Probability Terminology  Experiment: take a measurement Like flipping a coin  Outcome: one possible result of an experiment.
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
Probability and Probability Distributions. Probability Concepts Probability: –We now assume the population parameters are known and calculate the chances.
MATB344 Applied Statistics
Peubah Acak Diskrit Pertemuan 07
Probability and Discrete Probability Distributions
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
PROBABILITY AND PROBABILITY RULES
What is Probability? Quantification of uncertainty.
CS104:Discrete Structures
Statistics for Business and Economics
Introduction to Probability and Statistics
Introduction to Probability
Basic Concepts An experiment is the process by which an observation (or measurement) is obtained. An event is an outcome of an experiment,
Chapter 3 Probability.
Kejadian Bebas dan Bersyarat Pertemuan 06
Principles of Statistics
Statistics for IT Lecture 8,9: Introduction to Probability and
Presentation transcript:

Introduction to Probability and Statistics Chapter 4 Probability and Probability Distributions

Probability Example: If we toss a coin 10 times and get 10 heads in a row; Question: Do you believe it is a fair coin? Answer: No. Reason: If the coin is fair, the chance to have 10 heads in a row is less than 0.1% (According to probability theory). Tool and foundation of statistics; Evaluate reliability of statistical conclusions…

Basic Concepts experimentAn experiment is the process by which an observation (or measurement) is obtained. Experiment: Record an ageExperiment: Record an age Experiment: Toss a dieExperiment: Toss a die Experiment: Record an opinion (yes, no)Experiment: Record an opinion (yes, no) Experiment: Toss two coinsExperiment: Toss two coins

Basic Concepts eventA simple event is the outcome that is observed on a single repetition of the experiment. –The basic element to which probability is applied. –One and only one simple event can occur when the experiment is performed. simple eventA simple event is denoted by E with a subscript.

Basic Concepts Each simple event will be assigned a probability, measuring “how often” it occurs. sample space, S.The set of all simple events of an experiment is called the sample space, usually denoted by S.

Example The die toss:The die toss: Simple events:Sample space: E1E2E3E4E5E6E1E2E3E4E5E6 S ={E 1, E 2, E 3, E 4, E 5, E 6 }S E 1 E 6 E 2 E 3 E 4 E 5 (or S ={1, 2, 3, 4, 5, 6}) Venn Diagram

Example Record a person’s blood type:Record a person’s blood type: Simple events:Sample space: E1E2E3E4E1E2E3E4 S ={E 1, E 2, E 3, E 4 } A A O O B B AB S ={A, B, AB, O}

Basic Concepts event simple events.An event is a collection of one or more simple events. The die toss:The die toss: –A: an odd number –B: a number > 2S A ={E 1, E 3, E 5 } B ={E 3, E 4, E 5, E 6 } B A E 1 E 6 E 2 E 3 E 4 E 5

Basic Concepts mutually exclusiveTwo events are mutually exclusive if, when one event occurs, the other cannot, and vice versa. Experiment: Toss a dieExperiment: Toss a die –A: observe an odd number –B: observe a number greater than 2 –C: observe a 6 –D: observe a 3 Not Mutually Exclusive Mutually Exclusive A and C? A and D? B and C?

The Probability of an Event P(A).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 P(A) must be between 0 and 1. –If event A can never occur, P(A) = 0. –If event A always occurs, P(A) =1. The sum of the probabilities for all simple events in S equals 1. P(S)=1. The probability of an event A can be found by adding the probabilities of all the simple events in A.

–10% of the U.S. population has red hair. Select a person at random. Finding Probabilities Probabilities can be found using –Estimates from empirical studies –Common sense estimates based on equally likely events. P(Head) = 1/2 P(Red hair) =.10 Examples:Examples: –Toss a fair coin.

Example Toss a fair coin twice. What is the probability of observing at least one head (event A)? Exactly one Head (event B)? 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(A) = P(E 1 ) + P(E 2 ) + P(E 3 ) = 1/4 + 1/4 + 1/4 = 3/4 P(at least 1 head)= P(A) = P(E 1 ) + P(E 2 ) + P(E 3 ) = 1/4 + 1/4 + 1/4 = 3/4 Tree Diagram P(exactly 1 head)=P(B) = P(E 2 ) + P(E 3 ) = 1/4 + 1/4 = 1/2 P(exactly 1 head)=P(B) = P(E 2 ) + P(E 3 ) = 1/4 + 1/4 = 1/2

Example A bowl contains three M&Ms ®, two reds, one blue. A child selects two M&Ms at random. Probability of observing exactly two reds? 1st M&M 2nd M&M E i P(E i ) r1b r1r2 r2b r2r1 1/6 P(exactly two reds) = P(r1r2) + P(r2r1) = 1/6 +1/6 = 1/3 P(exactly two reds) = P(r1r2) + P(r2r1) = 1/6 +1/6 = 1/3 r1 b b b br1 br2 r2 r1b

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

Example Simple Events Probabilities HHH HHT HTH HTT 1/8 P(Exactly 2 heads)= P(B) = P(HHT) + P(HTH) + P(THH) = 1/8 + 1/8 + 1/8 = 3/8 P(Exactly 2 heads)= P(B) = P(HHT) + P(HTH) + P(THH) = 1/8 + 1/8 + 1/8 = 3/8 P(at least 2 heads)=P(A) = P(HHH)+P(HHT)+P(HTH)+P(THH) = 1/8 + 1/8 +1/8 + 1/8 = 1/2 P(at least 2 heads)=P(A) = P(HHH)+P(HHT)+P(HTH)+P(THH) = 1/8 + 1/8 +1/8 + 1/8 = 1/2 THH THT TTH TTT A={HHH, HHT, HTH, THH} B={HHT,HTH,THH} Toss a fair coin 3 times. What is the probability of observing at least two heads (event A)? Exactly two Heads (event B)?

Example Simple Events HHH HHT HTH HTT C={HTT,THT,TTH,TTT} THH THT TTH TTT A={HHH,HHT,HTH,THH} B={HHT,HTH,THH} A: at least two heads; B: exactly two heads; C: at least two tails; D: exactly one tail. Questions: A and C mutually exclusive? B and D? D={HHT,HTH,THH} Mutually Exclusive Not Mutually Exclusive

Example Toss a fair coin twice. What is the probability of observing at least one head (Event A)? 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(A) = P(HH) + P(HT) + P(TH) = 1/4 + 1/4 + 1/4 = 3/4 P(at least 1 head) = P(A) = P(HH) + P(HT) + P(TH) = 1/4 + 1/4 + 1/4 = 3/4 A={HH, HT, TH} S={HH, HT, TH, TT}

Example A bowl contains three M&Ms ®, two reds, one blue. A child selects two M&Ms at random. What is the probability that exactly two reds (Event A)? 1st M&M 2nd M&M E i P(E i ) r1b r1r2 r2b r2r1 1/6 P(A) = P(r1r2) + P(r2r1) = 1/6 +1/6 = 2/6=1/3 P(A) = P(r1r2) + P(r2r1) = 1/6 +1/6 = 2/6=1/3 r1 b b b br1 br2 r2 r1b A={r1r2, r2r1}

Counting Rules If the simple events in an experiment are equally likely, we can calculate We can use counting rules to find #A and #S.

Counting How many ways from A to C? 3  2 = 6 3  2  2 = 12 How many ways from A to D?

The mn Rule For a two-stage experiment, m ways to accomplish the first stage n ways to accomplish the second stage then there are mn ways to accomplish the whole experiment. For a k-stage experiment, number of ways equal to n 1 n 2 n 3 … n k Example: Example: Toss two coins. The total number of simple events is: 2  2 = 4

Examples Example: Example: Toss three coins. The total number of simple events is: 2  2  2 = 8 Example: Example: Two M&Ms are drawn in order from a dish containing four candies. The total number of simple events is: 6  6 = 36 Example: Example: Toss two dice. The total number of simple events is: m m 4  3 = 12

Permutations n distinct objects, take r objects at a time and arrange them in order. The number of different ways you can take and arrange is The order of the choice is important! Example: Example: How many 3-digit lock passwords can we make by using 3 different numbers among 1, 2, 3, 4 and 5?

Example Example: 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!

Example How many ways to select a student committee of 3 members: chair, vice chair, and secretary out of 8 students? The order of the choice is important! ---- Permutation

Combinations n distinct objects, select r objects at a time without regard to the order. The number of different ways you can select is Example: 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!

Example How many ways to select a student committee of 3 members out of 8 students? (Don’t assign chair, vice chair and secretary). The order of the choice is NOT important!  Combination

Question A box contains 7 M&Ms ®, 4 reds and 3 blues. A child selects three M&Ms at random. What is the probability that exactly one is red (Event A) ? r1r4r3r2b2b1b3 Simple Events and sample space S: {r1r2r3, r1r2b1, r2b1b2…... } Simple events in event A: {r1b1b2, r1b2b3, r2b1b2……}

Solution Choose 3 MMs out of 7. (Total number of ways, i.e. size of sample space S) The order of the choice is not important! 4  3 = 12 ways to choose 1 red and 2 greens ( mn Rule) Event A: one red, two blues Choose one red Choose Two Blues

S Event Relations - Union union or both The union of two events, A and B, is the event that either A or B or both occur when the experiment is performed. We write A  B AB

S AB Event Relations-Intersection The intersection of two events, A and B, is the event that both A and B occur. We write A  B. If A and B are mutually exclusive, then P(A  B) = 0.

S Event Relations - Complement The complement of an event A consists of all outcomes of the experiment that do not result in event A. We write A C ( The event that event A doesn’t occur). A ACAC

Example Select a student from a college –A: student is colorblind –B: student is female –C: student is male What is the relationship between events B and C? A C : B  C: B  C: Mutually exclusive and B = C C Student is not colorblind Student is both male and female =  Student is either male or female = all students = S

Example Toss a coin twice –A: At least one head {HH, HT, TH}; –B: Exact one head {HT, TH}; –C: At least one tail {HT, TH, TT}. A C : A  B: A  C: {TT} No head {HT, TH} Exact one head {HH, HT, TH, TT}=S -- Sample space

Probabilities for Unions The Additive Rule for Unions: For any two events, A and B, the probability of their union, P(A  B), is A B

Example: Additive Rule Example: Suppose that there were 1000 students in a college, and that they could be classified as follows: Male (B)Female Colorblind (A)402 Not Colorblind A: Colorblind P(A) = 42/1000=.042 B: Male P(B) = 510/1000=.51 P(A  B) = P(A) + P(B) – P(A  B) = 42/ / /1000 = 512/1000 =.512 P(A  B) = P(A) + P(B) – P(A  B) = 42/ / /1000 = 512/1000 =.512 Check: P(A  B) = ( )/1000 =.512 Check: P(A  B) = ( )/1000 =.512

A Special Case mutually exclusive, When two events A and B are mutually exclusive, P(A  B) = 0 and P(A  B) = P(A) + P(B). A: male and colorblind P(A) = 40/1000 B: female and colorblind P(B) = 2/1000 P(A  B) = P(A) + P(B) = 40/ /1000 = 42/1000=.042 P(A  B) = P(A) + P(B) = 40/ /1000 = 42/1000=.042 A and B are mutually exclusive, so that MaleFemale Colorblind402 Not Colorblind470488

Probabilities for Complements A:We know that for any event A: P(A  A C ) = 0 Since either A or A C must occur, P(A  A C ) =1 so thatP(A  A C ) = P(A)+ P(A C ) = 1 P(A C ) = 1 – P(A) A ACAC

Example A: male P(A) = 510/1000=.51 B: female P(B) = 1- P(A) = =.49 P(B) = 1- P(A) = =.49 A and B are complementary, so that Select a student at random from the college. Define: MaleFemale Colorblind402 Not Colorblind470488

Example Toss a fair coin twice. Define –A: head on second toss –B: head on first toss –If B occurred, what is probability that A occurred? –If B didn’t occur, what is probability that A occurred? HT TH TT 1/4 P(A given B occurred) = ½ P(A given B did not occur) = ½ P(A given B occurred) = ½ P(A given B did not occur) = ½ HH P(A) does not change, whether B happens or not… A and B are independent!

Conditional Probabilities conditional probability The probability that A occurs, given that event B has occurred is called the conditional probability of A given B and is defined as “given”

Probabilities for Intersections In the previous example, we found P(A  B) directly from the table. Sometimes this is impractical or impossible. The rule for calculating P(A  B) depends on the idea of independent and dependent events. Two events, A and B, are said to be independent if and only if the probability that event A occurs is not changed by occurrence of event B, or vice versa.

Example 1 Toss a fair coin twice. Define –A: head on second toss –B: head on first toss –A  B: head on both first and second HT TH TT 1/4 P(A|B) = P(A  B)/P(B)=(1/4)/(1/2)=1/2 P(A|not B) = 1/2 P(A|B) = P(A  B)/P(B)=(1/4)/(1/2)=1/2 P(A|not B) = 1/2 HH P(A) does not change, whether B happens or not… A and B are independent!

Example 2 A bowl contains five M&Ms ®, two red and three blue. Randomly select two candies, and define –A: second candy is red. –B: first candy is blue. m m m m m P(A|B) =P(2 nd red|1 st blue)= 2/4 = 1/2 P(A|not B) = P(2 nd red|1 st red) = 1/4 P(A|B) =P(2 nd red|1 st blue)= 2/4 = 1/2 P(A|not B) = P(2 nd red|1 st red) = 1/4 P(A) does change, depending on whether B happens or not… A and B are dependent!

Defining Independence We can redefine independence in terms of conditional probabilities: Two events A and B are independent if and only if P(A  B) = P(A) orP(B|A) = P(B) Otherwise, they are dependent. Two events A and B are independent if and only if P(A  B) = P(A) orP(B|A) = P(B) Otherwise, they are dependent. Once you’ve decided whether or not two events are independent, you can use the following rule to calculate their intersection.

Multiplicative Rule for Intersections For any two events, A and B, the probability that both A and B occur is P(A  B) = P(A) P(B given that A occurred) = P(A)P(B|A) If the events A and B are independent, then the probability that both A and B occur is P(A  B) = P(A) P(B)

Example 1 In a certain population, 10% of the people can be classified as being high risk for a heart attack. Three people are randomly selected from this population. What is the probability that exactly one of the three is high risk? Define H: high riskN: not high risk P(exactly one high risk) = P(HNN) + P(NHN) + P(NNH) = P(H)P(N)P(N) + P(N)P(H)P(N) + P(N)P(N)P(H) = (.1)(.9)(.9) + (.9)(.1)(.9) + (.9)(.9)(.1)= 3(.1)(.9) 2 =.243 P(exactly one high risk) = P(HNN) + P(NHN) + P(NNH) = P(H)P(N)P(N) + P(N)P(H)P(N) + P(N)P(N)P(H) = (.1)(.9)(.9) + (.9)(.1)(.9) + (.9)(.9)(.1)= 3(.1)(.9) 2 =.243

Example 2 Suppose we have additional information in the previous example. We know that only 49% of the population are female. Also, of the female patients, 8% are high risk. A single person is selected at random. What is the probability that it is a high risk female? Define H: high riskF: female From the example, P(F) =.49 and P(H|F) =.08. Use the Multiplicative Rule: P(high risk female) = P(H  F) = P(F)P(H|F) =.49(.08) =.0392 From the example, P(F) =.49 and P(H|F) =.08. Use the Multiplicative Rule: P(high risk female) = P(H  F) = P(F)P(H|F) =.49(.08) =.0392

Example 3 2 green and 4 red M&Ms are in a box; Two of them are selected at random. A: First is green; B: Second is red. Find P(A  B). m m mm mm

Method 1 Choose 2 MMs out of 6. Order is recorded. (Total number of ways, i.e. size of sample space S) The order of the choice is important! Permutation 2  4 = 8 ways to choose first green and second red ( mn Rule) Event A  B: First green, second red First green Second Red m m mm mm

Method 2 A: First is green; B: Second is red; A  B: First green, second red m m mm mm P(A) P(B|A) P(A  B) = P(A)P(B|A) P(A  B) = 2/6(4/5)=8/30 2/6 P(Second red | First green)=4/5

Example 4 A: Male B: Colorblind Find P(A), P(A|B) Are A and B independent? P(A) = 510/1000=.51 Select a student at random from the college. Define: Male (A)Female Colorblind (B)402 Not Colorblind P(A|B) = P( A  B )/P(B)=.040/.042=.95 P(B) = 42/1000=.042 P( A  B) = 40/1000=.040 P(A|B) and P(A) are not equal. A, B are dependent

Probability Rules & Relations of Events Complement Event Additive Rule Multiplicative Rule Conditional probability Mutually Exclusive Events Independent Events

Random Variables random variableA numerically valued variable x is a random variable if the value that it assumes, corresponding to the outcome of an experiment, is a chance or random event. discrete ontinuous.Random variables can be discrete or continuous. Examples:Examples: x = SAT score for a randomly selected student x = number of people in a room at a randomly selected time of day x = weight of a fish drawn at random

Probability Distributions for Discrete Random Variables robability distribution of a discrete random variable x Probability distribution of a discrete random variable x, is a graph, table or formula that gives possible values of x probability p(x) associated with each value x.

Example 1 Toss a fair coin once, Define x = number of heads. Find distribution of x 1/2 P(x = 0) = 1/2 P(x = 1) = 1/2 P(x = 0) = 1/2 P(x = 1) = 1/2 H H T T x10x10 xp(x) 01/2 1

Example 2 Toss a fair coin three times and define x = number of heads. 1/8 P(x = 0) = 1/8 P(x = 1) = 3/8 P(x = 2) = 3/8 P(x = 3) = 1/8 P(x = 0) = 1/8 P(x = 1) = 3/8 P(x = 2) = 3/8 P(x = 3) = 1/8 HHH HHT HTH THH HTT THT TTH TTT x x xp(x) 01/8 13/8 2 31/8 Probability Histogram for x

Example In a casino game, it has probability 0.5 of winning $2 and probability 0.5 of winning $3. x denotes the money won in a game. Find its probability distribution. How much should be paid for a game? xp(x)p(x) $20.5 $30.5 Expected Value: 2(.5)+3(.5)=$2.5

Expected Value of Random Variable Let x be a discrete random variable with probability distribution p(x). Then the expected value, denoted by E(x), is defined by

Example Toss a fair coin 3 times and record x the number of heads. xp(x)p(x)xp(x) 01/80(1/8)=0 13/81(3/8)= /82(3/8)= /83(1/8)=0.375 Total 1.5

Example In a lottery, 8,000 tickets are sold at $5 each. The prize is a $12,000 automobile and only one ticket will be the winner. If you purchased two tickets, your expected gain? μ = E(x) = Σ xp(x) = (-10) ( 7998/8000)+(11,990)(2/8000)= -$7 Define x = your gain. x = -10 or 11,990 xp(x)p(x) -$107998/8000 $11,9902/8000

Mean & Standard Deviation Let x be a discrete random variable with probability distribution p(x). Then the mean, variance and standard deviation of x are given as

Example Toss a fair coin 3 times and record x the number of heads. Find variance by the definition formula. xp(x)p(x) (x-  2 p(x) 01/8(0-1.5) 2 (1/8)= /8(1-1.5) 2 (3/8)= /8(2-1.5) 2 (3/8)= /8(3-1.5) 2 (1/8)= Total.75

Example Toss a fair coin 3 times and record x the number of heads. Find the variance by the computational formula. xp(x)p(x)x2p(x)x2p(x) 01/80 2 (1/8)=0 13/81 2 (3/8)= /82 2 (3/8)=1.5 31/83 2 (1/8)=1.125 Total 3

Example For a casino game, it has probability.2 of winning $5 and probability.8 of nothing. x is money won in a game. Calculate the variance of x. xp(x)p(x) (x-  2 p(x) 00.8(0-1) 2 (0.8)= (5-1) 2 (0.2)=3.2 Total 4 xp(x)x2p(x)x2p(x) (0.8)= (0.2)=5 Total 5

Key Concepts I. Experiments and the Sample Space 1. Experiments, events, mutually exclusive events, simple events 2. The sample space 3. Venn diagrams, tree diagrams, probability tables II. Probabilities 1. Relative frequency definition of probability 2. Properties of probabilities a. Each probability lies between 0 and 1. b. Sum of all simple-event probabilities equals P(A), the sum of the probabilities for all simple events in A

Key Concepts III. Counting Rules 1. mn Rule, extended mn Rule 2. Permutations: 3. Combinations: IV. Event Relations 1. Unions and intersections 2. Events a. Disjoint or mutually exclusive: b. Complementary:

Key Concepts 3. Conditional probability: 4. Independent events 5. Additive Rule of Probability: 6. Multiplicative Rule of Probability:

Key Concepts V. Discrete Random Variables and Probability Distributions 1. Random variables, discrete and continuous 2. Properties of probability distributions 3. Mean or expected value of a discrete random variable: 4. Variance and standard deviation of a discrete random variable: