STA642 – Probability Distributions: Midterm Important Subjective (28 Solved Q&As)
Statistics • Read every solved subjective question with its model answer directly on this page. Free, no login required.
All 664 Midterm Packs · STA642 Course Page · STA642 MCQ Pack (100 MCQs)
-
Define a random experiment, a sample space and a random variable, giving one example of each.
Topic: Random Variables and Probability Mass Function
A random experiment is an experiment or process whose outcome cannot be predicted with certainty in advance, e.g. tossing a coin. The sample space is the set of all possible outcomes of the experiment; for one toss of a coin it is S = {H, T}. A random variable is a function that assigns a real number to each outcome of a random experiment, e.g. X = number of heads obtained in two tosses of a coin, which takes the values 0, 1, 2.
-
Define the probability mass function (pmf) of a discrete random variable and state the two conditions it must satisfy. Verify that p(x) = x/15 for x = 1, 2, 3, 4, 5 is a valid pmf.
Topic: Random Variables and Probability Mass Function
The pmf of a discrete random variable X is the function p(x) = P(X = x), which gives the probability that X takes the value x. It must satisfy: (i) p(x) ≥ 0 for all x, and (ii) Σ p(x) = 1, the sum being taken over all possible values of X. For p(x) = x/15: each value 1/15, 2/15, 3/15, 4/15, 5/15 is non-negative, and the sum is (1 + 2 + 3 + 4 + 5)/15 = 15/15 = 1. Hence p(x) is a valid pmf.
-
A random variable X has pmf p(0) = 0.1, p(1) = 0.3, p(2) = 0.4, p(3) = 0.2. Find (i) P(X ≤ 2), (ii) P(X > 1), (iii) P(1 ≤ X ≤ 3).
Topic: Random Variables and Probability Mass Function
(i) P(X ≤ 2) = p(0) + p(1) + p(2) = 0.1 + 0.3 + 0.4 = 0.8. (ii) P(X > 1) = p(2) + p(3) = 0.4 + 0.2 = 0.6. (iii) P(1 ≤ X ≤ 3) = p(1) + p(2) + p(3) = 0.3 + 0.4 + 0.2 = 0.9.
-
Define the probability generating function (pgf) of a discrete random variable. Show that G(1) = 1, and use the pgf of a Poisson random variable to find its mean.
Topic: Probability Generating Function
If X is a discrete random variable taking values in {0, 1, 2, …} with pmf p(x), its pgf is G(z) = E(z^X) = Σ p(x) z^x. Putting z = 1 gives G(1) = Σ p(x) = 1, since the probabilities sum to 1. For a Poisson random variable with mean λ, G(z) = e^{λ(z − 1)}. Differentiating, G′(z) = λ e^{λ(z − 1)}, so the mean is E(X) = G′(1) = λ e^{0} = λ.
-
How are the probabilities p(k) = P(X = k) recovered from the probability generating function? Illustrate with the pgf of the number of heads in one toss of a fair coin.
Topic: Probability Generating Function
The k-th probability is obtained from the k-th derivative of G at z = 0: p(k) = G^{(k)}(0)/k!. For one toss of a fair coin, G(z) = 1/2 + z/2. Then p(0) = G(0) = 1/2, and since G′(z) = 1/2, p(1) = G′(0)/1! = 1/2. These agree with P(X = 0) = P(X = 1) = 1/2.
-
Define the probability density function (pdf) of a continuous random variable and state its properties. If f(x) = 3x² for 0 ≤ x ≤ 1, find P(X < 1/2).
Topic: Probability Density Function and Cumulative Distribution Function
The pdf of a continuous random variable X is a non-negative function f(x) such that the probability that X falls in an interval is the area under the curve over that interval: P(a ≤ X ≤ b) = ∫_a^b f(x) dx. Its properties are: (i) f(x) ≥ 0 for all x, and (ii) the total area under the curve is 1, i.e. ∫_{−∞}^{∞} f(x) dx = 1. Here P(X < 1/2) = ∫_0^{1/2} 3x² dx = [x³]_0^{1/2} = (1/2)³ = 1/8 = 0.125.
-
Define the cumulative distribution function (CDF) of a random variable and state its main properties.
Topic: Probability Density Function and Cumulative Distribution Function
The CDF of X is F(x) = P(X ≤ x), defined for all real x. Its main properties are: (i) F is non-decreasing: if a < b then F(a) ≤ F(b); (ii) lim_{x→−∞} F(x) = 0; (iii) lim_{x→+∞} F(x) = 1; (iv) F is right-continuous. Also 0 ≤ F(x) ≤ 1 for all x, and P(a < X ≤ b) = F(b) − F(a).
-
The pdf of a continuous random variable is f(x) = 2e^{−2x} for x > 0 (and 0 elsewhere). Find its CDF and P(0.5 < X < 1).
Topic: Probability Density Function and Cumulative Distribution Function
For x > 0, F(x) = ∫_0^x 2e^{−2u} du = [−e^{−2u}]_0^x = 1 − e^{−2x} (and F(x) = 0 for x ≤ 0). Hence P(0.5 < X < 1) = F(1) − F(0.5) = (1 − e^{−2}) − (1 − e^{−1}) = e^{−1} − e^{−2} ≈ 0.3679 − 0.1353 ≈ 0.2325.
-
Show that the derivative of the CDF of a continuous random variable is its pdf, and explain why P(X = x) = 0 for a continuous random variable.
Topic: Probability Density Function and Cumulative Distribution Function
By definition F(x) = ∫_{−∞}^x f(u) du. By the fundamental theorem of calculus, d/dx F(x) = f(x), so the derivative of the CDF is the pdf. Moreover P(X = x) = P(x ≤ X ≤ x) = ∫_x^x f(u) du = 0, because the integral over a single point (an interval of zero length) is zero; equivalently, F has no jump at any point for a continuous random variable.
-
Let X have pdf f(x) = 2x for 0 ≤ x ≤ 1. Using the CDF method, find the pdf of Y = X².
Topic: Transformations, Mode, Median and Percentiles
For 0 ≤ y ≤ 1, F_Y(y) = P(Y ≤ y) = P(X² ≤ y) = P(X ≤ √y) = ∫_0^{√y} 2x dx = [x²]_0^{√y} = y. Differentiating with respect to y, f_Y(y) = F′_Y(y) = 1 for 0 ≤ y ≤ 1 (and 0 elsewhere); thus Y follows the uniform distribution on (0, 1).
-
State the Jacobian (transformation) formula for the pdf of a monotone transformation Y = g(X) of a continuous random variable, and explain the role of the Jacobian factor.
Topic: Transformations, Mode, Median and Percentiles
If Y = g(X) is a strictly monotone (one-to-one) transformation with inverse X = g^{−1}(Y), then the pdf of Y is f_Y(y) = f_X(g^{−1}(y)) · |d/dy g^{−1}(y)| = f_X(x) · |dx/dy|, where x is expressed in terms of y. The factor |dx/dy| is the Jacobian of the inverse transformation; it adjusts for the stretching or compression of probability when the scale changes from x to y, and the absolute value is used because a density must be non-negative.
-
Define the mode, the median and the (100p)th percentile of a continuous distribution. Find the median of the distribution with pdf f(x) = 2x for 0 ≤ x ≤ 1.
Topic: Transformations, Mode, Median and Percentiles
The mode is the value of x at which the pdf attains its maximum. The median m is the value that divides the distribution into two equal halves, i.e. F(m) = 1/2. The (100p)th percentile is the value x_p such that F(x_p) = p, i.e. 100p percent of the probability lies below it. Here F(x) = ∫_0^x 2u du = x², so the median satisfies m² = 1/2, giving m = 1/√2 ≈ 0.707.
-
What is the quantile function (inverse CDF)? State one important use of it.
Topic: Transformations, Mode, Median and Percentiles
The quantile function is the inverse of the CDF: for 0 < p < 1, Q(p) = F^{−1}(p) is the value x_p such that F(x_p) = p. It gives any required percentile directly from p; an important use is in simulation, where if U is uniform on (0, 1) then Q(U) has the distribution with CDF F, so random values from any distribution can be generated from uniform random numbers.
-
Define the expected value E(X) of a random variable for the discrete and continuous cases. Compute E(X) when p(1) = 0.2, p(2) = 0.5 and p(3) = 0.3.
Topic: Mathematical Expectation
For a discrete random variable, E(X) = Σ x·p(x), the sum being over all possible values of X. For a continuous random variable with pdf f(x), E(X) = ∫_{−∞}^{∞} x f(x) dx. Here E(X) = 1(0.2) + 2(0.5) + 3(0.3) = 0.2 + 1.0 + 0.9 = 2.1.
-
State the rule for E(aX + b) and for E[g(X)], and use them to find E(3X − 2) when E(X) = 5.
Topic: Mathematical Expectation
For constants a and b, E(aX + b) = aE(X) + b, because expectation is a linear operator. For a function g, E[g(X)] = Σ g(x) p(x) in the discrete case and E[g(X)] = ∫ g(x) f(x) dx in the continuous case. Thus E(3X − 2) = 3E(X) − 2 = 3(5) − 2 = 13.
-
For the pdf f(x) = 3x², 0 ≤ x ≤ 1, compute E(X²).
Topic: Mathematical Expectation
E(X²) = ∫_0^1 x² · 3x² dx = ∫_0^1 3x⁴ dx = 3 [x⁵/5]_0^1 = 3/5 = 0.6.
-
Define the variance of a random variable and prove that Var(X) = E(X²) − [E(X)]².
Topic: Variance and Standard Deviation
The variance of X is Var(X) = E[(X − μ)²], where μ = E(X); it measures the spread of the distribution about its mean. Proof: E[(X − μ)²] = E[X² − 2μX + μ²] = E(X²) − 2μE(X) + μ² = E(X²) − 2μ² + μ² = E(X²) − μ² = E(X²) − [E(X)]².
-
For the distribution p(1) = 0.2, p(2) = 0.5, p(3) = 0.3, find the variance and the standard deviation of X.
Topic: Variance and Standard Deviation
E(X) = 2.1 and E(X²) = 1²(0.2) + 2²(0.5) + 3²(0.3) = 0.2 + 2.0 + 2.7 = 4.9. Hence Var(X) = E(X²) − [E(X)]² = 4.9 − (2.1)² = 4.9 − 4.41 = 0.49, and the standard deviation is σ = √0.49 = 0.7.
-
State the effect of a linear transformation on the variance. If Var(X) = 4, find Var(2X + 3) and the standard deviation of 2X + 3.
Topic: Variance and Standard Deviation
For constants a and b, Var(aX + b) = a² Var(X): adding a constant b shifts the distribution without changing its spread, while multiplying by a multiplies the variance by a². Thus Var(2X + 3) = 2² × 4 = 16, and the standard deviation of 2X + 3 is √16 = 4.
-
What is a degenerate random variable? Show that its variance is zero. Also define the standardized variable and state its mean and variance.
Topic: Variance and Standard Deviation
A degenerate random variable takes a single constant value c with probability 1. Then E(X) = c and E(X²) = c², so Var(X) = c² − c² = 0; there is no spread at all. The standardized variable is Z = (X − μ)/σ. Its mean is E(Z) = (E(X) − μ)/σ = 0 and its variance is Var(Z) = Var(X)/σ² = 1.
-
Define the raw moments and the central moments of a distribution. Define the moment ratios β_1 and β_2 and state their values for a symmetric distribution and for the normal distribution.
Topic: Moments, Skewness and Kurtosis
The r-th raw moment (moment about the origin) is μ′_r = E(X^r); the r-th central moment (moment about the mean) is μ_r = E[(X − μ)^r]. Note μ_1 = 0 and μ_2 = Var(X). The moment ratio β_1 = μ_3²/μ_2³ measures skewness (asymmetry); β_1 = 0 for a symmetric distribution. The moment ratio β_2 = μ_4/μ_2² measures kurtosis (peakedness); for the normal distribution β_2 = 3.
-
Define the moment generating function (MGF) of a random variable and explain how the moments are obtained from it. Use the MGF of the Poisson distribution to find its mean.
Topic: Moment Generating Function
The MGF of X is M_X(t) = E(e^{tX}), defined for t in a neighbourhood of 0. Expanding e^{tX} as a power series shows that the coefficient of t^r/r! in M_X(t) is E(X^r); hence E(X^r) = M^{(r)}_X(0), the r-th derivative of the MGF at t = 0. For a Poisson random variable, M(t) = e^{λ(e^t − 1)}. Then M′(t) = λ e^t e^{λ(e^t − 1)}, so E(X) = M′(0) = λ e^{0} e^{0} = λ.
-
Derive the MGF of a Bernoulli(p) random variable, and hence write down the MGF of a Binomial(n, p) random variable.
Topic: Moment Generating Function
A Bernoulli random variable takes the value 1 with probability p and 0 with probability 1 − p. Hence M(t) = E(e^{tX}) = e^{t·0}(1 − p) + e^{t·1} p = 1 − p + pe^t. A Binomial(n, p) random variable is the sum of n independent Bernoulli(p) random variables, and the MGF of a sum of independent random variables is the product of their MGFs, so M(t) = (1 − p + pe^t)^n.
-
Write down the MGFs of the Normal(μ, σ²) and the continuous Uniform(a, b) distributions. Name one well-known distribution for which the MGF does not exist.
Topic: Moment Generating Function
For Normal(μ, σ²), M(t) = e^{μt + σ²t²/2}. For the continuous Uniform(a, b), M(t) = (e^{tb} − e^{ta})/(t(b − a)). The MGF does not exist for the Cauchy distribution, because E(e^{tX}) diverges for every t ≠ 0 due to its heavy tails.
-
Define the cumulant generating function (CGF) and show that its first two cumulants are the mean and the variance.
Topic: Cumulant Generating Function and Characteristic Function
The CGF is K_X(t) = ln M_X(t), and the cumulants κ_r are defined by K_X(t) = Σ κ_r t^r/r!. Now K′_X(t) = M′_X(t)/M_X(t), so κ_1 = K′_X(0) = M′_X(0)/M_X(0) = E(X)/1 = the mean μ. Also K′′_X(t) = M′′_X(t)/M_X(t) − [M′_X(t)/M_X(t)]², so κ_2 = K′′_X(0) = E(X²) − [E(X)]² = Var(X).
-
Define the characteristic function of a random variable and state two advantages it has over the moment generating function.
Topic: Cumulant Generating Function and Characteristic Function
The characteristic function of X is φ_X(t) = E(e^{itX}), where i = √(−1). Its advantages are: (i) it always exists for every random variable, because |e^{itX}| = 1 so the expectation always converges, whereas the MGF may fail to exist (e.g. for the Cauchy distribution); (ii) it uniquely determines the distribution, so two random variables with the same characteristic function have the same distribution. Also φ_X(0) = 1 and E(X) = φ′_X(0)/i.
-
State Chebyshev's inequality and give a short proof.
Topic: Chebyshev's Inequality
Statement: If X is a random variable with mean μ and finite variance σ², then for every k > 0, P(|X − μ| ≥ kσ) ≤ 1/k²; equivalently, at least 1 − 1/k² of the probability lies within k standard deviations of the mean. Proof: σ² = E[(X − μ)²] ≥ E[(X − μ)² restricted to the event |X − μ| ≥ kσ] ≥ (kσ)² P(|X − μ| ≥ kσ), because on that event (X − μ)² ≥ k²σ². Dividing by k²σ² gives P(|X − μ| ≥ kσ) ≤ σ²/(k²σ²) = 1/k².
-
A distribution has mean μ = 50 and standard deviation σ = 5. Using Chebyshev's inequality, find the minimum percentage of values lying between 35 and 65.
Topic: Chebyshev's Inequality
The interval (35, 65) is μ ± 15, i.e. μ ± 3σ, so k = 3. By Chebyshev's inequality, the proportion within k = 3 standard deviations of the mean is at least 1 − 1/k² = 1 − 1/9 = 8/9 ≈ 88.9%. Hence at least about 88.9% of the values lie between 35 and 65, whatever the shape of the distribution.