11-Introduction To Random variable-27-Jul-2020Material - I - 27-Jul-2020 - Random - Variable - PPT
11-Introduction To Random variable-27-Jul-2020Material - I - 27-Jul-2020 - Random - Variable - PPT
Discrete RV
Random
Variable
Continuous RV
Discrete Random Variable
Definition.
Let be a sample space. A discrete random variable
is a function that takes on a finite number of values
or an infinite number of values
Examples of DRV
X : the number of heads while tossing a coin.
X : the number of students that come to the class on a
given day.
X : The number of recovering people from COVID19
on a given day and time.
X : the number of accident that happen on a given
place at a specified time.
The probability of a discrete random variable
Illustration: In a random experiment of tossing coins,
the sample space be .
If is a RV denoting the “number of heads”, then we
have the followings:
,,,.
We denote the probability of the event by
The probability of a discrete random variable
, where A is the event of getting exactly one head.
, Since A={HT, TH}
The probability distribution of a discrete
random variable
X 0 1 2
P(x) 1/4 2/4 1/4
The probability distribution of a discrete
random variable
Definition.
The probability mass function or probability
function or probability distribution of a discrete random
variable is the function , defined by
Now
X 0 1 2 3 4
P(x) 1/16 1/4 3/8 1/4 1/16
F(x) 1/16 5/16 11/16 15/16 1
Graphical view of probability
distribution and cdf.
In a dance class with 11 students with three of them named gabriel. The dance
master suddenly forgot the names of the students and decided to select students
at random until he finds a student whose name is not gabriel. Let X denote the
number of students selected. Find the probability distribution of X.
Continuous Random Variable
Definition. Let be a sample space. A discrete random
variable a function that takes on a infinitely many
values from an interval.
Examples of CRV
X : the length of the randomly selected phone call.
X : the total time spent on a FB by an individual
person up to the age 18.
X : the length of the time that a person waits in the
bus stop to get the next bus.
Probability of Continuous Radom
Variable
Definition. A random variable is continuous if for
some function and for any numbers and with ,
∞
𝑃( 𝑋 ≥ 𝑎)=∫ 𝑓 ( 𝑥) 𝑑𝑥
𝑎
𝑃 ( 𝑋 ≥𝑎 )=1 − 𝑃 (𝑋 <𝑎)
𝑃
( 𝑋=𝑎 ) =?
The cumulative distribution function of
a continuous random variable
The cumulative distribution function of a continuous
random variable
with density function is
Continuous Radom Variable
Example: Suppose that the error in the reaction
temperature, in , for a controlled laboratory
experiment is a continuous random variable having
the probability density function