Download presentation
Presentation is loading. Please wait.
Published byBeverly Tate Modified over 9 years ago
1
Chapter 11 Discrete Random Variables and their Probability Distributions
2
Random Variables A random variable is a numerical outcome of a random experiment A discrete random variable can take on only specific, isolated numerical values, –Finite discrete random variables: Discrete random variables that can take on only finitely many values (like the outcome of a roll of a die) –Infinite discrete random variables: Discrete random variables that can take on an unlimited number of values (like the number of stars estimated to be in the universe) A continuous random variable can take on any values within a continuous range or an interval (like the temperature, or the height of an athlete in centimeters.)
3
Random Variables Example Experiment: Next four customers who enter a bank Random variable x: the number of customers who make a deposit (D) x = 1 represents the event “exactly one customer makes a deposit” xOutcomes 0NNNN 1DNNN,NDNN,NNDN,NNND 2DDNN,DNDN,DNND,NDDN,NDND,NNDD 3DDDN,DDND,DNDD,NDDD 4DDDD D represents a customer who makes a deposit, N represents a customer who does not.
4
Discrete vs. Continuous Random Variables DISCRETECONTINUOUS Values that can be counted and ordered Values that cannot be counted Gap between consecutive valuesOn continuous spectrum Examples: 1) Insurance claims filed in one day 2) Cars sold in one month 3) Employees who call in sick on a day Examples: 1)Time to check out a customer 2)Weight of an outgoing shipment 3)Distance traveled by a truck in a single day 4)Price of a gallon of gas Measure with a specific amount of precision
5
Probability Distributions of a Discrete Random Variable The distribution of a random variable is the collection of possible outcomes along with their probabilities. This may be described by a table, a formula, or a probability histogram. The probability assigned to each value of x lies in the range 0-1. The sum of all the probabilities of x must equal 1.
6
Probability Distributions of a Discrete Random Variable: Example The probability distribution of x describes a list of all the possible values that a x can assume and their corresponding probabilities. CALCULATE the probability of : P(Exactly one depositor in four customers) or P(x=1) P(two or more depositors) or P(x 2) P(Fewer than four depositors) or (P(x<4) xOutcomesP(X) 0NNNN1/16 =.0625 1DNNN, NDNN, NNDN, NNND4/16 =.2500 2DDNN, DNDN, DNND, NDDN, NDND, NNDD6/16 =.3750 3DDDN, DDND, DNDD, NDDD4/16 =.2500 4DDDD1/16 =.0625
7
Mean of a Discrete Random Variable The mean of a discrete random variable, , is actually the mean of its probability distribution. The mean is also called the expected value and is denoted by E (x). xOutcomesP(X)xP(x) 0NNNN1/16 =.06250 (.0625)= 0 1DNNN,NDNN,NNDN,NNND4/16 =.25001 (.25)=.25 2DDNN,DNDN,DNND,NDDN,NDND,NNDD6/16 =.37502 (.375)=.75 3DDDN,DDND,DNDD,NDDD4/16 =.25003 (.25)=.75 4DDDD1/16 =.06254 (.0625)=.25 xP(x) = 2.00
8
Standard Deviation of a Discrete Random Variable The standard deviation, , of a discrete random variable measures the spread of its probability distribution. A higher value indicated that x can assume values over a larger range ± the mean. xP(X)xP(x)xx x P(x) 01/16 =.06250 (.0625)= 000 14/16 =.25001 (.25)=.251.25 26/16 =.37502 (.375)=.7541.5 34/16 =.25003 (.25)=.7592.25 41/16 =.06254 (.0625)=.25161 xP(x) = 2.00 x P(x) = 5
9
EXAMPLE: Discrete Random Variable Calculations Accidents do happen at Brown’s Manufacturing Corp. Let x be the number of accidents that occur during a month, with their probability distribution. Find: XP(X) 0.25 1.30 2.20 3.15 4.10
10
Binomial Distribution A binomial experiment (also known as a Bernoulli trial) is a statistical experiment that has the following properties: The experiment consists of n repeated trials. Each trial can result in just two possible outcomes. We call one of these outcomes a success and the other, a failure. The probability of success, denoted by P, is the same on every trial. The trials are independent; that is, the outcome on one trial does not affect the outcome on other trials. Binomial probability distributions one of the most widely used discrete probability distributions
11
Combinations Combinations: Give the number of ways x elements can be selected from n elements. –Combinations are expressed as n C x (meaning n elements from which x elements are selected) –Example: How many ways to combine managers A,B,C and D in groups of two? 6 C 2 AB,AC,AD,BC,BD,CD (so 6. Note that order doesn’t matter). –Calculated as: –Calculate the above example (selecting 2 out of 6 managers) using the formula.
12
Binomial Probability Distribution The probability distribution of x in binomial experiments is called binomial (probability) distribution. The probability of exactly x successes in n trials is: P(x)= n C x p x q n-x Where n = total number of trials p= probability of success q= probability of failure = 1-p x=number of successes in n trials n-x= number of failures in n trials Example: 15% of engineering students work full time. Using the binomial probability formula find the probability that in a random sample of 5 students, the number who work full time is: (a) exactly 0(b) exactly 2(c) exactly 1
13
Binomial Probability Distribution
14
Binomial Distribution using MINITAB Quality department selects n items from a shipment and observes the number of defective items. If the number of defects is not more than x the shipment is accepted. –Oaks received motors in shipments of 500 –Quality control randomly selects 20 motors to inspect –If the sample has more than 2 defective motors the shipment is rejected. –The supplier promised that only 5% of its motors are defective. Find the probability that a given shipment of 500 motors will be accepted. AND find the probability that a given shipment of 500 motors will be rejected. -In MINITAB select Calc>Probability Distributions>Binomial -Choose cumulative probability -Enter number of trials -Enter Probability of success -Choose to input constant (to be the value for x) -Click ok
15
Binomial Distribution Mean and Std Deviation = np Where n = total number of trials p= probability of success q=probability of failure = 1-p
16
Poisson Probability Distribution A Poisson experiment is a statistical experiment that has the following properties:statistical experiment The experiment results in outcomes that can be classified as successes or failures. The average number of successes (μ) that occurs in a specified region is known. The probability that a success will occur is proportional to the size of the region. The probability that a success will occur in an extremely small region is virtually zero.
17
Poisson Probability Distribution Applied to experiments with random and independent occurrences. –Each event is called an occurrence –Independence means that one occurrence of an event does not influence successive occurrences –Good Examples: Accidents that occur at a company during a one-month period Number of customers in a grocery store during a one-hour interval. –Not good Examples: Patients that arrive at a doctor’s office (since they have appointments, not random). Arrival of commercial airplanes at an airport.
18
Calculating Poisson represents average number of occurrences in an interval. x represents the actual number of occurrences e is approximately 2.71828 EXAMPLE: Let be the average number of customers using an ATM per hour. = 5. What is the probability (x) that 8 customers will try to use the machine in an hour. - Solve using formula - Solve using MINITAB Calc->Probability Distributions->Poisson
19
Poisson Probability Distribution Mean and Std Deviation =
20
Poisson Probability Distribution Mean and Std Deviation
21
Negative Binomial Distribution A negative binomial experiment is a statistical experiment that has the following properties:statistical experiment The experiment consists of x repeated trials. Each trial can result in just two possible outcomes, a success and a failure. The probability of success, denoted by P, is the same on every trial. The trials are independent; that is, the outcome on one trial does not affect the outcome on other trials.independent The experiment continues until r successes are observed, where r is specified in advance.
22
Negative Binomial Distribution A negative binomial random variable is the number X of repeated trials to produce r successes in a negative binomial experiment. The negative binomial distribution is also known as the Pascal distribution.
23
Negative Binomial Distribution x: The number of trials required to produce r successes in a negative binomial experiment. r: The number of successes in the negative binomial experiment. p: The probability of success on an individual trial. q: The probability of failure on an individual trial. (This is equal to 1 - P.)
24
Negative Binomial Distribution Mean and Variance : the average no. of trials required to produce r successes
25
Negative Binomial Distributions Example Bob is a high school basketball player. He is a 70% free throw shooter. That means his probability of making a free throw is 0.70. During the season, what is the probability that Bob makes his third free throw on his fifth shot? Solution: The probability of success (p) is 0.70, the number of trials (x) is 5, and the number of successes (r) is 3.
26
Geometric Distribution The geometric distribution is a special case of the negative binomial distribution. It deals with the number of trials required for a single success. Thus, the geometric distribution is negative binomial distribution where the number of successes (r) is equal to 1. Outcomes are either success/failure. Trial continues until success (defect) occurs for the first time. –Useful for manufacturing where the line will be shut down for recalibration upon first defect.
27
Geometric Distribution Negative Binomial Distribution: Geometric Distribution: x: The number of trials required to produce 1 success in a geometric experiment. p: The probability of success on an individual trial. q: The probability of failure on an individual trial. (This is equal to 1 - P.)
28
Geometric Distribution Mean and Variance : the average no. of trials required to produce 1 success
29
Geometric Distribution Example Bob is a high school basketball player. He is a 70% free throw shooter. That means his probability of making a free throw is 0.70. What is the probability that Bob makes his first free throw on his fifth shot? Solution: Probability of success (p) is 0.70, the number of trials (x) is 5, and the number of successes (r) is 1. We enter these values into the geometric formula.
30
Geometric Distribution Example Military contractor is producing nuts that must be within.04 mm of specified diameter. If nut exceeds the limit the line must be shut down and adjusted. The probability that the diameter of a nut will exceeds the allowable error is.0014. What is the probability the machine will be shut down exactly after the 100 th nut is produced? What is the probability the machine will be shut down exactly after the 200 th nut is produced?
31
Hypergeometric Probability Distribution A sample of size n is randomly selected without replacement from a population of N items. In the population, r items can be classified as successes, and N - r items can be classified as failures. A hypergeometric random variable, x, is the number of successes that result from a hypergeometric experiment
32
Hypergeometric Probability Distribution Where N = total number of elements in the population r = number of success in the population N-r = number of failures in the population n = number of trials (sample size) x= number of successes in trial n-x= number of failures in n trials
33
Hypergeometric Distribution Mean and Variance Where p= r/N
34
Hypergeometric Probability Distribution Example Suppose we select 5 cards from an ordinary deck of playing cards. What is the probability of obtaining 2 or fewer hearts? Solution: N = 52; since there are 52 cards in a deck. r = 13; since there are 13 hearts in a deck. n = 5; since we randomly select 5 cards from the deck. x = 0 to 2; since our selection includes 0, 1, or 2 hearts. We plug these values into the hypergeometric formula as follows:
35
Hypergeometric Probability in MINITAB Acceptance testing of ice cream cones Ice cream parlor checks a batch of 400 waffle cones by checking 50 of them. They will not buy them if more than 3 cones are broken. What is the probability that the parlor will buy the cones if 35 of the 400 cones are broken. –Define, n, r, N-r, x –In MINITAB select: Calc-> Probability Distributions - > Hypergeometric
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.