Statistics for Data Science II · Quiz 2 · Sep 2025
Statistics for Data Science II · Quiz 2 · Sep 2025
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
21 / 22 published solutions
Discrete random variables:
Distribution PMF (fx (k)) CDF (Fx()) E[X] Var(X)
0
x <0
x=k
Uniform(AА) k-a+1 k<x<k+1 a+b n2-1
72
n=b-a+1 12
A= {a,a+1,..., 6} k=a,a+1,..., 6-1,b
2
k= a, a+1,...,b
1 xn
0 x <0
x=1
Bernoulli(p( 1-p 0≤ x <1 d p(1-p)
1-p=0
1 x≥1
0 x<0
"Скpk(1-p)n-k, "Cip (1-p)n- k<x<k+1
Binomial(n, p) -0 up np(1-p)
k =0,1,...,n
k =0,1,...,n
1 xn
0
x <0
1ㄧ2 p2
(1-p)k-1p, 1-p
Geometric(p) 1− (1-p) k≤x<k+1
k =1,..., 00
k = 1,..., 00
이 x<0
rrーa
A 시
Poisson(A) k! k<x<k+1
e2i!i=0
k = 0, 1,...,0∞
k = 0, 1,...,∞
Useful Data has been mentioned above.
This data attachment is just for a reference & not for an evaluation.
**1. Review the reference sheet:**
Question 258 provides the official formula and table reference sheet ("Useful data") for the examination. Selecting **"Useful Data has been mentioned above."** acknowledges the reference sheet.
**Answer: Option A**
A: **Correct:** Confirms and acknowledges the useful data and formulas provided above.
B: **Incorrect:** Standard exam instructions require selecting the first option to acknowledge the reference sheet.
Question 259 NAT · 3.0 marks
Published solution
**1. Find the normalization constant $k$:**
The joint PDF is $f_{XY}(x, y) = kxy$ for $1 < x < 3$ and $0 < y < x$ (since $X$ and $Y$ represent weights of apples in quintals, $y > 0$).
Set the double integral over the support equal to $1$:
$$\int_1^3 \int_0^x kxy\,dy\,dx = k \int_1^3 x \left[\frac{y^2}{2}\right]_0^x dx = \frac{k}{2} \int_1^3 x^3\,dx = \frac{k}{2}\left[\frac{x^4}{4}\right]_1^3 = \frac{k}{8}(81 - 1) = 10k = 1$$
Thus, $k = \frac{1}{10}$.
**2. Compute $P(2 < X < 3,\; 0 < Y < 1)$:**
Note that for $2 < x < 3$ and $0 < y < 1$, the condition $y < x$ is automatically satisfied:
$$P(2 < X < 3,\; 0 < Y < 1) = \int_2^3 \int_0^1 \frac{1}{10}xy\,dy\,dx = \frac{1}{10} \left(\int_2^3 x\,dx\right)\left(\int_0^1 y\,dy\right)$$
$$= \frac{1}{10} \cdot \left[\frac{x^2}{2}\right]_2^3 \cdot \left[\frac{y^2}{2}\right]_0^1 = \frac{1}{10} \cdot \frac{9 - 4}{2} \cdot \frac{1}{2} = \frac{1}{10} \cdot \frac{5}{4} = \frac{1}{8} = 0.125$$
**Answer: 0.125**
Question 260 NAT · 0.5 marks
Published solution
**1. Expand the expectation in equation (1) (Blank A):**
Given $E\left[\frac{3X_1 + kX_2 - 5X_3}{4}\right] = 50$, multiply both sides by $4$ and use linearity of expectation:
$$3E[X_1] + kE[X_2] - 5E[X_3] = 200$$
Therefore, Blank A is **$kE[X_2] - 5E[X_3]$**.
**2. Match with the numbered options list:**
In the options list, **$kE[X_2] - 5E[X_3]$** is option **(2)**.
**Answer: 2**
Question 261 NAT · 0.5 marks
Published solution
**1. Solve for $k$ using $E[X_i] = 100$ (Blank B):**
Substitute $E[X_1] = E[X_2] = E[X_3] = 100$ into $3E[X_1] + kE[X_2] - 5E[X_3] = 200$:
$$3(100) + 100k - 5(100) = 200 \implies 100k - 200 = 200 \implies 100k = 400 \implies k = 4$$
**2. Match with the numbered options list:**
In the options list, **$4$** is option **(3)**.
**Answer: 3**
Question 262 NAT · 0.5 marks
Published solution
**1. Factor the constant $1/4$ out of the variance (Blank C):**
Using the property $\text{Var}(cW) = c^2\text{Var}(W)$ with $c = \frac{1}{4}$:
$$\text{Var}\left(\frac{3X_1 + 4X_2 - 5X_3}{4}\right) = \left(\frac{1}{4}\right)^2 \text{Var}(3X_1 + 4X_2 - 5X_3) = \frac{1}{16}\text{Var}(3X_1 + 4X_2 - 5X_3)$$
Thus, Blank C is **$\frac{1}{16}$**.
**2. Match with the numbered options list:**
In the options list, **$\frac{1}{16}$** is option **(7)**.
**Answer: 7**
Question 263 NAT · 0.5 marks
Published solution
**1. Expand $\text{Var}(3X_1 + 4X_2 - 5X_3)$ using independence (Blank D):**
Since $X_1, X_2, X_3$ are independent:
$$\text{Var}(3X_1 + 4X_2 - 5X_3) = 3^2\text{Var}(X_1) + 4^2\text{Var}(X_2) + (-5)^2\text{Var}(X_3) = 9\text{Var}(X_1) + 16\text{Var}(X_2) + 25\text{Var}(X_3)$$
Therefore, Blank D is **$16\text{Var}(X_2) + 25\text{Var}(X_3)$**.
**2. Match with the numbered options list:**
In the options list, **$16\text{Var}(X_2) + 25\text{Var}(X_3)$** is option **(5)**.
**Answer: 5**
Question 264 NAT · 0.5 marks
Published solution
**1. Substitute $\text{Var}(X_i) = 25$ (Blank E):**
$$9\text{Var}(X_1) + 16\text{Var}(X_2) + 25\text{Var}(X_3) = (9 + 16 + 25) \times 25 = 50 \times 25 = 1250$$
Thus, Blank E is **$1250$**.
**2. Match with the numbered options list:**
In the options list, **$1250$** is option **(12)**.
**Answer: 12**
Question 265 NAT · 0.5 marks
Published solution
**1. Compute the final value of $\text{Var}(Z)$ (Blank F):**
$$\text{Var}(Z) = \frac{1}{16} \times 1250 = 78.125 \approx 78.13$$
**2. Match with the numbered options list:**
In the options list, **$78.13$** is option **(9)**.
**Answer: 9**
Question 266 NAT · 3.0 marks
Based on the above data, answer the given subquestions.
Find the probability that the operational cost is less than ₹90. Enter the answer correct to two
decimal places.
Published solution
**1. Express the event $Y < 90$ in terms of $X$:**
Given $Y = 70 + 5X^2$ and $0 \le X \le 4$:
$$Y < 90 \iff 70 + 5X^2 < 90 \iff 5X^2 < 20 \iff X^2 < 4$$
Since $X \ge 0$, this is equivalent to $0 \le X < 2$.
**2. Integrate the PDF $f_X(x) = \frac{1}{8}(4 - x)$ from $0$ to $2$:**
$$P(Y < 90) = P(0 \le X < 2) = \int_0^2 \frac{1}{8}(4 - x)\,dx = \frac{1}{8}\left[4x - \frac{x^2}{2}\right]_0^2 = \frac{1}{8}(8 - 2) = \frac{6}{8} = 0.75$$
**Answer: 0.75**
Question 267 MCQ · 2.0 marks
Based on the above data, answer the given subquestions.
Which of the following is the correct PDF of Y ?
Published solution
**1. Find the range and inverse transformation for $Y = 70 + 5X^2$:**
- Since $0 \le X \le 4$ is non-negative, the transformation $y = 70 + 5x^2$ is strictly increasing on $[0, 4]$ and maps $x \in [0, 4]$ to $y \in [70,\; 70 + 5(16)] = [70, 150]$.
- Solving for $x > 0$ in terms of $y$:
$$x = \sqrt{\frac{y - 70}{5}}$$
- Differentiating $x$ with respect to $y$ gives the Jacobian factor:
$$\frac{dx}{dy} = \frac{1}{2\sqrt{5(y - 70)}}$$
**2. Substitute into the change-of-variables formula $f_Y(y) = f_X(x)\left|\frac{dx}{dy}\right|$:**
$$f_Y(y) = \frac{1}{8}\left(4 - \sqrt{\frac{y - 70}{5}}\right) \cdot \frac{1}{2\sqrt{5(y - 70)}} = \frac{1}{16}\left(\frac{4}{\sqrt{5(y - 70)}} - \frac{1}{5}\right) = \frac{1}{20}\left(\sqrt{\frac{5}{y - 70}} - \frac{1}{4}\right)$$
for $70 \le y \le 150$, and $0$ otherwise.
**Answer: Option A**
A: **Correct:** Applying the change-of-variables formula yields $f_Y(y) = \frac{1}{20}\left(\sqrt{\frac{5}{y-70}} - \frac{1}{4}\right)$ for $70 \le y \le 150$.
B: **Incorrect:** Missing parentheses around $\sqrt{\frac{5}{y-70}} - \frac{1}{4}$, so $-\frac{1}{4}$ is not multiplied by $\frac{1}{20}$.
C: **Incorrect:** The square root term is inverted ($\sqrt{\frac{y-70}{5}}$ instead of $\sqrt{\frac{5}{y-70}}$).
D: **Incorrect:** Both the outside factor $\frac{1}{2}$ and the inverted square root are incorrect.
Question 268 NAT · 2.0 marks
Based on the above data, answer the given subquestions.
Find the value of
Enter the answer correct to one decimal place.
Published solution
**1. Sum all probabilities in the PMF table and set equal to $1$:**
$$P(X=1) + P(X=2) + P(X=3) + P(X=4) + P(X=5) = 1$$
$$k + 3k + 2k^2 + k^2 + 2k^2 = 1 \implies 5k^2 + 4k - 1 = 0$$
**2. Solve the quadratic equation:**
Factoring $5k^2 + 4k - 1 = 0$:
$$(5k - 1)(k + 1) = 0 \implies k = \frac{1}{5} = 0.2 \quad \text{or} \quad k = -1$$
Since probabilities must be non-negative ($k \ge 0$), we have $k = 0.2$.
**Answer: 0.2**
Question 269 NAT · 3.0 marks
Based on the above data, answer the given subquestions.
What is the value of
Enter the answer correct to one decimal place.
Published solution
**1. Substitute $k = 0.2$ into the PMF table:**
- $P(X = 1) = k = 0.2$
- $P(X = 2) = 3k = 0.6$
- $P(X = 3) = 2k^2 = 2(0.04) = 0.08$
- $P(X = 4) = k^2 = 0.04$
- $P(X = 5) = 2k^2 = 0.08$
**2. Compute the conditional probability $P(2 < X < 5 \mid X > 2)$:**
- The event $\{2 < X < 5\} \cap \{X > 2\}$ is $\{X = 3, 4\}$, with probability:
$$P(X = 3) + P(X = 4) = 0.08 + 0.04 = 0.12$$
- The event $\{X > 2\}$ is $\{X = 3, 4, 5\}$, with probability:
$$P(X > 2) = 0.08 + 0.04 + 0.08 = 0.20$$
- Therefore:
$$P(2 < X < 5 \mid X > 2) = \frac{0.12}{0.20} = 0.6$$
**Answer: 0.6**
Question 270 NAT · 3.0 marks
Published solution
**1. Compute $E[X]$ and $E[X^2]$ for $f_X(x) = \frac{3}{8}x^2$ on $0 \le x \le 2$:**
- First moment $E[X]$:
$$E[X] = \int_0^2 x \cdot \frac{3}{8}x^2\,dx = \frac{3}{8}\left[\frac{x^4}{4}\right]_0^2 = \frac{3}{8} \cdot \frac{16}{4} = \frac{3}{2} = 1.5$$
- Second moment $E[X^2]$:
$$E[X^2] = \int_0^2 x^2 \cdot \frac{3}{8}x^2\,dx = \frac{3}{8}\left[\frac{x^5}{5}\right]_0^2 = \frac{3}{8} \cdot \frac{32}{5} = \frac{12}{5} = 2.4$$
**2. Compute $\text{Var}(X) = E[X^2] - (E[X])^2$:**
$$\text{Var}(X) = 2.4 - (1.5)^2 = 2.4 - 2.25 = 0.15$$
**Answer: 0.15**
Question 271 MCQ · 3.0 marks
Published solution
**1. Find $E[X]$ from the power series expansion of $M_X(\lambda)$:**
The moment generating function of $X$ is:
$$M_X(\lambda) = 1 + E[X]\lambda + \frac{E[X^2]\lambda^2}{2!} + \frac{E[X^3]\lambda^3}{3!} + \dots = 1 + 6\lambda + \frac{20\lambda^2}{2!} + \frac{70\lambda^3}{3!} + \dots$$
Comparing the coefficient of $\lambda$, we see that $E[X] = 6$.
**2. Compute the MGF of $Y = X - E[X] = X - 6$:**
$$M_Y(\lambda) = E\left[e^{\lambda(X - 6)}\right] = e^{-6\lambda} E\left[e^{\lambda X}\right] = e^{-6\lambda} M_X(\lambda)$$
Substituting $M_X(\lambda)$ gives:
$$M_Y(\lambda) = e^{-6\lambda}\left(1 + 6\lambda + \frac{20\lambda^2}{2!} + \frac{70\lambda^3}{3!} + \dots\right)$$
**Answer: Option D**
A: **Incorrect:** Uses $e^{+6\lambda}$ instead of $e^{-6\lambda}$ for $Y = X - 6$.
B: **Incorrect:** $E[X]$ is $6$, not $-10$.
C: **Incorrect:** Uses $e^{\lambda}$ instead of $e^{-6\lambda}$.
D: **Correct:** Since $E[X] = 6$, $M_Y(\lambda) = E[e^{\lambda(X-6)}] = e^{-6\lambda}M_X(\lambda)$.
Question 272 MCQ · 2.0 marks
The joint PDF of two continuous random variables
and
is given by
Based on the above data, answer the given subquestions.
Find the marginal density of
.
Published solution
**1. Integrate the joint PDF $f_{XY}(x, y)$ over $y \in [0, 2]$:**
Given $f_{XY}(x, y) = 3xy(1 - x)$ for $0 \le x \le 1$ and $0 \le y \le 2$:
$$f_X(x) = \int_0^2 3xy(1 - x)\,dy = 3x(1 - x) \left[\frac{y^2}{2}\right]_0^2 = 3x(1 - x) \cdot \frac{4}{2} = 6x(1 - x)$$
for $0 \le x \le 1$, and $0$ otherwise.
**Answer: Option A**
A: **Correct:** Integrating $3xy(1 - x)$ with respect to $y$ from $0$ to $2$ multiplies by $\int_0^2 y\,dy = 2$, giving $6x(1 - x)$ for $0 \le x \le 1$.
B: **Incorrect:** Missing the constant factor $6$; $\int_0^1 x(1 - x)\,dx = 1/6 \ne 1$.
C: **Incorrect:** Missing the factor $x$.
D: **Incorrect:** Forgot to multiply by $\int_0^2 y\,dy = 2$.
Question 273 NAT · 3.0 marks
The joint PDF of two continuous random variables
and
is given by
Based on the above data, answer the given subquestions.
Find the value of
.
Published solution
**1. Compute $E[X]$ and $E[X^2]$ using the marginal PDF $f_X(x) = 6x(1 - x)$ on $[0, 1]$:**
- First moment $E[X]$:
$$E[X] = \int_0^1 x \cdot 6x(1 - x)\,dx = 6 \int_0^1 (x^2 - x^3)\,dx = 6\left(\frac{1}{3} - \frac{1}{4}\right) = 6 \cdot \frac{1}{12} = \frac{1}{2}$$
- Second moment $E[X^2]$:
$$E[X^2] = \int_0^1 x^2 \cdot 6x(1 - x)\,dx = 6 \int_0^1 (x^3 - x^4)\,dx = 6\left(\frac{1}{4} - \frac{1}{5}\right) = 6 \cdot \frac{1}{20} = \frac{3}{10}$$
**2. Compute $E(10X^2 + 2X)$ by linearity of expectation:**
$$E(10X^2 + 2X) = 10E[X^2] + 2E[X] = 10\left(\frac{3}{10}\right) + 2\left(\frac{1}{2}\right) = 3 + 1 = 4$$
**Answer: 4**
Question 274 MCQ · 3.0 marks
Two fair six-sided dice are thrown simultaneously. Let
be the outcome on the first die and
be
the outcome on the second die. Define a new random variable
. Find the value of
.
Published solution
**1. Count the total and favorable outcomes for throwing two fair six-sided dice:**
- Total number of equally likely outcomes $(x, y) \in \{1, \dots, 6\}^2$ is $6 \times 6 = 36$.
- We want $Z = X + Y \le 5$, which means $Z \in \{2, 3, 4, 5\}$:
- $Z = 2$: $(1, 1)$ $\rightarrow 1$ outcome
- $Z = 3$: $(1, 2), (2, 1)$ $\rightarrow 2$ outcomes
- $Z = 4$: $(1, 3), (2, 2), (3, 1)$ $\rightarrow 3$ outcomes
- $Z = 5$: $(1, 4), (2, 3), (3, 2), (4, 1)$ $\rightarrow 4$ outcomes
- Total favorable outcomes $= 1 + 2 + 3 + 4 = 10$.
**2. Calculate the probability:**
$$P(Z \le 5) = \frac{10}{36} = \frac{5}{18}$$
**Answer: Option D**
A: **Incorrect:** $7/36$ omits the 3 outcomes where $X + Y = 4$ (or counts only up to $Z \le 4$ minus 3).
B: **Incorrect:** $5/36$ is the probability of getting $Z = 6$ alone, not $Z \le 5$.
C: **Incorrect:** $2/9 = 8/36$, whereas there are $10$ favorable outcomes.
D: **Correct:** There are $1 + 2 + 3 + 4 = 10$ outcomes with sum $\le 5$, giving $10/36 = 5/18$.
Question 275 MSQ · 3.0 marks
Based on the above data, answer the given subquestions.
Which of the following statement(s) is/are correct?
Published solution
**1. Identify the distribution of $X$ from its MGF:**
Given $M_X(\lambda) = \frac{1}{4}e^{\lambda} + \frac{1}{2}e^{2\lambda} + \frac{1}{4}e^{3\lambda}$:
- Since $M_X(\lambda) = \sum_x P(X = x)e^{\lambda x}$, $X$ is a **discrete random variable with range $\{1, 2, 3\}$** and probabilities $P(X = 1) = \frac{1}{4}$, $P(X = 2) = \frac{1}{2}$, $P(X = 3) = \frac{1}{4}$. (**Option A is correct**)
**2. Compute $E[X]$ and $\text{Var}(X)$:**
- Mean:
$$E[X] = 1\left(\frac{1}{4}\right) + 2\left(\frac{1}{2}\right) + 3\left(\frac{1}{4}\right) = 2$$
(**Option B is correct**)
- Second moment and variance:
$$E[X^2] = 1^2\left(\frac{1}{4}\right) + 2^2\left(\frac{1}{2}\right) + 3^2\left(\frac{1}{4}\right) = \frac{1}{4} + 2 + \frac{9}{4} = 4.5$$
$$\text{Var}(X) = E[X^2] - (E[X])^2 = 4.5 - 4 = 0.5$$
**3. Apply the Central Limit Theorem to $Y = \sum_{i=1}^{100} X_i$:**
For $n = 100$ i.i.d. variables, $Y = \sum_{i=1}^{100} X_i$ is approximately normal with:
- Mean: $nE[X] = 100 \times 2 = 200$
- Variance: $n\text{Var}(X) = 100 \times 0.5 = 50$
(**Option C is correct**, and Option D is incorrect).
**Answer: Options A, B, C**
A: **Correct:** The exponents $1, 2, 3$ in $M_X(\lambda)$ show that $X$ takes values in $\{1, 2, 3\}$.
B: **Correct:** $E[X] = \frac{1}{4}(1) + \frac{1}{2}(2) + \frac{1}{4}(3) = 2$.
C: **Correct:** By the CLT, $Y = \sum_{i=1}^{100} X_i$ is approximately $\text{Normal}(100 \times 2,\; 100 \times 0.5) = \text{Normal}(200, 50)$.
D: **Incorrect:** $2$ and $0.5$ are the mean and variance of a single $X_i$, not of the sum $Y = \sum_{i=1}^{100} X_i$.
Question 276 NAT · 2.0 marks
Based on the above data, answer the given subquestions.
Using the Central Limit Theorem, find the approximate probability that the total number of
subjects taken by all
students is less than
.
Enter the answer correct to two decimal places.
Published solution
**1. Standardize $Y = 195$ using the CLT parameters from Question 275:**
From Question 275, $Y = \sum_{i=1}^{100} X_i \approx \text{Normal}(\mu_Y = 200,\; \sigma_Y^2 = 50)$, so $\sigma_Y = \sqrt{50} \approx 7.071$:
$$P(Y < 195) \approx P\left(Z < \frac{195 - 200}{\sqrt{50}}\right) = P\left(Z < \frac{-5}{7.071}\right) = P(Z < -0.71)$$
**2. Use the Useful Data table in Question 258:**
From Useful Data, $F_Z(0.71) = 0.76$. By symmetry of the standard normal distribution:
$$P(Z < -0.71) = 1 - F_Z(0.71) = 1 - 0.76 = 0.24$$
**Answer: 0.24**
Question 277 NAT · 2.0 marks
Let
i.i.d Uniform
. Suppose
is the sample
mean.
Based on the above data, answer the given subquestions.
Find the value of
.Enter the answer correct to one decimal place.
Published solution
**1. Find the mean of $X_i \sim \text{Uniform}[0, 1]$:**
For $X_i \sim \text{Uniform}[a, b]$ with $a = 0$ and $b = 1$:
$$E[X_i] = \frac{a + b}{2} = \frac{0 + 1}{2} = 0.5$$
**2. Find the expected value of the sample mean $Y = \frac{1}{6}\sum_{i=1}^6 X_i$:**
$$E[Y] = E[X_1] = 0.5$$
**Answer: 0.5**
Question 278 NAT · 2.0 marks
Let
i.i.d Uniform
. Suppose
is the sample
mean.
Based on the above data, answer the given subquestions.
Find the value of Var
. Enter the answer correct to three decimal places.
Published solution
**1. Find the variance of $X_i \sim \text{Uniform}[0, 1]$:**
For $X_i \sim \text{Uniform}[0, 1]$:
$$\text{Var}(X_i) = \frac{(b - a)^2}{12} = \frac{(1 - 0)^2}{12} = \frac{1}{12}$$
**2. Compute the variance of the sample mean $Y = \frac{1}{6}\sum_{i=1}^6 X_i$:**
Since $X_1, \dots, X_6$ are independent and identically distributed:
$$\text{Var}(Y) = \frac{\text{Var}(X_1)}{6} = \frac{1/12}{6} = \frac{1}{72} \approx 0.01389 \approx 0.014$$
**Answer: 0.014**
Question 279 NAT · 1.0 marks
Let
i.i.d Uniform
. Suppose
is the sample
mean.
Based on the above data, answer the given subquestions.
Find
.
A published solution is not available for this question yet.