Statistics - Discrete Probability Distributions
Statistics - Discrete Probability Distributions
Random Variables Discrete Probability Distributions Expected Value and Variance The Binomial Probability Distribution The Poisson Probability Distribution
Random Variables
A random variable is a numerical description of the outcome of an experiment. A discrete random variable may assume either a finite number of values or an infinite sequence of values.
Finite and Infinite Values for Discrete Random Variables Discrete random variable with a finite number of values: Let x = number of TV sets sold in one day where x can take on 5 values (0, 1, 2, 3, 4) Discrete random variable with an infinite sequence of values: Let x = number of customers arriving in one day where x can take on the values 0, 1, 2, . . . We can count the customers arriving, but there is no finite upper limit on the number that might arrive.
4
A CPA examination has 4 parts. We can define a discrete random variable as x = the number of parts of CPA exam passed This discrete random variable may assume finite number of values of 0, 1, 2, 3, 4. We may make a call to sell a product. We can define a discrete random variable x. x = 1 if we sell, x = 0 if we dont.
A continuous random variable may assume any numerical value in an interval or collection of intervals. x = the time between arrival of two customers into a supper market. x = the exact weight of an individual
Practice
Probability Distributions
The probability distribution for a random variable describes how probabilities are distributed over the values of the random variable. The probability distribution is defined by a probability function, denoted by function, f(x), which provides the probability for each value of the random variable.
8
Using past data on TV sales (below left), a tabular representation of the probability distribution for TV sales (below right) was developed. Number x f (x ) Units Sold of Days 0 80 0 .40 1 50 1 .25 2 40 2 .20 3 10 3 .05 4 20 4 .10 200 1.00
10
Graphical Representation of A Discrete Probability Distribution A graphical representation of the probability distribution for TV sales in one day
.50
Probability
Discrete Uniform Probability Distribution f(x) = 1/n (n is the number of values that x takes) Rolling a die f(x) 1/6 1/6 1/6 1/6 1/6 1/6
x 1 2 3 4 5 6
6
12
The expected value, or mean, of a random variable is value, a measure of its central location. Expected value of a discrete random variable: E (x ) = Q = 7xf (x ) The variance summarizes the variability in the values of a random variable. Variance of a discrete random variable: Var(x Var(x ) = W 2 = 7(x - Q )2f (x ) The standard deviation, W, is defined as the positive deviation, square root of the variance.
13
Example
Expected Value of a Discrete Random Variable x 0 1 2 3 4 f (x ) .40 .25 .20 .05 .10
14
Example
Expected Value of a Discrete Random Variable x f (x ) xf (x ) --------------------------0 .40 .00 1 .25 .25 2 .20 .40 3 .05 .15 4 .10 .40 1.20 = E (x ) The expected number of TV sets sold in a day is 1.2 Now Calculate the standard deviation
15
_______
_______________
(x (x - Q )2f (x )
16
_______
_______________
(x (x - Q )2f (x )
.576 .010 .128 .162 .784 1.660 = W The variance of daily sales is 1.66 TV sets squared. The standard deviation of sales is 1.29 TV sets.
17
0 1 2 3 4
Two outcomes, success and failure, are possible on failure, each trial. The probability of a success, denoted by p, does not change from trial to trial. The trials are independent. independent.
18
Examples
Toss a coin Define tail as success and head as failure f(S) = .5 f(F) = .5 Roll a die Define 1 as success, any other number as failure f(S) = 1/6 f(F)= 5/6
19
Binomial Probability Distribution Evans is concerned about a low retention rate for employees. employees. On the basis of past experience, management has seen a turnover of 10% of the hourly employees 10% annually. annually. Thus, for any hourly employees chosen at random, management estimates a probability of 0.1 that the person will not be with the company next year. year. Choosing 3 hourly employees a random, what is the probability that 1 of them will leave the company this year? Let: Let: p = .10, n = 3, x = 1 10,
20
n 3
x 0 1 2 3
21
Value of x 3 2 2
Leaves (.1)
Stays (.9)
SD( x ) ! W ! np (1 p)
Example: Evans Electronics E (x ) = Q = 3(.1) = .3 employees out of 3 Var(x Var(x ) = W2 = 3(.1)(.9) = .27
Arrival of customers to a service station generally has Poisson distribution. Arrival of cars to a service station. Arrival of people to a restaurant. Arrival airplanes to an airport. Properties of a Poisson Experiment The probability of an occurrence is the same for any two intervals of equal length. The occurrence or nonoccurrence in any interval is independent of the occurrence or nonoccurrence in any other interval.
24
25
26
Example
Data was collected for 128 random intervals of 5 minutes in weekday mornings over a period of several weeks.
27
28
29
30
31
34
35
The End
36