Statistics-1 W12
Statistics-1 W12
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
The standard uniform distribution plays an important role in random variate generation.
➢ Verify f (x) is a pdff
➔(x) ≥ 0, for 0 < x < 1
➔
Expectation of X ∼ U(a, b)
➢ X ∼ U(a, b);
Variance of X ∼ U(a, b)
➢ X ∼ U(a, b);
➢
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
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