Print this page and work through it on paper. Revealed answers are never printed, so you can check one question and still print a clean sheet.

  1. Show the solution to question 1

    (a) Expectations and variances. By the theorem Mean and variance of the sample mean, and , so has bias and variance .

    is itself the sample mean of a sample of size , so and the bias is ; by independence the variances add, .

    For , linearity of expectation gives , so

    the constant coming out of the variance squared.

    (b) Bias–variance decomposition. , so

    if and only if . Expanding the right side, , which is , i.e. . Shrinking toward zero pays when the true mean is within about population standard deviations of zero: the bias it introduces is then smaller than the variance it removes.

    With , , : , , and . Check against the criterion: ✓, so should win, and it does.

    (c) Consistency. is consistent by the corollary The sample mean is consistent. For , the bias and the variance , so and the theorem MSE consistency gives consistency.

    has , which does not vanish — but that alone proves nothing, because the theorem runs one way only (MSE to zero implies consistency). Argue from the definition. The estimator does not depend on at all, so for each the number is the same for every , and the limit as is simply . If for every , then taking and a countable union gives , so — contradicting . Hence some has , the probability does not tend to , and is not consistent.

    The moral: discarding observations keeps unbiasedness perfectly intact and destroys consistency.

  2. Show the solution to question 2

    (a) Linearity. for every real — no restriction to is needed for unbiasedness. Since the two estimators are independent, the variance of the sum is the sum of the variances, and constants come out squared:

    (b) Minimise the parabola. , which vanishes when , i.e. at . Since , is a convex parabola and the stationary point is its global minimum. With ,

    Equivalently : the precisions (reciprocal variances) add, and each estimator is weighted in proportion to its precision.

    (c) The combination beats both. is equivalent, after multiplying by the positive and dividing by , to , i.e. , which holds. By symmetry the minimum is also below .

    So throwing the noisier estimator away (which is or ) is never optimal: however poor it is, it carries some information, and the right weight extracts it. For instance if the minimum is , a reduction bought from an estimator nine times noisier.

    Sample means. Here , so

    and therefore

    the grand mean of the pooled sample. Its variance is , which agrees with the formula: ✓. Sample means are to be weighted by sample size, not averaged equally.

  3. Show the solution to question 3

    (a) Match the first moment. One parameter needs one equation: set the population mean equal to the sample mean, , so . On the data and .

    (b) Maximum likelihood. The likelihood is

    The score is , which vanishes at . Second derivative: for every , so is strictly concave on ; a strictly concave function has at most one stationary point and it is the global maximum. The boundary check confirms it: as (the term) and as (the term dominates), so nothing larger hides at the edges. On the data , agreeing with the method of moments.

    (c) Invariance. By the theorem Invariance of maximum likelihood, the MLE of any function of is that function of . So the MLE of the mean is , and the MLE of is .

    Is unbiased for ? Yes: by linearity.

    Is unbiased for ? No. The map is strictly convex on and is not a constant, so Jensen's inequality gives : the MLE of the rate is biased upward. (One can show for , so for these three observations the estimator overshoots by on average.) Invariance transports the maximiser through ; it says nothing about expectations, which is why unbiasedness has no invariance property.

  4. Show the solution to question 4

    (a) The likelihood is a product of indicator-like factors. Each factor equals if and otherwise, so the product is nonzero only when is at least every observation, i.e. :

    It is zero below because a Uniform population with cannot produce the observation : such a assigns the observed data density zero, and a single zero factor kills the whole product.

    (b) The sketch. Axes: from to horizontally, vertically in units of , so that is unit.

    Zero segment. From to the graph runs along the horizontal axis.

    Jump at . At the value is unit, and it belongs to the curve (a filled dot), because is allowed with equality. So the graph jumps vertically from to unit; the point just to the left is at height .

    Decreasing tail. For , is strictly decreasing () and convex (), bending toward the axis without reaching it. Exact values, in units of : , , .

    The MLE. The highest point of the graph is the top of the jump, at : mark with .

    The method of moments estimate. , so . Mark on the axis; there . The sketch shows at a glance what is wrong with it: the estimate lies in the region the data have ruled out, since the observed cannot come from Uniform.

    (c) No stationary point. On , and , never zero; below the likelihood is identically zero and is undefined. So "differentiate and solve" returns nothing. It is step 4 of the recipe, check the boundary, that finds the answer: the parameter values compatible with the data form , is decreasing there, so the maximum is at the left endpoint , a point where the derivative is not zero because the graph has a jump, not a peak.

    (d) The unbiased correction. From , the estimator has expectation . With it is .

    It lies to the right of the MLE because the correction multiplies by , and the reason it should is visible on the sketch: the maximum of four draws can never exceed , so it systematically falls short of the true ceiling and must be inflated to be right on average. On the graph, sits on the decreasing tail at height units — a lower likelihood than the MLE, but a positive one. The two estimators disagree because they optimise different things: fit to the data in hand, against correctness on average over repeated samples.

  5. Show the solution to question 5

    (a) Moments of the maximum. Integrate against the given density:

    Then

    since .

    (b) Three MSEs by the bias–variance decomposition.

    MLE. Bias , so

    Unbiased correction. Zero bias, and the constant comes out squared:

    Method of moments. , unbiased, and , so .

    (c) Ranking. iff iff iff : true for every . iff iff iff iff iff . So for ,

    and the tie is at , where .

    With , : , , . The corrected maximum has half the error of the method of moments, and the gap widens with : the maximum-based errors fall like , the moment-based error like , so the ratio grows like .

    (d) The regularity conditions fail. The Cramér–Rao theorem rests on the lemma The score has mean zero, which is proved by differentiating under the integral sign. That step needs the support of not to depend on ; here the support is , and moving moves the endpoint of the integral, producing a boundary term the lemma ignores. The failure is checkable: on the support, , so the score is , a constant, and

    The first conclusion of the lemma is false for this model, so the bound built on it does not apply, and there is nothing to stop an unbiased estimator from converging at the faster rate . This is the general pattern: when the parameter sets the edge of the support, the extreme observations carry far more information than any average of the sample.

  6. Show the solution to question 6

    (a) Poisson. , so the score is

    Its mean is , as the lemma The score has mean zero promises. As a variance: . As curvature: , so . The two agree ✓. Note the information decreases as grows: a Poisson with large mean is also a Poisson with large spread, and each count pins down less tightly.

    (b) The bound and . By the theorem Cramér–Rao lower bound, every unbiased estimator of has . The sample mean is unbiased, , with by the theorem Mean and variance of the sample mean. It sits exactly on the bound, so it is efficient: no unbiased estimator of a Poisson mean can do better.

    (c) Bernoulli. , so

    Using and ,

    The bound is , and is unbiased with variance . Efficient. (Information is smallest at , where a coin is least predictable, and blows up near and .)

    (d) A deliberately lopsided estimator. Unbiasedness: . For the variance, and are not independent, since is one of the terms in :

    the other covariances vanishing by independence. Hence

    The efficiency is the bound over the actual variance:

    At this is , as it must be: then , , and is the efficient estimator itself. At the efficiency is , and as it tends to — keeps half its weight on a single observation forever, so its variance never falls below while the bound falls like . An estimator can be unbiased for every and still waste almost all of a large sample.

  7. Show the solution to question 7

    (a) Information about a variance. For one observation, . Differentiating in ,

    Since , the score has mean (as the lemma requires), and by the curvature form of the lemma The score has mean zero, and information as curvature,

    The theorem Cramér–Rao lower bound then says every unbiased estimator of satisfies .

    (b) The known-mean estimator is efficient. Unbiasedness is linearity: . For the variance, write with . Then , so , and by independence

    exactly the bound. is efficient.

    (c) The price of not knowing . Write with . Then (unbiased, as known) and

    Its efficiency relative to the bound of (a) is

    behaves as if it had one observation fewer: the variance it achieves with data points is what achieves with . Estimating has cost exactly one degree of freedom — the same one that appears in the divisor and in the distribution. The loss vanishes as .

    (d) The biased MLE wins on MSE. has , so its bias is , and

    By the theorem Bias–variance decomposition,

    Now iff (both denominators positive) iff iff , which holds for every . So the inequality is strict for all .

    At the biased estimator's MSE is against ; at it is against . Neither divisor is actually MSE-optimal: minimising over gives , so the best estimator in this family divides by and is more biased still. Unbiasedness is a constraint, and constraints cost.

  8. Show the solution to question 8

    (a) Four claims, four verdicts.

    Step 3 is wrong: it assigns a probability to a constant. In the pivotal argument , the random quantities are the endpoints; is a fixed number. Once the sample is in, is a fixed interval too, and it either contains or it does not — there is no randomness left and so no probability to assign. Correct statement: "the interval was produced by a procedure which, over repeated samples, captures of the time." The describes the procedure, not this interval.

    Step 4 is wrong: it confuses the precision of an estimate of with the spread of the population. The interval's half-width is , which measures how well locates ; individual bottles scatter with standard deviation , four times larger here. Correct statement: the interval says nothing about individual bottles; see (b).

    Step 5 is wrong: narrowing by lowering the level is not precision, it is a lower success rate. At fixed and the only thing a interval buys with its shorter length is that the procedure misses twice as often — of the time rather than . Correct statement: the interval is , and it is not a better estimate but a riskier one. Genuine precision at a fixed level comes only from a larger or a smaller .

    Step 6 is wrong: the interval is about , not about future data. A second sample mean is itself random with standard deviation , and the interval's centre is random as well; the gap has two sources of variability. The correct probability is computed in (c) and is well below .

    (b) Population band versus confidence interval. If , an individual volume lies in with probability . Its width is ml against the confidence interval's ml: a factor of , because the interval's half-width is while the band's is .

    As grows, and the confidence interval collapses onto — more data locates the mean ever more precisely. The population band is whatever is: no amount of sampling makes individual bottles less variable. The two intervals answer different questions, and only the first is what a confidence interval is for.

    (c) The chance a second mean lands in the interval. Let be the second sample mean, independent of , with . Then , with standard deviation . The event in Step 6 is , so

    Since and is increasing, this is strictly less than . (From a table it is about .) To capture the next sample mean with probability one would need the wider margin , a prediction interval — a different object from a confidence interval.

  9. Show the solution to question 9

    (a) Summary statistics. The sum is , so . The deviations are , with squares summing to , so

    (b) The pivot. Because is unknown, the pivot is the studentised mean

    by the theorem The studentised mean is pivotal. That distribution rests on two facts about a normal sample: , and and are independent — which is what lets be written as with and independent, the definition of Student's . Both hypotheses need the population to be normal, which is given.

    By the pivotal method, ; multiplying through by and rearranging around gives . With and ,

    (c) The interval replaces by :

    It must be wider because : to trap the pivot with probability instead of the central region must extend further into the tails, and with only degrees of freedom those tails are heavy, so the cost is large — the interval is times as long. Confidence is bought with length at a fixed .

    (d) What the -interval really covers. The interval contains exactly when , where is the same pivot as in (b). Its true coverage is therefore

    and since and is increasing, this is strictly less than . (It is about .) The classmate's error is to treat as if it were the known : with the estimate varies a great deal from sample to sample, the pivot has the heavy tails of rather than the normal's, and a margin sized for the normal traps too rarely. The interval is not "more precise" — it is under-covering.

  10. Show the solution to question 10

    (a) The pivot. By the proposition A normal population gives an exactly normal mean, and , and they are independent because the samples are. A difference of independent normals is normal, and by the lemma Linearity of expectation and variance of an independent sum,

    where is a known constant. Standardising,

    a distribution involving no unknown at all — a pivot. By definition of , . Multiply the chain by , subtract , and multiply by , which reverses both inequalities and swaps the ends:

    The event is unchanged, so its probability is still : the interval is .

    (b) Optimal allocation. The half-width is with

    treating as continuous; since the square root is increasing, minimise . Then

    which vanishes iff , i.e. (all quantities positive) , i.e. . This is the global minimum because makes convex on , and at both ends of the interval. Explicitly , , and

    so the minimal half-width is . (An alternative route is the Cauchy–Schwarz inequality, , with equality exactly when . In practice is rounded to an integer.) The rule says: spend the budget in proportion to the standard deviations, not the variances — the noisier population gets more observations, but only linearly more.

    (c) The cost of splitting evenly. With , , and dividing by the optimum gives the stated factor. It is at least because

    with equality iff .

    With the factor is . Since the variance scales as , an even split needs observations — more — to match the width the optimal split achieves with , which puts three quarters of the budget on the noisier population. When the variances are equal the optimum is the even split, which is why the pooled interval, whose hypotheses assume a common variance, is at its best with .

  11. Show the solution to question 11

    (a) Two intervals at . Here and .

    Wald. , so the interval is . Since , this is about .

    Wilson. With : , , . The centre is

    and the half-width is

    The Wilson interval is . It is shifted toward relative to Wald and slightly longer.

    (b) Checking the defining inequality. At : left side ; right side . Equality ✓. At : left side ; right side . Equality ✓. (At the left side is , so is inside, as it must be.)

    The Wald endpoints solve a different equation, , whose right side is a constant rather than a function of . Consider the lower one, . Since and is increasing on , we have , so the honest right side is smaller than : the inequality fails at , which lies outside the honest set. For the upper one, , we have (as ), so and the honest right side exceeds : the inequality holds strictly, and is an interior point of the honest set. So Wald reaches too far down and stops too short going up — it is the honest interval shifted the wrong way, because it pretends the standard error is the same at every .

    (c) No successes. . Wald: , so the interval is . Wilson: and , giving .

    Check : left side ; right side . Equality ✓. (At both sides are , so the lower endpoint is exactly , as it should be when nothing was observed.)

    The honest report is Wilson's. Zero events in trials is entirely consistent with a rate of : the chance of seeing none is then , exactly the sort of borderline value an endpoint of a interval should have. Wald's asserts, with confidence, that the rate is exactly zero on the strength of trials — a zero-width interval from a finite sample, which is not a confidence statement at all. (The rule of three gives as the upper bound, close to Wilson's .)

    (d) Add two successes and two failures. With and ,

    Check against (a) and (c): ✓ and ✓. The Wilson centre is the sample proportion after two phantom successes and two phantom failures are appended: a shrinkage of toward whose weight is fixed while the data's weight grows, so it matters at and vanishes as , where Wilson collapses back onto Wald. It is precisely this pull away from the endpoints that keeps the interval inside and gives it positive width at .

  12. Show the solution to question 12

    (a) Four claims.

    Claim A is wrong: the margin scales as , not . The margin is , so halving it needs multiplied by : the correct figure is . Check: , i.e. points ✓. Doubling to would give , about points — the quadratic cost of precision, by the proposition Sample size for a target margin of error.

    Claim B is wrong: the population size does not appear anywhere. The formula contains and and nothing else, because the model is independent draws from a population large enough that each draw is a fresh Bernoulli trial; that holds for a town of as well as a country. The correct figure is again. Taken at its word, gives a margin of — fifty points, which is no poll at all.

    Claim C is wrong: scales with the square of the critical value, not with the confidence level. By the proposition Worst-case sample size for a proportion,

    The factor over the figure is , so more respondents, not . (With the unrounded it is about .)

    Claim D is half right. The arithmetic is correct: . The word "guarantee" is not. With the margin is , which is at most only if , i.e. only if or . A pilot figure is an estimate, not a bound; if support is really or the promise is broken. Correct planning takes the worst case over the range of that is genuinely plausible — for instance if can be relied on, — or falls back to if nothing can.

    (b) Planning with a bound on . Let . Then on , so is increasing there, and implies . Hence the margin obeys

    Since (the maximum of on is at ), this is never more than the worst-case . Knowledge that is far from is worth real money, but only knowledge of a bound, not a point guess.

    For Claim D's , the margin equals when , i.e. , i.e. . Clearing denominators, , which factors as , so or . If true support is rather than the pilot's , the advertised -point margin is really points — and a small pilot being ten points off is not unusual.

    (c) What the margin measures. No. The margin of error quantifies sampling variability only: how much would move across repeated random samples of from the population the model describes. Visitors to the firm's website are self-selected, so the sample is drawn from a different population than the electorate, and the interval is a precise statement about that wrong population. Raising from to narrows the interval without moving it toward the truth; the bias is invisible to the formula and is fixed only by the sampling design. The interval does measure the uncertainty from having observations rather than all of them; it does not measure, and cannot measure, non-response, self-selection, or a leading question.

Full solutions sheet →