Professional Documents
Culture Documents
Slide 1
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. A continuous random variable may assume any numerical value in an interval or collection of intervals.
Slide 2
Discrete random variable with a finite number of values Let x = number of TVs sold at the store in one day, where x can take on 5 values (0, 1, 2, 3, 4)
Slide 3
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.
Slide 4
Random Variables
Question Random Variable x x = Number of dependents in family reported on tax return Type Discrete Continuous Discrete
Family size
Distance from x = Distance in miles from home to store home to the store site
x = 1 if own no pet; = 2 if own dog(s) only; = 3 if own cat(s) only; = 4 if own dog(s) and cat(s)
Slide 5
Slide 6
Slide 7
Using past data on TV sales, a tabular representation of the probability distribution for TV sales was developed. Units Sold 0 1 2 3 4 Number of Days 80 50 40 10 20 200 x 0 1 2 3 4 f(x) .40 .25 .20 .05 .10 1.00
80/200
Slide 8
f(x) = 1/n
Slide 10
The standard deviation, , is defined as the positive square root of the variance.
Rajendra Desai, SJCBA, 2013 Slide 11
Expected Value of a Discrete Random Variable x 0 1 2 3 4 f(x) xf(x) .40 .00 .25 .25 .20 .40 .05 .15 .10 .40 E(x) = 1.20
x-
-1.2 -0.2 0.8 1.8 2.8
(x - )2
1.44 0.04 0.64 3.24 7.84
f(x)
.40 .25 .20 .05 .10
(x - )2f(x)
.576 .010 .128 .162 .784
TVs squared
Four Properties of a Binomial Experiment 1. The experiment consists of a sequence of n identical trials.
Slide 14
Slide 15
Slide 16
n! x !(n x )!
Number of experimental outcomes providing exactly x successes in n trials
p (1 p)
x
(nx )
Slide 17
Binomial Probability Distribution Ecs is concerned about a low retention rate for employees. In recent years, management has seen a turnover of 10% of the hourly employees annually. Thus, for any hourly employee chosen at random, management estimates a probability of 0.1 that the person will not be with the company next year.
Slide 18
Binomial Probability Distribution Choosing 3 hourly employees at random, what is the probability that 1 of them will leave the company this year?
Let: p = .10, n = 3, x = 1
n! f ( x) p x (1 p ) (n x ) x !( n x )!
3! f (1) (0.1)1 (0.9)2 3(.1)(.81) .243 1!(3 1)!
Slide 19
Tree Diagram
1st Worker 2nd Worker 3rd Worker L (.1) S (.9) L (.1) Stays (.9) S (.9) Leaves (.1) Stays (.9) Stays (.9) L (.1) S (.9) L (.1)
x
3 2
Leaves (.1)
Leaves (.1)
2
1 2 1 1 0
.0090
.0810 .0090
.0810
.0810 .7290
Slide 20
S (.9)
Rajendra Desai, SJCBA, 2013
Formula Worksheet
A 1 2 3 4 5 6 7 8 9 B 3 = Number of Trials (n ) 0.1 = Probability of Success (p ) f (x ) =BINOMDIST(A5,$A$1,$A$2,FALSE) =BINOMDIST(A6,$A$1,$A$2,FALSE) =BINOMDIST(A7,$A$1,$A$2,FALSE) =BINOMDIST(A8,$A$1,$A$2,FALSE)
x 0 1 2 3
Slide 21
Value Worksheet
A 1 2 3 4 5 6 7 8 9 B 3 = Number of Trials (n ) 0.1 = Probability of Success (p ) f (x ) 0.729 0.243 0.027 0.001
x 0 1 2 3
Slide 22
Formula Worksheet
A 1 2 3 4 5 6 7 8 9 B 3 = Number of Trials (n ) 0.1 = Probability of Success (p ) Cumulative Probability =BINOMDIST(A5,$A$1,$A$2,TRUE) =BINOMDIST(A6,$A$1,$A$2,TRUE) =BINOMDIST(A7,$A$1,$A$2,TRUE) =BINOMDIST(A8,$A$1,$A$2,TRUE)
x 0 1 2 3
Slide 23
Value Worksheet
A 1 2 3 4 5 6 7 8 9 B 3 = Number of Trials (n ) 0.1 = Probability of Success (p ) Cumulative Probability 0.729 0.972 0.999 1.000
x 0 1 2 3
Slide 24
Variance
Var(x) = 2 = np(1 p)
Standard Deviation
np(1 p)
Slide 25
Variance
Var(x) = 2 = 3(.1)(.9) = .27
Standard Deviation
3(.1)(.9) .52 employees
Slide 26
Slide 27
Slide 28
Slide 29
f ( x)
x e
x!
where: f(x) = probability of x occurrences in an interval = mean number of occurrences in an interval e = 2.71828
Slide 30
Poisson Probability Function Patients arrive at the emergency room of Mercy Hospital at the average rate of 6 per hour on weekend evenings.
Slide 31
= 6/hour = 3/half-hour, x = 4
34 (2.71828)3 f (4) .1680 4!
Slide 32
Formula Worksheet
A 1 2 B 3 = Mean No. of Occurrences ( )
Number of 3 Arrivals (x ) 4 0 5 1 6 2 7 3 8 4 9 5 10 6
and so on
Rajendra Desai, SJCBA, 2013
and so on
Slide 33
Value Worksheet
A 1 2 B 3 = Mean No. of Occurrences ( )
Number of 3 Arrivals (x ) 4 0 5 1 6 2 7 3 8 4 9 5 10 6
and so on
Rajendra Desai, SJCBA, 2013
and so on
Slide 34
Probability
0.20
0.15 0.10 0.05 0.00
Formula Worksheet
A 1 2 B 3 = Mean No. of Occurrences ( )
Number of 3 Arrivals (x ) 4 0 5 1 6 2 7 3 8 4 9 5 10 6
and so on
Rajendra Desai, SJCBA, 2013
and so on
Slide 36
Value Worksheet
A 1 2 B 3 = Mean No. of Occurrences ( )
Number of 3 Arrivals (x ) 4 0 5 1 6 2 7 3 8 4 9 5 10 6
and so on
Rajendra Desai, SJCBA, 2013
and so on
Slide 37
A property of the Poisson distribution is that the mean and variance are equal.
=2
=2=3
Slide 38