All Exams Test series for 1 year @ ₹349 only
Question

For the random variable X having PDF f(x) = 4x 3; 0 < x < 1, the interquartile range is:

This question was previously asked in
SSC CGL 2019 (Tier 2) GS Finance & Economics Previous Year Paper (17-Nov-2020)
The correct answer is \(\left( \dfrac{3}{4} \right)^{\dfrac{1}{4}} - \left( \dfrac{1}{4} \right)^{\dfrac{1}{4}}\)

Understanding the Interquartile Range (IQR) for a Random Variable

The interquartile range (IQR) is a measure of statistical dispersion, representing the spread of the middle 50% of the data. For a continuous random variable, it is the difference between the third quartile ($Q_3$) and the first quartile ($Q_1$).

  • The first quartile ($Q_1$) is the value below which 25% of the probability mass lies. If $X$ is the random variable, $P(X \le Q_1) = 0.25$.
  • The third quartile ($Q_3$) is the value below which 75% of the probability mass lies. $P(X \le Q_3) = 0.75$.
  • The interquartile range (IQR) is calculated as $IQR = Q_3 - Q_1$.

To find the quartiles for a continuous random variable with a given probability density function (PDF), we first need to find its cumulative distribution function (CDF).

Calculating the Cumulative Distribution Function (CDF)

The given probability density function (PDF) is $f(x) = 4x^3$ for $0 < x < 1$. The CDF, $F(x)$, is the integral of the PDF from the lower limit of the support to $x$.

For $0 < x < 1$, the CDF is:

\( F(x) = P(X \le x) = \int_{0}^{x} f(t) dt \)

\( F(x) = \int_{0}^{x} 4t^3 dt \)

Integrating $4t^3$ with respect to $t$, we get \(t^4\). Evaluating this from 0 to $x$:

\( F(x) = \left[ t^4 \right]_{0}^{x} = x^4 - 0^4 = x^4 \)

So, the CDF is \(F(x) = x^4\) for $0 < x < 1$. The complete CDF is:

\( F(x) = \begin{cases} 0 & \text{for } x \le 0 \\ x^4 & \text{for } 0 < x < 1 \\ 1 & \text{for } x \ge 1 \end{cases} \)

Finding the Quartiles ($Q_1$ and $Q_3$)

To find the quartiles, we set the CDF equal to the desired probability and solve for $x$.

Finding the First Quartile ($Q_1$)

We need to find $Q_1$ such that \(F(Q_1) = 0.25\).

Using the CDF for $0 < x < 1$:

\( Q_1^4 = 0.25 \)

\( Q_1^4 = \dfrac{1}{4} \)

Taking the fourth root of both sides (and since $Q_1$ must be positive as per the domain):

\( Q_1 = \left( \dfrac{1}{4} \right)^{\dfrac{1}{4}} \)

Finding the Third Quartile ($Q_3$)

We need to find $Q_3$ such that \(F(Q_3) = 0.75\).

Using the CDF for $0 < x < 1$:

\( Q_3^4 = 0.75 \)

\( Q_3^4 = \dfrac{3}{4} \)

Taking the fourth root of both sides (and since $Q_3$ must be positive as per the domain):

\( Q_3 = \left( \dfrac{3}{4} \right)^{\dfrac{1}{4}} \)

Calculating the Interquartile Range (IQR)

The interquartile range (IQR) is \(Q_3 - Q_1\).

\( IQR = \left( \dfrac{3}{4} \right)^{\dfrac{1}{4}} - \left( \dfrac{1}{4} \right)^{\dfrac{1}{4}} \)

This matches one of the given options.

Summary of Interquartile Range Calculation

Here's a quick summary of the steps:

  1. Find the CDF, \(F(x)\), from the given PDF, \(f(x)\).
  2. Set \(F(x) = 0.25\) and solve for \(x\) to find \(Q_1\).
  3. Set \(F(x) = 0.75\) and solve for \(x\) to find \(Q_3\).
  4. Calculate \(IQR = Q_3 - Q_1\).

Revision Table: Key Concepts for IQR

Concept Definition How to Calculate for PDF
PDF (\(f(x)\)) Describes the relative likelihood for a continuous random variable to take on a given value. Given in the problem or derived. Must integrate to 1 over its support.
CDF (\(F(x)\)) Gives the probability that a random variable \(X\) is less than or equal to \(x\). \(F(x) = P(X \le x)\). Integral of the PDF: \(F(x) = \int_{-\infty}^{x} f(t) dt\).
Quartiles (\(Q_1, Q_2, Q_3\)) Values that divide the probability distribution into four equal parts (25% each). \(Q_1\) is 25th percentile, \(Q_2\) is 50th (median), \(Q_3\) is 75th. Find \(x\) such that \(F(x) = p\), where \(p\) is 0.25 for \(Q_1\), 0.50 for \(Q_2\), and 0.75 for \(Q_3\).
Interquartile Range (IQR) Difference between the third and first quartiles. Measures the spread of the middle 50%. \(IQR = Q_3 - Q_1\).

Additional Information on Percentiles and IQR

Quartiles are specific types of percentiles. The first quartile ($Q_1$) is the 25th percentile, the second quartile ($Q_2$, which is also the median) is the 50th percentile, and the third quartile ($Q_3$) is the 75th percentile. The IQR is a robust measure of spread because it is not affected by extreme outliers, unlike the range or standard deviation.

For any continuous random variable with PDF \(f(x)\), if the support is \([a, b]\), the CDF is \(F(x) = \int_{a}^{x} f(t) dt\). To find the percentile \(P_p\) (where \(p\) is a probability between 0 and 1), you solve \(F(P_p) = p\). The quartiles are special cases where \(p\) is 0.25, 0.50, and 0.75.

Was this answer helpful?

Similar Questions

  1. Let -2, 2, 5, 9, -9, 7, -7 be the observations drawn from a population having p.d.f. \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {{e^{ - \left( {X - \theta } \right)}},}&{x > \theta }\\ 0&{elsewhere} \end{array}} \right.\) Then the MLE of θ is:

  2. Let x be a random variable with probability mass function

    \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {k.|x|,}&{ifx = - 2,1,3}\\ {0,}&{otherwise} \end{array}} \right.\)

    where, K is a constant. Then the variance of x is:

  3. It is known from past experience that in a certain plant there are on the average 4 industrial accidents per month. The probability that in a given month there will be less than 4 accidents is: (e -4 = 0.0183)

  4. If a continuous random variable x has the probability density function

    \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {3x^2,}&o\le x\le1\\ {0,}&{elsewhere} \end{array}} \right.\)

    then the value of a such that P[x ≤ a] = P[x > a] is:

  5. Let x ~ Binomial (5,0.6) and Y ~ Poisson (2) be independent. Then P(xy = 0) equals:

  6. If x is a continuous random variable with p.d.f.
    f(x) = 1/√2π e -x2/2dx ,  \( - ∞<x<∞\)

    and y is defined as y = x + 1, then E(y) equals:

  7. At a reservation counter, passengers are arriving for booking the tickets in a poisson fashion with mean rate 60 per hour. The kurtosis of the inter-arrival times of the passengers is:

  8. If a discrete random variable X follows uniform distribution and assume only the values 8, 9, 11, 15, 18, 20, the value of P(|X - 14| < 5) will be:

  9. The probability density function of a random variable X is f(x) = \(\frac{\pi}{10} sin \frac{\pi x}{5}\) ; 0 ≤ x ≤ 5. The first quartile of X is:

  10. The mode of a geometric distribution with parameter p is:


Important Questions from Random Variables Basics

  1. Let X and Y be two real-valued random variables with 

    $\text{E}(X) = 1$, $\text{E}(Y) = 2$, $\text{E}(X^2) = 4$, $\text{E}(Y^2) = 9$, and $\text{E}(XY) = 0.9$, 

    where $\text{E}$ denotes the expectation operator. 

    The value of $\alpha$ that minimizes $\text{E}( (X-\alpha Y)^2 )$ is __________ 

    (Round off to one decimal place)

  2. Let -2, 2, 5, 9, -9, 7, -7 be the observations drawn from a population having p.d.f. \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {{e^{ - \left( {X - \theta } \right)}},}&{x > \theta }\\ 0&{elsewhere} \end{array}} \right.\) Then the MLE of θ is:

  3. Let x be a random variable with probability mass function

    \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {k.|x|,}&{ifx = - 2,1,3}\\ {0,}&{otherwise} \end{array}} \right.\)

    where, K is a constant. Then the variance of x is:

  4. It is known from past experience that in a certain plant there are on the average 4 industrial accidents per month. The probability that in a given month there will be less than 4 accidents is: (e -4 = 0.0183)

  5. If a continuous random variable x has the probability density function

    \(f\left( x \right) = \left\{ {\begin{array}{*{20}{c}} {3x^2,}&o\le x\le1\\ {0,}&{elsewhere} \end{array}} \right.\)

    then the value of a such that P[x ≤ a] = P[x > a] is:

Need Expert Advice?
Upcoming Exams
SSC CPO
November 23, 2026
SSC CHSL
November 30, 2026
SSC JE
November 30, 2026
Test Series
SSC CGL img
SSC
SSC CGL (Tier I + Tier II) 2026 Mock Test Series - Latest Pattern
2574 Tests 6 Tests Free
9155 Attempts
4.2(953)
English, Hindi
More Questions from SSC CGL

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App