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) Parameter, statistic, or neither. (i) is a fixed numerical feature of the population: a parameter. It does not change from sample to sample and is not known from the data.

    (ii) can be computed from the data alone: a statistic. It is also a random variable — it takes a different value on a different sample.

    (iii) Neither. It is not a parameter, because it depends on which sample was drawn; and it is not a statistic, because evaluating it needs , which the data do not supply. (Replacing by turns it into a statistic.)

    (iv) The sample maximum is a function of the observations alone: a statistic.

    (v) is a fixed constant determined by the population (and the chosen ); it is not random and cannot be computed from a sample. It is a parameter — specifically the standard error of — and the statistic that estimates it is .

    (b) The population and the sampling distribution. The population mean is

    and the population variance, dividing by because this is the whole population and not a sample, is

    The ordered samples are equally likely, each with probability , and . Arranging them in a grid with down the rows and across the columns, the sample means are

    Counting along the anti-diagonals, the sampling distribution of is

    — a triangle centred on . The probabilities sum to .

    (c) Mean and variance from the table.

    For the variance, the deviations are with frequencies , so

    Both theorems check. Note that the averaging halved the variance ( to ) — this is the whole reason for taking a mean — and that the independence of the two draws is what licensed the ; the equality would have held even for dependent draws.

  2. Show the solution to question 2

    (a) The two formulas. With the deviations are

    equal and opposite, as deviations from the sample mean must be (they always sum to zero). Each squares to , so the sum of squared deviations is . Dividing by gives ; dividing by gives .

    (b) The expectations. Over the ordered samples, takes the value on the diagonal samples ; the value on the samples ; the value on the samples ; and the value on the samples . Check: . Hence

    (Cross-check without the table: has mean and, being a difference of independent draws, variance , so . The table agrees.)

    Therefore

    is unbiased. The divide-by- estimator is biased downward by the factor : on average it reports half the true variance. The reason is visible in the diagonal samples, where both observations coincide with and the estimator reports ; deviations from the sample's own centre are systematically too small.

    (c) . Since ,

    Compare with by squaring both (both are positive): . So — roughly against .

    The general fact: is unbiased for , but is not unbiased for . Unbiasedness is not preserved by taking square roots, because the square root is strictly concave and whenever is not constant. The sample standard deviation underestimates on average.

  3. Show the solution to question 3

    (a) Decompose the variance. The stratum weights are , so

    The within-strata component is . The between-strata component is

    By the law of total variance applied to the stratum label, , so . Almost two-thirds of the population variance is between the groups.

    (b) The two standard errors. Under simple random sampling (treating as small enough to ignore the finite population correction),

    Proportional allocation takes from each stratum. The strata are sampled independently, so

    which is exactly , the within-strata variance divided by . Hence km. Stratifying cut the standard error from to for the same hundred interviews.

    (c) The price in interviews, and the source of the gain. An SRS matches when , i.e. , so interviews — nearly three times as many.

    The difference between the two variances is exactly the between-strata term divided by : . If both strata had mean , the between-strata component would be , would be , and both designs would give . Stratification would then buy nothing. Stratification deletes the between-strata variance and only that, so the variable you stratify on must be one that separates the stratum means; strata that differ only in spread are worthless.

  4. Show the solution to question 4

    (a) Where the argument fails. Two design failures, neither of them arithmetical.

    First, undercoverage: the sampling frame is "people who visit the council website", not "residents of the city". Residents who never visit the site cannot be selected at all.

    Second, voluntary response bias: nobody selected these — they selected themselves, and people who feel strongly (here, drivers who would pay the toll) are far more likely to bother. The sample is also a convenience sample from the council's point of view.

    Both failures shift away from : the survey estimates, quite precisely, the proportion of self-selected website visitors who oppose the toll, which is a different parameter from the one the council wants.

    Step 2's number is the standard error would have if the were an i.i.d. Bernoulli sample. The formula's hypothesis fails, so the number describes nothing.

    The false claim in Step 3 is that the interval contains the population proportion. The phrase doing the damage is "no sampling error". That phrase is nearly true — sampling variability really is tiny at — but variability is not the error here. The error is bias, which the margin of error does not measure at all. The report has a very narrow interval around the wrong centre: a precise answer to the wrong question.

    (b) Why more responses cannot help. Sampling variability shrinks like : quadrupling halves the standard error, from about to about . Bias is , and it does not depend on at all: the extra self-selected responses come from the same distorted frame with the same self-selection, so they estimate the same wrong quantity. The councillor would obtain a still narrower interval around the same wrong centre. (This is the Literary Digest mistake: million responses, off by nearly twenty points.)

    (c) A legitimate design. Draw a simple random sample from a complete frame of residents — the electoral roll or the register of residential addresses — with the council choosing the respondents, each with equal probability, rather than the respondents choosing themselves. (Stratifying by district would do even better.) Then the responses are i.i.d. Bernoulli and the formulas of Steps 2 and 3 apply.

    With and ,

    about points. Four hundred properly chosen residents give an honest ; fifty thousand self-selected ones give a meaningless .

    The remaining hazard is nonresponse bias: some of the selected residents will decline, and if decliners differ from responders the estimate shifts again. Plan for it in advance — a follow-up protocol on a random subsample of the non-responders — rather than hoping it away.

  5. Show the solution to question 5

    (a) Mean and variance of . The mean. By linearity of expectation, pulling the constant out of the sum,

    Only the fact that every has mean was used; independence plays no role.

    The variance. Write , so , and . Then , and expanding the square of the sum (which is the two-variable expansion applied term by term),

    Independence is used here, and only here: independent variables have , so every covariance is and the double sum vanishes, leaving . Finally, scaling by the constant multiplies a variance by :

    Without independence the mean result survives intact, and the variance becomes — the formula is exactly the uncorrelated case.

    (b) Equicorrelated observations. Return to the general expansion of (a). There are ordered pairs with , and each contributes , so

    Dividing by ,

    Sanity checks: recovers ; (all observations identical) gives , the variance of a single observation, which is right because copies of one number carry one number's worth of information.

    (c) Consequences. A variance is never negative and , so (b) forces , that is . Observations cannot be strongly negatively correlated with all of each other at once; for large the common correlation is essentially non-negative.

    For , split the formula:

    The standard error has a floor of that no amount of further sampling from the same cluster can breach: once the shared component of the cluster has been learned, extra units only repeat it.

    Someone quoting for such data understates the true standard error by the factor . With and that factor is : the reported uncertainty is less than a third of the real one, and the confidence intervals built on it are far too narrow. The correct hypothesis for is uncorrelated observations, and a cluster design breaks exactly that.

  6. Show the solution to question 6

    (a) The square-root law. For i.i.d. observations , so at

    For we need , i.e. , i.e. . The smallest such is . The standard error fell by a factor of (from to ) and the sample grew by a factor of : dividing the standard error by costs a factor in sample size, because sits under a square root.

    (b) Finite population correction. Without replacement from ,

    The convention is to ignore the correction when . Here , so it is not applicable: ignoring it would report instead of , overstating the uncertainty by a third. Sampling without replacement is more precise than the i.i.d. formula says, because later draws cannot repeat information already collected.

    At the factor is , so . That is correct: a sample of the whole population is a census, equals identically, and there is no sampling variability left to measure.

    (c) Enumeration check. Drawing of the values without replacement, the unordered samples are equally likely (each ordered sample has probability , and each unordered sample corresponds to two of them). Their means:

    The mean of the six values is , so is still unbiased. The deviations from are , with squares summing to , so

    The formula predicts

    in exact agreement. With replacement the same population gives ; forbidding repeats removed the two extreme samples and and their kin, and the variance dropped by the factor .

  7. Show the solution to question 7

    (a) The identity. Insert and remove inside the square: . Squaring and summing over ,

    where came out of the middle sum because it does not depend on . Now , so the middle term is , and

    Rearranged, , with equality exactly when . So the sample mean is the constant about which the sum of squared deviations is smallest — which is why deviations measured from are systematically smaller than deviations measured from .

    (b) Unbiasedness of . Put in the identity and take expectations of both sides, using linearity:

    Each , since every has the population distribution; that gives . And because , the quantity is — this is where independence enters, through the variance formula. Hence

    For the divide-by- estimator,

    biased low by exactly . The missing piece is : it is the expected squared error incurred by measuring deviations from instead of from — one observation's worth of variance, spent on estimating the mean.

    (c) is biased for . First, is finite: and for every , so . So has a well-defined variance, and by (b),

    Hence , and since and , taking square roots gives . Equality holds if and only if , which is if and only if equals a constant with probability .

    For any population in which actually varies — which is every population that takes more than one value — the inequality is strict: the sample standard deviation underestimates on average, even though its square is unbiased. Nothing about concavity or Jensen's inequality was needed; the non-negativity of a variance already contains the whole fact.

  8. Show the solution to question 8

    (a) Markov, and a case of equality. Markov's inequality with gives

    To attain it, let take only the values and , with and . Then as required, and — equality.

    Why this is the equality case: Markov's proof rests on the pointwise inequality , and that is an equality precisely when is whenever it is below and exactly whenever it is at or above . Since a distribution with achieves the bound, no inequality of the form with can hold for all non-negative : Markov's constant cannot be improved without adding hypotheses.

    (b) Chebyshev applied to the sample mean. Two earlier results are needed. First, the theorem on the mean and variance of the sample mean: for i.i.d. observations and . Second, Chebyshev's inequality applied to the random variable with :

    Requiring gives ; the smallest such is . This is a guarantee valid for every population with , whatever its shape. (A normal approximation would ask for only about a hundred observations; the difference is the price of assuming nothing.)

    (c) Chebyshev's constant is also sharp. Take the three-point distribution

    Mean: the distribution is symmetric about , so ; explicitly, .

    Variance: . ✓

    The tail: , exactly Chebyshev's bound with .

    Chebyshev's inequality must hold for this distribution as well as for the normal, so the constant cannot be lowered. The normal distribution keeps most of its mass close to and puts only about beyond — a factor of more than five below the bound. The bound is loose for the normal precisely because it is tight for the worst case: universality is paid for in slack.

  9. Show the solution to question 9

    (a) Closed forms. For every flip is a head: , , and the excess is , i.e. .

    From flip onward the flips come in pairs , each pair contributing exactly one head.

    Even with . Flips form complete pairs, so

    Odd with . One more flip, a tail, so still, and

    In both cases — which is in fact an identity for every , since . The excess is at even and at odd , for ever.

    (b) The sketch of , and the band. The drawing must show: four dots at height for ; then a sawtooth that descends towards from above and never crosses it, since is always positive. The even- points lie on the upper envelope and the odd- points on the lower envelope ; some values to plot are , , , , , , and . The teeth shrink as grows. Draw the three horizontal lines; the line is never approached, because the deviation is one-sided.

    Entering the band. Strictly inside means . For even this is , i.e. , so even are inside and even are not: , , and sits exactly on the boundary. For odd it is , i.e. , so odd are inside: and . The sequence therefore dips into the band at , leaves at , re-enters at , touches the edge at , and the last not strictly inside is . Mark – on the sketch: this in-and-out is exactly the behaviour the weak law permits.

    Proof that it stays inside. For every , whichever parity, , using for the odd case. So for all .

    (c) The sketch of the excess, and the moral. The drawing shows points at for , and then a flat zigzag between (odd ) and (even ) all the way to and beyond. It never approaches the axis ; in fact it never drops below again.

    Why the two pictures differ: after the fourth flip a surplus of two heads exists, and nothing in the later flips ever pays it back — each pair has zero net effect on the excess. Yet , a bounded numerator over a growing denominator, so the proportion converges to all the same. The proportion returns to by dilution, not by compensation.

    The Law of Large Numbers is a statement about the proportion — the sample mean of the indicators — and nothing else. It says nothing about the count. For a genuinely random coin the situation is worse than in this hand-made sequence: the excess is not even bounded, its standard deviation being , which grows without limit. Anyone expecting a run of heads to be "corrected" by later tails is expecting the count to converge, and it never does.

  10. Show the solution to question 10

    (a) Standardising. A single flip has and , so and .

    The standardised mean is

    and the standardised sum is , the same expression: mean and sum standardise to one and the same variable.

    With : heads gives , tails gives , each with probability , and the are independent because the are. Summing, , so

    (b) The MGF. . Since is a sum of independent variables, its MGF is the product of theirs, and each factor is by the scaling rule. Hence

    (c) The limit, with the remainder controlled. Fix and write , so for all . From the series,

    For , , so

    Substituting gives , which is and therefore as with fixed. So

    by the quoted limit with . The right-hand side is the MGF of , and the convergence holds for every real , in particular on a neighbourhood of ; by the continuity theorem for MGFs, .

    This is the Central Limit Theorem for a fair coin, and the proof is the general MGF argument with every step made explicit: the population is symmetric, so has no odd terms, and is entire, so the remainder is under complete control rather than merely .

    (d) A tail probability for the count. The event rewrites as

    Since is a continuity point of , convergence in distribution gives

    Reconciling with the Law of Large Numbers. The event says the surplus of heads is at least — and that stays about likely however large becomes, because the excess count is of order and does not converge. But in terms of the proportion the same event is , a deviation that shrinks to . The Law of Large Numbers says for each fixed , and there is no conflict: for any fixed , eventually , so the CLT event lies inside the band the LLN says is almost certain. The two theorems look at the same deviation at different magnifications — the LLN at a fixed scale, where it vanishes; the CLT at scale , where it is a bell curve.

  11. Show the solution to question 11

    (a) Three errors.

    Step 1 applies the Central Limit Theorem to the wrong object. The theorem's conclusion is about the sample mean (equivalently the sum ): the standardised mean converges in distribution to . It says nothing whatever about an individual , which has the population's distribution — strongly right-skewed — no matter how many other claims are collected alongside it. Collecting claims does not reshape any one of them.

    Step 1 also misreads "". That is a rule of thumb calibrated on moderately skewed populations, not a hypothesis of the theorem, whose actual hypotheses are i.i.d. observations with . For a strongly right-skewed population the normal approximation to may need in the hundreds, and it fails first in the tails. Even for the mean, earns only cautious trust here.

    Step 2 inherits the error. The figure is the upper tail of a normal distribution that does not describe a claim. Nothing in the data supports it.

    Step 3 confuses the standard deviation of the mean with that of the sum. The standard error belongs to . By the CLT for sums, is approximately , with standard deviation , not . The spread of a total grows with . A -score of should itself have triggered a sanity check: it claims that a total only above its mean is seventy-two standard deviations out, which no real quantity ever is.

    (b) What can honestly be said. Let be one claim. Since with , Markov's inequality with gives

    Chebyshev's inequality with gives ; and since ,

    Chebyshev is the sharper of the two here (, since ), because it uses the variance as well as the mean. The honest statement is: the probability is at most about , and could be anything below that. It may well be much smaller than , but there is no basis for — a heavy right tail is exactly the kind of population that puts several percent of its mass beyond .

    (c) Step 3 corrected. has mean and standard deviation , so

    How far to trust it. The Central Limit Theorem licenses the approximation, but its accuracy at depends on the population's skewness, and this population is strongly right-skewed — the regime where the rule of thumb is least reliable. Worse, the event is a right-tail probability of about , and the tails are where a skewed sample mean departs from normality most stubbornly; for a right-skewed population the normal figure typically understates the right-tail probability at moderate . The figure is therefore a rough guide — "a few percent, plausibly somewhat more" — and not a number to underwrite a reserve on. A decision that hinges on it needs an exact calculation from the claim distribution or a bootstrap, not the CLT.

  12. Show the solution to question 12

    (a) The worst case is . Complete the square:

    Since , this is at most , with equality exactly when .

    The required sample size for margin is , which increases with . Choosing therefore gives the largest any could demand, so the margin is achieved whatever the true proportion turns out to be. Any other planning value gambles that is at least as far from as the guess.

    (b) Two sample sizes. With the conservative and ,

    which happens to be an exact integer, so . (It is .)

    With the prior estimate ,

    and rounding up gives — about of the conservative figure. Conditions: and , both comfortably satisfied, so the normal approximation behind the formula is legitimate.

    If the truth is , the standard error at is rather than the planned — larger by the factor . The margin of error scales the same way: , well over the that was promised. The poll would be interviews spent on a guarantee it cannot keep.

    (c) Difference of two proportions. The estimates are and . Conditions: successes and failures are and for A, and for B, all at least , so both sampling distributions may be treated as normal.

    Standard errors of the two estimates:

    The two samples are independent, so the variances add — the minus sign in is squared away:

    (The three numbers , , are a –– triangle: the standard error of a difference is the hypotenuse, not the sum of the legs.) The point estimate is , the margin is , and the interval is

    It excludes , so the data are reasonably strong evidence that treatment B produces the side effect more often — by somewhere between and points.

    The student who adds standard errors would take , margin , and report : an interval too wide. It is wrong because standard deviations of independent quantities do not add; variances do. Adding them overstates the uncertainty of every comparison and quietly throws away the power to detect a real difference. For two equal standard errors the inflation is exactly ; here it is .

Full solutions sheet →