0% found this document useful (0 votes)
27 views6 pages

Statistics-1 W12

This document defines and describes continuous random variables. It discusses their key properties including probability density functions and cumulative distribution functions. It also provides examples of several common continuous distributions like the uniform, triangular, and exponential distributions. Specific topics covered include defining continuous random variables, calculating probabilities, graphing probability density functions, finding expectations and variances, and applying continuous distributions to example problems.

Uploaded by

dexiham591
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views6 pages

Statistics-1 W12

This document defines and describes continuous random variables. It discusses their key properties including probability density functions and cumulative distribution functions. It also provides examples of several common continuous distributions like the uniform, triangular, and exponential distributions. Specific topics covered include defining continuous random variables, calculating probabilities, graphing probability density functions, finding expectations and variances, and applying continuous distributions to example problems.

Uploaded by

dexiham591
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

W12 Continuous Random Variables ADITYA

Definition
➢ When outcomes for random event are numerical, but cannot be counted and are infinitely
divisible, we have continuous random variables.
➢ A continuous random variable is one that has possible values that form an interval along the
real number line. In other words, a continuous random variable can assume any value over
an interval or intervals.
Probability density function (pdf)
➢ Every continuous random variable X has a curve associated with it.
➢ The probability distribution curve of a continuous random variable is also called its
probability density function. It is denoted by f (x)
P(X ∈ [a, b]) = P(a ≤ X ≤ b) is area under curve between a and b

Properties of pdf
1. The area under the probability distribution curve of a continuous random variable between
any two points is between 0 and 1.
2. Total area under the probability distribution curve of a continuous random variable is always

➢ The area under the graph of the probability density function between points a and b is the
same regardless of whether the endpoints a and b are themselves included:
P(a ≤ X ≤ b) = P(a < X < b)
➢ The probability density curve of a random variable X is a curve that never goes below the x−
axis
Example
➢ Figure below is a probability density function for the random variable that represents the
time (in minutes) it takes a repairer to service a television. The numbers in the regions
represent the areas of those regions.
What is the probability that the repairer takes
1. Less than 20 =0.29
2. Less than 40 =0.56
3. More than 50 =0.33
4. Between 40 and 70 minutes to complete a repair? =0.27
Cumulative distribution function
• For a continuous random variable X

• Since the probability that a continuous random variable X assumes a single value is always
zero, we have
Expectation and Variance
➢ Expected value: E(X) = R x f (x)dx.
➢ Variance: Var(X) = R (x − E(X))2 f (x)dx
Continuous Random Variables-Uniform distribution
Introduction
➢ A random variable is said to be uniformly distributed over the interval [0, 1] if its probability
density function is given by

Uniform distribution U(a, b)


➢ A continuous random variable has a uniform distribution, denoted X ∼ U(a, b),
probability density function is:

Graph of pdf of a Uniform distribution U(2, 4) and U(−2, 2)

Standard uniform distribution


➢ A random variable has the standard uniform distribution with minimum 0 and maximum 1 if
its probability density function is given by

The standard uniform distribution plays an important role in random variate generation.
➢ Verify f (x) is a pdff
➔(x) ≥ 0, for 0 < x < 1

Graph of pdf of a Standard uniform distribution U(0, 1)


Cumulative distribution of Uniform distribution
➢ For X ∼ U(a, b)

Cumulative distribution of Uniform distribution

o When x < a F(x) = 0


o When x > b F(x) =1
1
o a < x < b The slope of the line between and is .
(𝑏−𝑎)

Cumulative distribution of standard uniform distribution


➢ For X ∼ U(0, 1)

Expectation of X ∼ U(a, b)
➢ X ∼ U(a, b);

Variance of X ∼ U(a, b)
➢ X ∼ U(a, b);

Example: Computing probabilities given distribution


➢ Suppose that X is a uniform random variable over the interval (0, 1). Find
1. P(X > 1/3) = 2/3
2. P(X ≤ 0.7) = 0.7
3. P(0.3 < X ≤ 0.9) = 0.6
4. P(0.2 ≤ X < 0.8) = 0.6
Example: Application-question
➢ You are to meet a friend at 2 p.m. However, while you are always exactly on time, your friend
is always late and indeed will arrive at the meeting place at a time uniformly distributed
between 2 and 3 p.m. Find the probability that you will have to wait
1. At least 30 minutes
2. Less than 15 minutes
3. Between 10 and 35 minutes
4. Less than 45 minutes
Example: Application-solution
➢ Let X denote the amount of time you will have to wait. X ∼ U(0, 60)
1. At least 30 minutes =P(X ≥ 30) = 30/60 = 1/2
2. Less than 15 minutes =P(X < 15) = 15/60 = 1/4
3. Between 10 and 35 minutes= P(10 ≤ X ≤ 35) = 25/60 = 5/12
4. Less than 45 minutes = P(X < 45) = 45/60 = 3/4
Continuous Random Variables-Continuous distributions
Non Uniform distribution
Example
➢ Suppose that the number of minutes of playing time of a certain college basketball player in a
randomly chosen game has the following density curve.
Questions
Find the probability that the player plays 1.
▪ Over 20 minutes
▪ 2. Less than 25 minutes
▪ 3. Between 15 and 35 minutes
▪ 4. More than 35 minutes
Solution
Let X be amount of playing time in minutes. Find the probability that the player plays
1. Over 20 minutes =P(X > 20) = 0.5 + 0.25 = 0.75
2. Less than 25 minutes=P(X < 25) = 0.25 + 0.25 = 0.5
3. Between 15 and 35 minutes=P(15 ≤ X ≤ 35) = 0.125 + 0.5 + 0.125 = 0.75
4. More than 35 minutes=P(X > 35) = 0.125
Triangular distribution
➢ It is now 2 p.m., and Joan is planning on studying for her statistics test until 6 p.m., when she
will have to go out to dinner. However, she knows that she will probably have interruptions
and thinks that the amount of time she will actually spend studying in the next 4 hours is a
random variable whose probability density curve is as follows:
Questions

1. What is the height of the curve at the value 2?


2. What is the probability she will study more than 3 hrs?
3. What is the probability she will study between 1 and 3 hrs?

Solution
1. What is the height of the curve at the value 2? =1/2unit
2. What is the probability she will study more than 3 hrs? =1/8
3. What is the probability she will study between 1 and 3 hrs? =3/4
Exponential distribution
➢ A continuous random variable whose probability density function is given, for
some λ > 0, by

is said to be an exponential random variable (or, more simply, is said to be exponentially


distributed) with parameter λ.

Graph of pdf for different values of λ


cdf of Exponential distribution
F(a) = P(X ≤ a)

Graph of cdf for different values of λ

Expectation and variance of exponential distribution


X ∼ exp(λ)


Thus, the mean of the exponential is the reciprocal of its parameter λ, and the variance is the
mean squared.
Application
In practice, the exponential distribution often arises as the distribution of the amount of time until
some specific event occurs.
➢ Suppose that the length of a phone call in minutes is an exponential random variable with
parameter λ = 0.1. If someone arrives immediately ahead of you at a public telephone booth,
find the probability that you will have to wait
a more than 10 minutes
b between 10 and 20 minutes.
Solution Let X denote the length of the call made by the person in the booth. X ∼ exp(0.5)
a more than 10 minutes = P(X > 10) =𝑒 −1 ≈ 0.368
b between 10 and 20 minutes=
P(10 < X < 20) = F(20) − F(10) =𝑒 −1 − 𝑒 −2 ≈ 0.233
NOTES BY- ADITYA DHAR DWIVEDI

You might also like