A discrete random variable \(X\) has the probability mass function:
| x | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| p(x) | 0.10 | 0.20 | 0.30 | 0.25 | 0.15 |
Compute the first four raw moments \(\mu'_1, \mu'_2, \mu'_3, \mu'_4\) and the central moments \(\mu_2, \mu_3, \mu_4\).
To compute the raw and central moments (including the mean and variance) of a discrete random variable from its pmf.
Applying it:
Blank working table (fill in each product column and total it):
| x | p(x) | x p(x) | x² p(x) | x³ p(x) | x⁴ p(x) |
|---|---|---|---|---|---|
| 0 | 0.10 | ||||
| 1 | 0.20 | ||||
| 2 | 0.30 | ||||
| 3 | 0.25 | ||||
| 4 | 0.15 | ||||
| Σ | 1.00 |
| x | p(x) | x p(x) | x² p(x) | x³ p(x) | x⁴ p(x) |
|---|---|---|---|---|---|
| 0 | 0.10 | 0 | 0 | 0 | 0 |
| 1 | 0.20 | 0.20 | 0.20 | 0.20 | 0.20 |
| 2 | 0.30 | 0.60 | 1.20 | 2.40 | 4.80 |
| 3 | 0.25 | 0.75 | 2.25 | 6.75 | 20.25 |
| 4 | 0.15 | 0.60 | 2.40 | 9.60 | 38.40 |
| Σ | 1.00 | 2.15 | 6.05 | 18.95 | 63.65 |
Raw moments: \(\mu'_1 = 2.15,\ \mu'_2 = 6.05,\ \mu'_3 = 18.95,\ \mu'_4 = 63.65\).
\(\mu_2 = 6.05 - 2.15^2 = 6.05 - 4.6225 = 1.4275\).
\(\mu_3 = 18.95 - 3(6.05)(2.15) + 2(2.15)^3 = 18.95 - 39.0225 + 19.8768 = -0.1957\).
\(\mu_4 = 63.65 - 4(18.95)(2.15) + 6(6.05)(2.15)^2 - 3(2.15)^4 = 63.65 - 162.97 + 167.7968 - 64.1025 = 4.3742\).
Mean \(= \mu'_1 = 2.15\); variance \(= \mu_2 = 1.4275\); \(\mu_3 = -0.196\); \(\mu_4 = 4.374\). The small negative \(\mu_3\) indicates a slight left skew.
Using the central moments obtained in Experiment 1 (\(\mu_2 = 1.4275,\ \mu_3 = -0.1957,\ \mu_4 = 4.3742\)), compute the coefficients of skewness and kurtosis.
To measure the skewness and kurtosis of a discrete distribution from its central moments.
Applying it:
Blank working table (enter the moment inputs and the computed coefficients):
| Quantity | Value |
|---|---|
| \(\mu_2\) | |
| \(\mu_3\) | |
| \(\mu_4\) | |
| \(\beta_1,\ \gamma_1\) | |
| \(\beta_2,\ \gamma_2\) |
\(\beta_1 = \dfrac{(-0.1957)^2}{1.4275^3} = \dfrac{0.03832}{2.9089} = 0.0132\); \(\quad \gamma_1 = \dfrac{-0.1957}{1.4275^{3/2}} = \dfrac{-0.1957}{1.7055} = -0.115\).
\(\beta_2 = \dfrac{4.3742}{1.4275^2} = \dfrac{4.3742}{2.0378} = 2.147\); \(\quad \gamma_2 = 2.147 - 3 = -0.853\).
\(\gamma_1 = -0.115\) — the distribution is slightly negatively (left) skewed; \(\beta_2 = 2.147\) (\(< 3\)), so it is platykurtic (\(\gamma_2 = -0.853\)).
A continuous random variable \(X\) has the density \(f(x) = 6x(1-x),\ 0 \le x \le 1\) (this is the Beta(2, 2) density). Compute the first four raw moments and the central moments \(\mu_2, \mu_3, \mu_4\).
To compute the moments of a continuous random variable from its pdf using integration.
Applying it:
Blank working table (evaluate the raw moment for each order):
| r | μ′r = 6 / [(r+2)(r+3)] |
|---|---|
| 1 | |
| 2 | |
| 3 | |
| 4 |
| r | μ′r |
|---|---|
| 1 | 6/(3 · 4) = 0.5 |
| 2 | 6/(4 · 5) = 0.3 |
| 3 | 6/(5 · 6) = 0.2 |
| 4 | 6/(6 · 7) ≈ 0.1429 |
\(\mu_2 = 0.3 - 0.5^2 = 0.05\).
\(\mu_3 = 0.2 - 3(0.3)(0.5) + 2(0.5)^3 = 0.2 - 0.45 + 0.25 = 0\).
\(\mu_4 = 0.1429 - 4(0.2)(0.5) + 6(0.3)(0.5)^2 - 3(0.5)^4 = 0.1429 - 0.4 + 0.45 - 0.1875 = 0.00536\).
Mean \(= 0.5\); variance \(= \mu_2 = 0.05\); \(\mu_3 = 0\) (symmetric); \(\mu_4 = 0.00536\).
Using the central moments of the Beta(2, 2) density from Experiment 3 (\(\mu_2 = 0.05,\ \mu_3 = 0,\ \mu_4 = 0.00536\)), compute the coefficients of skewness and kurtosis.
To measure the skewness and kurtosis of a continuous distribution from its central moments.
Applying it:
Blank working table (enter the moment inputs and the computed coefficients):
| Quantity | Value |
|---|---|
| \(\mu_2\) | |
| \(\mu_4\) | |
| \(\beta_1\) | |
| \(\beta_2,\ \gamma_2\) |
\(\beta_1 = \dfrac{0^2}{0.05^3} = 0\) — confirming Beta(2, 2) is symmetric about 0.5.
\(\beta_2 = \dfrac{0.00536}{0.05^2} = \dfrac{0.00536}{0.0025} = 2.14\); \(\quad \gamma_2 = 2.14 - 3 = -0.86\).
\(\beta_1 = 0\) (symmetric); \(\beta_2 = 2.14\) (\(< 3\)), so the distribution is platykurtic (\(\gamma_2 = -0.86\)). This matches the known excess kurtosis of the Beta(2, 2) distribution, \(-6/7 \approx -0.857\).
The joint pmf of \((X, Y)\) is:
| X \ Y | 1 | 2 | 3 |
|---|---|---|---|
| 0 | 1/12 | 2/12 | 1/12 |
| 1 | 2/12 | 3/12 | 3/12 |
(a) Find the marginal pmfs of \(X\) and \(Y\). (b) Find \(P(Y = 2 \mid X = 1)\). (c) Determine whether \(X\) and \(Y\) are independent.
To obtain marginal and conditional pmfs from a joint pmf and to test the independence of two discrete random variables.
Applying it:
Blank working table (fill in the row totals \(p_X\) and column totals \(p_Y\)):
| X \ Y | 1 | 2 | 3 | Row total pX(x) |
|---|---|---|---|---|
| 0 | 1/12 | 2/12 | 1/12 | |
| 1 | 2/12 | 3/12 | 3/12 | |
| Col total pY(y) | 1 |
(a) Marginals: \(p_X(0) = \tfrac{1+2+1}{12} = \tfrac{4}{12} = \tfrac13\), \(p_X(1) = \tfrac{2+3+3}{12} = \tfrac{8}{12} = \tfrac23\); \(p_Y(1) = \tfrac{3}{12} = \tfrac14\), \(p_Y(2) = \tfrac{5}{12}\), \(p_Y(3) = \tfrac{4}{12} = \tfrac13\).
(b) Conditional: \(P(Y = 2 \mid X = 1) = \dfrac{p(1,2)}{p_X(1)} = \dfrac{3/12}{8/12} = \dfrac38\).
(c) Independence check: \(p_X(0)\,p_Y(1) = \tfrac13 \cdot \tfrac14 = \tfrac1{12} = p(0,1)\) ✓, but \(p_X(1)\,p_Y(3) = \tfrac23 \cdot \tfrac13 = \tfrac29 \ne \tfrac{3}{12} = \tfrac14 = p(1,3)\).
Marginals: \(p_X = (\tfrac13, \tfrac23)\) and \(p_Y = (\tfrac14, \tfrac5{12}, \tfrac13)\); \(P(Y=2 \mid X=1) = \tfrac38\). Since the factorisation fails for at least one cell, \(X\) and \(Y\) are not independent.
(a) \(f(x, y) = 4xy,\ 0 \le x, y \le 1\): find the marginal densities, the conditional density
\(f_{Y|X}(y \mid x)\), and check independence.
(b) \(f(x, y) = x + y,\ 0 \le x, y \le 1\): examine independence.
To obtain marginal and conditional densities from a joint pdf and to test the independence of two continuous random variables.
Applying it:
Blank working table (write each density expression):
| Quantity | (a) f = 4xy | (b) f = x + y |
|---|---|---|
| \(f_X(x)\) | ||
| \(f_Y(y)\) | ||
| \(f_X(x)\,f_Y(y)\) | ||
| Independent? |
(a) \(f_X(x) = \int_0^1 4xy\,dy = 4x \cdot \tfrac12 = 2x\) and, by symmetry, \(f_Y(y) = 2y\)
(\(0 \le x, y \le 1\)).
Conditional: \(f_{Y|X}(y \mid x) = \dfrac{4xy}{2x} = 2y = f_Y(y)\). Also \(f_X(x)\,f_Y(y) = 2x \cdot 2y = 4xy = f(x, y)\) ✓.
(b) \(f_X(x) = \int_0^1 (x + y)\,dy = x + \tfrac12\) and \(f_Y(y) = y + \tfrac12\).
Product \((x + \tfrac12)(y + \tfrac12) \ne x + y\).
(a) Since \(f(x, y) = f_X(x)\,f_Y(y)\), \(X\) and \(Y\) are independent. (b) The factorisation fails, so \(X\) and \(Y\) are not independent.
(a) The mean and SD of the marks of 1 000 students are 60 and 8. Find a lower bound
for the number of students whose marks lie between 44 and 76.
(b) For i.i.d. variables with variance \(\sigma^2 = 4\), determine the sample size \(n\)
so that the sample mean is within 0.5 of \(\mu\) with probability at least 0.95.
To apply Chebyshev's inequality to bound probabilities and to determine a required sample size.
Applying it:
Blank working table (record the given quantities):
| Quantity | (a) | (b) |
|---|---|---|
| Mean \(\mu\) | 60 | — |
| SD \(\sigma\) / variance | 8 | \(\sigma^2 = 4\) |
| Tolerance | 0.5 | |
| \(k\) / required bound | 0.05 |
(a) The interval \([44, 76]\) is \(60 \pm 16 = \mu \pm 2\sigma\), so \(k = 2\).
\(P(|X - 60| < 16) \ge 1 - \tfrac{1}{2^2} = 1 - \tfrac14 = 0.75\).
Expected count \(\ge 0.75 \times 1000 = 750\).
(b) \(\operatorname{Var}(\bar X) = \sigma^2/n = 4/n\). By Chebyshev,
\(P(|\bar X - \mu| \ge 0.5) \le \dfrac{4/n}{0.5^2} = \dfrac{16}{n}\).
Require \(\dfrac{16}{n} \le 0.05 \Rightarrow n \ge 320\).
(a) At least 750 of the 1 000 students score between 44 and 76. (b) A sample size of \(n \ge \mathbf{320}\) is required.