Continuous Random Varibale
• Continuous random variable is a random variable with an interval
(finite or infinite) of real numbers for its range.
e.g temperature, length, time.etc
• Suppose X is a random variable on a sample space S whose range
space Rx is a continuum of numbers such as an interval. if the set
{a≤X≤b} is an event in S, then P(a≤X≤b) is well defined.
• We assume that there is a function f:R-->R such that P(a≤X≤b)
is equal to the area under the graph of f between x=a and x=b.
�
• In the language of calculus P(a≤X≤b) = � �(�)��.
• in this case X is said to be continuous.
Conditions of a continuous probability
funciton or density function are
• i) �(�) ≥ 0
• ii)
∞
�(�)�� = 1
−∞
∞
The expectation E(X) of X is −∞ ��(�)��
∞
2
The variance Var(X) =E(� − �) = −∞ (� − �)2 �(�)��
Examples
1. Let X be a random variable with the following distribution function
1
, x if 0 ≤ x ≤ 2
f(x) = 2
0 elsewhere
a) Determine first if it’s a probability density function
b) Find mean, variance and standard deviation
• 2. given that f(x) =
• Find
• (a) �(� = 3)
• (b) �(� < 2)
• (c) P(X ≥ 3)
1(x2 +1)
24
0
1≤�≤4
Important Remark.
• In case of discrete random variable the probability at a point, i.e., P (x
= c) is not zero for some fixed c.
• However, in case of continuous random variables the probability at a
point is always zero, i.e., P (x = c) = 0 for all possible values of c. This
follows directly from above by taking a= b = c.
This property of continuous r.v.
P(X= c)= 0, for every c
leads us to the following important result :
P (a X b) P (a X b) P (a X b) P (a X b)
i.e., in case of continuous R.V., it does matter whether
we include the end points of the interval from a to b.
Continuous probability distribution
• In this section we shall discuss some of the probability
distributions that figure most prominently in statistical
theory and applications.
• We shall also study their parameter and derivation of some
of their important characteristics.
• The purpose of this section is to show the type of situations
in which these distributions can applied.
• Properties of expected values:
a) E(X+Y) = E(X) + E(Y), provided all expectation
exists.
b) If X and Y are independent random variables then
E(XY) = E(X). E(Y).
c) If X and Y are not independent random variables,
then E(XY) = E(X). E(Y)+COV(X,Y).
This section devoted to the study of univariate
distributions like
1. Continuous uniform (rectangular) distribution
2. exponential distribution
3. Normal distribution
4. Chi square distribution
We h ave a l re a d y d ef i n e d d i st r i b u t i o n f u n c t i o n ,
mathematical expectation, variance and m.g.f.
This prepares us for a study of continuous theoretical
probability distribution.
Continuous Probability Distributions
• Uniform Probability Distribution
f (x)
• Normal Probability Distribution
• Exponential Probability Distribution
f (x)
Exponential
Uniform
x
f (x)
Normal
x
x
10
Uniform Probability Distribution
• A random variable is uniformly distributed whenever the probability is
proportional to the interval’s length.
• The uniform probability density function is:
f (x) = 1/(b – a) for a < x < b
=0
elsewhere
where: a = smallest value the variable can assume
b = largest value the variable can assume
11
Uniform Probability Distribution
• Expected Value of x
E(x) = (a + b)/2
• Variance of x
Var(x) = (b - a)2/12
12
Area as a Measure of Probability
• The area under the graph of f(x) and probability are identical.
• This is valid for all continuous random variables.
• The probability that x takes on a value between some lower value x1 and some
higher value x2 can be found by computing the area under the graph of f(x)
over the interval from x1 to x2.
13
Normal (Gaussian) distribution