PTRP Unit 2
PTRP Unit 2
A random variable is a function that assigns real numbers (values) to each of an experiment's outcomes.
In other words, a random variable can take on dierent values, each with a corresponding probability, as described
by a probability distribution.
OR
A random variable is a procedure or function which perfoms the mapping between a set of possible outcomes and
a set of numerical values. It maps each element of a sample space to a real number.
Discrete Random Variable: Takes on a nite or countably innite number of distinct values. Each of these
values has a specied probability. A discrete random variable is a random variable that can take on at most a
countable number of possible values
PDF as It provides the probability that the variable falls within a specic range of values. and CDF as func-
tion that gives the cumulative probability that a random variable is less than or equal to a specic value.
The probability distribution for a random variable describes how the probabilities are distributed over the values
of the random variable.
Zb
P (a < X ≤ b) = fX (x)dx
a
Cumulative Distribution Function of Continuous R.V.
1. Since the CDF is a probability, it must take on values between 0 and 1: 0 ≤ FX (x) ≤ 1
FX (−∞) = 0, FX (∞) = 1
1
2. CDF is a monotonic nondecreasing function: For x1 ≤ x2 , FX (x1 ) ≤ FX (x2 )
3. CDF can be used to measure the probability that a random variable takes on a value in a certain interval.
For x1 ≤ x2 , P(x1 < X ≤ x2 )=FX (x2 ) - FX (x1 )
Probability Mass Function
The probability mass function (PMF), PX (x), of a random variable, X, is a function that assigns a probability to
each possible value of the random variable, X. The probability that the random variable X takes on the specic
value is the value of the probability mass function for x.
For a discrete random variable X, the probability mass function (PMF), PX (x), is dened as: PX (x) = P[X = x]
The PMF is nonzero for at most a countable or countably innite number of values of x. In particular, if we assume
that X can only assume one of the values x1 , x2 , . . . , xn , then
PX (xi ) ≥ 0, i = 1, 2, ..., n
PX (x) = 0, otherwise
CDF of Discrete R.V.: