Sta466 - Topic 3 Part 1 (Lecturer)
Sta466 - Topic 3 Part 1 (Lecturer)
TOPIC 3
CONTINUOUS
RANDOM
VARIABLE
TOPIC OUTLINE
1
10/2/2020
RECALL
• A random variable is called continuous if it can
assume all possible values in the possible range of
the random variable.
• Some examples:
• The height or weight an entity.
• The time taken to complete an examination.
• The computer time (in seconds) required to
process a certain program.
• The time for a baby to gain the weight of 5 kg.
• The heat gained by a ceiling fan when it has
worked for one hour.
2
10/2/2020
Pa X b Pa X b
Pa X b
Pa X b
b
f ( x )dx
a
PDF
Example 1
x2
, - 1 x 2
f ( x) 3
0,
elsewhere
3
10/2/2020
PDF
Solution
a) f(x)dx 1
.
2
2
x2 x3
1
3
dx
9 1
23 1
2
9 9
8 1
9 9
1
PDF
Solution
1
x2
b) P(0 X 1)
0
3 dx
.
1
1 x3
3 3 0
13 0 2
9 9
1
9
4
10/2/2020
PDF
Example 2
2
(2 x ) ; 0 x 1
11
2
f x ( x ) ; 1 x 3
11
0 ; elsewhere
PDF
Solution
1 3
1 3
a)
2
2 x dx 2 xdx 2 (2 x )dx xdx
0
11 1
11 11 0 1
1
x2
3
2 x 2
2x
11 2 0 2 1
1
3 2 12
3
2 12
2(1)
11 2
0 2 2 1
2 3
4
11 2
1
it is proven that X is a continuous random variable.
5
10/2/2020
PDF
Solution
1 2
b) P(0 x 2)
2
2 x dx 2
11xdx
0
11 1
2
1 2
(2 x)dx
11 0 xdx
1
1
x2
2
2 x 2
11
2x 2
0 1
2
2
1
1
2
2
2 2
12
11
2(1) 2
0 2 2 1
2 3 3
11 2 2
2 6
11 2
6
or 0.5455
11
Example 3
c( x 3), 2 x 8
f (x)
0, elsewhere
a) Calculate c.
b) Find P(X ≥ 4).
6
10/2/2020
PDF
Solution
8
a) c(x 3)dx 1
2
8
c x 3 dx 1
2
8
x2
c 3x 1
2 2
8 2 22
c 38 32 1
2 2
48c 1
1
c
48
PDF
Solution
8
b) PX 4
1
48 (x 3)dx
4
8
1 x2
3x
48 2 4
1 8 2 42
38 34
48 2 2
3
4
7
10/2/2020
CDF
x
F(x) P(X x) f(t) dt
for - x
CDF
SOME IMPORTANT FORMULAE FOR CDF OF A
CONTINUOUS R.V.
1. P(a X b) F(b) F(a)
8
10/2/2020
CDF
Example 4
Refer to example 1
CDF
Solution
x
t2
a) F(x)
3
1
dt
x
1 t3
.
3 3 1
1
9
t
3 x
1
1
9
x 91 1
3 3
1
9
x 91
3
1
9
x 3
1
9
10/2/2020
CDF
Solution
b) We know that F(x) P(X x) thus,
P(0 X 1) P( X 1) P( X 0)
F(1) - F(0)
.
1
1
13 1 03 1
9 9
2 1
9 9
1
9
10