A Random Variable Is A Variable Whose Possible Values Are Numerical Outcomes of A Random Phenomenon/experiment
A Random Variable Is A Variable Whose Possible Values Are Numerical Outcomes of A Random Phenomenon/experiment
Suppose that two coins are tossed so that the sample space is S = {HH, HT, TH,
TT} Suppose X is the number of heads which can come up, with each sample point
we can associate a number for X as shown in the table below:
Suppose that two coins are tossed so that the sample space is S = {HH, HT,
TH, TT} Suppose X is the number of heads which can come up, with each
sample point we can associate a number for X as shown in the table below:
Sample point HH HT TH TT
X 2 1 1 0
Suppose when we throw the two dice, total number of points equal to 9
(x=9)
S={(6,3), (5,4), (4,5), (3,6)}
Types of Random Variables
Discrete Random Variables
Continuous Random Variables
(1) A discrete random variable is one which may take on only a countable
number of distinct values such as 0,1,2,3,4,........ Discrete random
variables are usually (but not necessarily) counts.
If a random variable can take only a finite number of distinct values,
then it must be discrete.
Examples
when 3 coins are tossed, the number of heads obtained is the random
variable X assumes the values 0,1,2,3 which form a countable set.
Number of children in a family,
Number of defective light bulbs in a box of ten.
A continuous random variable is one which takes any value between
certain intervals or its domain
Examples include height, weight, the amount of sugar in an orange.
The Height of students in a particular class lies between 4 feet to 6 feet
A continuous random variable is not defined at specific values.
Instead, it is defined over an interval of values, and is represented by
the area under a curve (in advanced mathematics, this is known as an
integral). The probability of observing any single value is equal to 0,
since the number of values which may be assumed by the random
variable is infinite.
• Suppose a random variable X may take all values over an interval of real
numbers. Then the probability that X is in the set of outcomes A, P(A), is
defined to be the area above A and under a curve. The curve, which
represents a function p(x), must satisfy the following:
Distribution Function
0.180
0.160
0.140
0.120
P(x)
0.100
0.080
0.060
0.040
0.020
-
2 3 4 5 6 7 8 9 10 11 12
x
x 2 3 4 5 6 7 8 9 10 11 12
0.027 0.82 0.165 0.276 0.414 0.580 0.0718 0.829 0.912 0.967 0.999
p(X≤x) ('1/36) ('2/36) ('3/36) ('4/36) ('5/36) ('6/36) ('5/36) ('4/36) ('3/36) ('2/36) ('1/36)
0, 𝑓𝑜𝑟 𝑥 < 2
1
, 𝑓𝑜𝑟 2 ≤ 𝑥 < 3
36
3
, 𝑓𝑜𝑟 3 ≤ 𝑥 < 4
36
6
, 𝑓𝑜𝑟 4 ≤ 𝑥 < 5
36
10
, 𝑓𝑜𝑟 5 ≤ 𝑥 < 6
36
15
, 𝑓𝑜𝑟 6 ≤ 𝑥 < 7
36
• F(x)= 21
, 𝑓𝑜𝑟 7 ≤ 𝑥 < 8
36
26
, 𝑓𝑜𝑟 8 ≤ 𝑥 < 9
36
30
, 𝑓𝑜𝑟 9 ≤ 𝑥 < 10
36
33
, 𝑓𝑜𝑟 10 ≤ 𝑥 < 11
36
35
, 𝑓𝑜𝑟 11 ≤ 𝑥 < 12
36
36
, 𝑓𝑜𝑟 𝑥 ≥ 12
36
Example2:
A Random variable X has the following probability
function
x 0 1 2 3 4 5 6 7
P(x) 0 k 2k 2k 3k k2 2k2 7k2+k
(i) Find the value of k
(ii) Evaluate P(X<6), P(X≥6) and P(0<x<5)
(iii) Determine the distribution function of X