Random Variable: "The Number of Heads When Flipping A Coin"
Random Variable: "The Number of Heads When Flipping A Coin"
Random Variable: "The Number of Heads When Flipping A Coin"
Analogy:
Integers are Discrete, while Real Numbers are Continuous
Probability Distributions…
A probability distribution is a table, formula, or graph that
describes the values of a random variable and the probability
associated with these values.
LO 5.2
Population/Probability Distribution…
The discrete probability distribution represents a population
σ= 1.958 = 1.399
Cumulative distribution function (cdf)
• It is a function that provide the cumulative probability up to a point
for a random variable (r.v).
x P(x)
0 0.05
1 0.05
The probability distribution of 2 0.06
booking of rooms of a hotel in 3 0.10
Waynad during December is: 4 0.13
5 0.20
6 0.15
7 0.26
Total 1.00
pmf (example)
x P(x) x P(x)
0 0.05 0.00
First find the expected value 1 0.05 0.05
7 2 0.06 0.12
E ( X ) = = xi P( xi ) 3 0.10 0.30
i =1 4 0.13 0.52
5 0.20 1.00
= 4.71 rooms
6 0.15 0.90
7 0.26 1.82
Total 1.00 = 4.71
pmf (example)
7
V ( X ) = = [ xi − ]2 P( xi )
The E(X) is then 2
used to find i =1
the variance: x P(x) x P(x) [x−]2 [x−]2 P(x)
= 4.2259 0 0.05 0.00 22.1841 1.109205
1 0.05 0.05 13.7641 0.688205
The standard 2 0.06 0.12 7.3441 0.440646
deviation is: 3 0.10 0.30 2.9241 0.292410
4 0.13 0.52 0.5041 0.065533
= 4.2259 5 0.20 1.00 0.0841 0.016820
= 2.0577 rooms
6 0.15 0.90 1.6641 0.249615
7 0.26 1.82 5.2441 1.363466
Total 1.00 = 4.71 2 =
4.225900
pmf (example)
0.25
The mode is 7 0.20
0.00
0 1 2 3 4 5 6 7
Num ber of Room s Rented