Source: released examination PDF, pages 191–194. Solutions follow the numbering of the 15 June 2023 Statistics paper.
Sort the observations into order statistics . Choose plotting positions and calculate the standard normal quantiles . The normal Q-Q plot consists of the pairs .
If the normal distribution model is appropriate, the points should lie approximately on a straight line with positive slope, because its population quantile function is
The intercept is approximately and the slope approximately ; neither needs to be known in advance. The reference need not be the identity line. One justification is the probability integral transform: for an independent normal statistical sample, are uniform order statistics, whose typical values are near their plotting positions. The equality is approximate for a finite sample, particularly at the extremes. Systematic curvature, unusually heavy tails, or isolated extreme departures argue against the proposed distributional shape. A straight marginal Q-Q plot does not itself establish independence of observations.
Expanding the exponent, the log-likelihood function is
where is independent of . Its score function and second derivative are
The first is positive below and negative above it, so the unique maximum-likelihood estimator is
Using , the one-observation Fisher information is . The support does not depend on the interior parameter , and the regular asymptotic normality of a maximum likelihood estimator gives
This is Inverse Gaussian mean estimation with known shape one. Equivalently, the Inverse Gaussian distribution has variance , so the same result follows directly from the central limit theorem applied to its sample mean.
The estimated standard error is . Using the central 95% standard normal quantiles , a Wald confidence interval is
Consistency of and Slutsky's theorem justify replacing the unknown scale by its estimate. The coverage probability is asymptotic, not exact at finite . Intersecting with the positive parameter space removes impossible values without changing whether the true positive parameter is covered.
Put and . Under the null hypothesis, maximizing over the nuisance mean gives . The unrestricted normal mean and variance maximum-likelihood estimators are , . Thus, for ,
The likelihood-ratio test statistic is consequently
The usual model assumes . The event has probability zero under a nondegenerate normal distribution; at that observation the unrestricted likelihood is unbounded as the variance tends to zero, and the ratio has limiting value zero. This is the likelihood-ratio test for a normal variance with unknown mean.
The full parameter space has dimension two and the null space dimension one. The regular Wilks theorem therefore gives under as . If denotes the cumulative distribution function of the chi-squared distribution with one degree of freedom, the approximate size- rejection region is
The corresponding approximate p-value is
The one degree of freedom here describes the large-sample likelihood-ratio test statistic; it is different from the exact residual degrees of freedom in the next part.
The derivative of the log ratio is , so increases from zero to one on and decreases to zero on . Rejecting for a sufficiently small ratio therefore gives two tails with .
Under , Cochran's theorem gives the exact sampling distribution , independently of the unknown mean. Writing for its cumulative distribution function, the two cutoffs are determined by
The first equation calibrates the exact size of a statistical test. The second is , so both tails belong to one likelihood ratio cutoff. Hence the exact critical region is . Its two tail probabilities are not generally equal: equal-tailed chi-squared cutoffs give a different test.
For a critical region , the size of a statistical test of the simple null hypothesis is , the Type I error probability. Its statistical power against the simple alternative hypothesis is , the probability of correctly rejecting that null. For a randomized test function , replace these by and .
The Neyman-Pearson lemma states that a test which rejects where the joint likelihood ratio is largest is a most powerful test of its size: its power is at least that of any test with no larger size. More precisely, choose a threshold and reject if , accept if it is smaller, and if necessary randomize on equality to attain the specified size.
For an independent and identically distributed statistical sample, take
The are independent and identically distributed random variables under either simple hypothesis, and the log joint ratio is their sum. Thus the nonrandomized threshold form can be written
with , using either strict or non-strict inequality when the boundary has probability zero. The usual finite-log expression assumes positive common support; zero densities can instead be handled by the extended likelihood ratio on the relevant supports. Continuous observations alone do not ensure a continuous likelihood-ratio statistic: ties may require the boundary randomization in the lemma. This qualification preserves the exact-size formulation.
The joint likelihood ratio in favor of the alternative is
It is increasing in the product, so the Neyman-Pearson lemma rejects for large product, equivalently small . Under , the transformation gives
Therefore the are independent exponential random variables of rate two, , and . An exact size- critical region is
Equivalently, reject when the geometric mean satisfies . The boundary distribution is continuous, so no randomization is needed here.
Under , each has expected value and variance . The central limit theorem therefore approximates
For the supplied data this standardized value is
Using the provided approximation , the lower-tail 5% rule rejects when . The observed is in this region, with approximate p-value . Reject at the 5% level in favor of the specified alternative . The unusually large geometric mean is consistent with the direction of that alternative. This is evidence in this comparison, not a proof that the parameter is exactly three.
Given the observed data, a credible interval for the scalar parameter satisfies
The probability refers to the posterior distribution, proportional to on the parameter space. It conditions on the observations; it is not the repeated-sampling coverage probability definition of a confidence interval.
An equal-tailed credible interval for a continuous posterior distribution has probability below its lower endpoint and above its upper endpoint. If is the posterior cumulative distribution function, the endpoints are and .
A highest posterior density interval is a credible interval consisting of points of highest posterior density: every included point has density at least as high as every excluded point, apart from null-set and boundary choices. It is a posterior highest density region when that region is an interval. For a continuous unimodal density with two interior endpoints, their densities agree. A mode at a support boundary can instead force one endpoint to that boundary; a multimodal posterior can have a disconnected highest-density region rather than one interval. Equal tails and highest density need not give the same interval.
Writing , the Poisson distribution likelihood is proportional to . Multiplying by the gamma distribution prior gives
This is Poisson-gamma conjugacy, with the rate convention made explicit:
Its normalized density is for .
The posterior mean is a convex combination of the prior mean and the usual Poisson maximum-likelihood estimate:
Both weights are positive and sum to one, so the mean lies between and , strictly between them unless they coincide. If all counts are zero, is the boundary estimate in the usual nonnegative Poisson parameter space; with a strictly positive parameter restriction it represents the likelihood supremum at that boundary. The displayed posterior-mean relation is valid in either interpretation.
Let . The continuous uniform distribution likelihood contributes , while the Pareto distribution prior contributes . Their product proves Uniform-Pareto conjugacy:
Thus the posterior distribution is Pareto with shape and lower bound . Its density is strictly decreasing on its support, so the highest posterior density interval begins at . Since the upper-tail probability is , the required upper endpoint satisfies . The Pareto highest density interval is therefore
Write and . Conditional independence of the next count given allows us to average its Poisson distribution over the posterior distribution:
This Poisson-gamma mixture is the posterior predictive distribution. In the stated negative binomial distribution convention its parameters are
Its expected value equals the posterior mean of , while its variance includes both conditional Poisson variation and uncertainty in .
Source: released examination PDF, bundle pages 183–186. Solutions follow all three questions of the 18 June 2021 Statistics paper, including every lettered and Roman-numbered part. Each question carries 25 marks; the examination counted the best two answers.
For the beta distribution with parameters , the Euler beta function gives . Its probability density function is therefore on . Direct integration gives the raw moments
In particular, its mean is . Equating this to the sample mean and rearranging gives
The observations lie strictly between zero and one with probability one, so and this method of moments estimator is well defined and positive. This is an instance of estimation of a beta shape parameter.
Using the raw moments from part (i), the variance of one observation is
The central limit theorem for the independent statistical sample gives
For , its derivative at the mean is . The delta method therefore gives
Equivalently, the large-sample normal approximation is
Here denotes the leading asymptotic variance, rather than an assertion about an exact finite-sample variance.
Write , with the natural logarithm. The likelihood function and log-likelihood function are
The score function is and the second derivative is . Thus the log-likelihood function is strictly concave, its stationary point is the unique global maximum, and the maximum-likelihood estimator is
The one-observation Fisher information is . The support of a probability distribution here is independent of , so the regular asymptotic normality of a maximum likelihood estimator gives
There is also a direct check: has an exponential distribution with rate , since for . Its mean and variance are and . Apply the central limit theorem to and the delta method to to obtain the same result.
The specified asymptotic relative efficiency is
For every fixed this lies strictly between zero and one. Prefer on grounds of asymptotic precision: it has the smaller leading asymptotic variance and attains the inverse Fisher information. Both are consistent estimators, by the law of large numbers and the continuous mapping theorem applied respectively to and . The efficiency approaches zero as and one as .
This preference is an asymptotic comparison. In particular, it does not assert that is an unbiased estimator: since has a gamma distribution of shape and rate , for .
The standard error suggested by part (iii) is . Substituting the consistent estimator gives ; Slutsky's theorem gives
Using the central standard normal quantiles , an approximate 95% Wald confidence interval is
Its coverage probability approaches 0.95 for each fixed as . The intersection enforces positivity and does not change whether the true positive statistical parameter is covered. The value 1.64 would give the wrong central two-sided coverage probability.
Put , , and . The two independent statistical samples give the joint likelihood function
The unrestricted maximum-likelihood estimators are and . Under the null hypothesis, the common statistical parameter has log-likelihood function , maximized at . With the likelihood ratio defined as the null maximum divided by the unrestricted maximum,
The statistic in the paper is , since both original sums of natural logarithms are negative. Hence
It has maximum one at , corresponding to equal fitted rates. This is the likelihood-ratio test for equality of beta shape parameters.
A likelihood-ratio test rejects for small . The derivative of the natural logarithm of its variable factor is
Thus increases up to and decreases thereafter, tending to zero at both endpoints. Every nontrivial lower level set of therefore consists of two tails. For a prescribed test size , the exact critical region is
Writing for the cumulative distribution function of the beta distribution with parameters , the required two equations are
The first makes both cutoffs have the same likelihood ratio; the second calibrates the null hypothesis rejection probability. Equivalently, the second left-hand side is
As the common likelihood ratio threshold increases from zero to one, this probability increases continuously and strictly from zero to one; hence the equations determine unique cutoffs. The two tail probabilities need not each equal when . Exact calibration holds for every common rate because the given null distribution of is independent of that rate. Boundary equalities have zero probability.
False. A test size constrains the probability of rejection conditional on the null hypothesis being true:
for an exact size- test of a simple hypothesis. It does not assign a posterior probability to that statistical hypothesis after observing nonrejection. In the frequentist interpretation, the statistical parameter is fixed and the data are random. Nonrejection can occur even when the alternative hypothesis is true; for example, it is particularly likely for an alternative against which the test has low statistical power. A posterior probability would require a prior distribution and a Bayesian model.
True, with the test's rejection rule fixed. If its rejection region in the space of the test statistic is , its statistical power against the specified simple hypothesis is
Thus the probability distribution of under the alternative hypothesis determines the statistical power of this test. The null distribution is used to choose a rule with the desired test size, but statistical power is evaluated under the alternative hypothesis. Different rejection rules can have different statistical power even for the same probability distribution of .
False. For the test associated with a p-value, reject at significance level when . Here , so do not reject at level 0.05. The p-value is neither the posterior probability of the null hypothesis nor the probability of a Type I error conditional on these observed data.
Let , which has a binomial distribution with parameters . For , the alternative-to-null likelihood ratio of the independent Bernoulli trials is
Since , this is strictly decreasing in . A threshold on large is therefore a lower-tail likelihood-ratio test, and a threshold between and gives the stated critical region . The Neyman-Pearson lemma also proves it is a most powerful test at its attained test size.
Using the binomial probability mass, its test size and statistical power are respectively
The associated power function is . These formulas hold for positive integer ; when the test always rejects and has size one. If the boundary value is admitted, all alternative probability is at ; the same test still has statistical power one and can be represented using a threshold with ties in the likelihood ratio.
For any fixed , the alternative-to-null likelihood ratio is
which is strictly increasing in for . Consequently the Neyman-Pearson lemma selects the same upper-tail ordering for every such alternative hypothesis. At the null hypothesis value,
Therefore
is a uniformly most powerful test of the required exact test size. Its power function is . At its statistical power is one, so including that boundary alternative preserves the conclusion.
Condition on the total of 400 complaints. Assume each complaint independently has the same probability of being received on Monday; in particular, repeated complaints from one incident must not create material dependence. The Monday count then has a binomial distribution with parameters . Test against , rejecting for large as suggested by the monotone likelihood ratio.
Under the null hypothesis, and . Both expected successes and expected failures are large, so the central limit theorem gives a suitable normal approximation:
Using the paper's supplied rounded table, the upper-tail p-value is approximately
A more accurate evaluation of the standard normal distribution cumulative distribution function gives about 0.0062. For example, choose significance level 0.05 before examining the data; the supplied upper 5% standard normal quantile is approximately 1.6, and . Reject at 5%, and also at 1%, using this approximation. The observed binomial proportion is , providing evidence that the Monday probability exceeds 0.2 under the sampling assumptions.
If applying a continuity correction, approximate by ; this gives the same 5% and 1% conclusions. The uncorrected value 0.005 is approximate, so a decision exactly at the 0.5% boundary is not warranted by the supplied rounded table.
Here the gamma distribution uses a rate statistical parameter , with known shape . Write and . For each fixed , the alternative-to-null likelihood ratio is
strictly decreasing in . The Neyman-Pearson lemma therefore gives the same lower-tail critical region for every larger rate. Since has a continuous gamma distribution under the null hypothesis, there is a unique positive satisfying
Thus reject when is a uniformly most powerful test of exact test size . If denotes the unit-rate gamma distribution cumulative distribution function with shape , then
This is the uniformly most powerful test for a gamma rate.
When , the sum has shape one and hence an exponential distribution with rate . Therefore
In particular , and the power function is strictly increasing, exceeding for and tending to one as .
Set and . Conditional independence of the binomial distribution observations gives the likelihood function
The prior distribution is the beta distribution with parameters . By Bayes' theorem, multiplying the prior density by the likelihood function gives a posterior density proportional to
Recognizing and normalizing this beta distribution gives
for . This is Beta-binomial conjugacy; the original binomial coefficients cancel in the normalization because they are independent of .
The prior mean, posterior mean, and maximum-likelihood estimate are
For , the last follows by maximizing . At or , use the usual binomial likelihood convention that admits the endpoints and as maximum-likelihood estimates; if the parameter domain is strictly , these are boundary suprema rather than attained maxima. The posterior mean remains interior in all cases.
Taking
gives
Since and , . Thus the posterior mean is a convex combination of the prior mean and observed binomial proportion, with larger prior weight when is large relative to .
The prior mean decreases as increases. More strongly, its cumulative distribution function and upper-tail probability are
For every fixed , that upper-tail probability decreases with . The statistician increasingly favors smaller values of ; as , the prior distribution concentrates near zero. For , its variance also decreases. This is concentration of a beta prior near zero.
With the data fixed, the derivatives are
Thus the prior weight increases and the posterior mean decreases. Their limits are and . Both the changing prior mean and the increasing weight contribute to the change in the posterior mean.
Let , , and . The independent observations in the normal linear model give
The centered design condition removes the term:
The stated prior density factors into independent normal distributions for the regression intercept and regression coefficient . Multiplication by the likelihood function therefore leaves separate quadratic expressions in the two coefficients. Define the positive posterior variances
and the posterior means
By completing the square, the joint posterior density is
Equivalently,
This is Gaussian conjugacy for a normal linear model. Each posterior precision parameter is the sum of its data and prior precision parameters. The formulas remain valid when : all are then zero, so the posterior distribution of equals its prior distribution.
Put . As a linear combination of independent normal random variables under the posterior distribution,
The shortest 95% credible interval is
Here is the standard normal distribution cumulative distribution function. To justify shortest length, consider all intervals of a fixed length . If is this normal distribution posterior density, the interval probability has derivative with respect to . The normal distribution is symmetric and its density strictly decreases with distance from its mean, so this probability is uniquely maximized when the midpoint is . The centered interval can therefore attain 95% posterior probability with the least length. It is both an equal-tailed credible interval and a highest posterior density interval.
The target is the experiment's mean at . A posterior predictive distribution for a new noisy observation would instead have variance ; that extra observation variance does not belong in the requested interval.
An unknown variance requires a joint prior distribution for . The analysis is not determined until a prior for the unknown variance, and its relation to the coefficients, is specified. A maximum-likelihood estimate substituted for does not by itself account for its posterior uncertainty.
For example, retain the independent coefficient prior distributions from part (b) and independently assign an inverse-gamma distribution with shape and scale , whose probability density function is proportional to . Then the joint posterior density is proportional to
Conditional on , the two coefficient posterior distributions are still the independent normal distributions in part (b), with substituted for . The other full conditional distribution is
The marginal coefficient posterior distribution requires marginalization over ; it is generally nonnormal and the two coefficients need not remain independent. In particular, the posterior cumulative distribution function of the requested mean becomes
Its shortest 95% credible interval must be found from this marginal posterior distribution, for example by numerical integration or posterior simulation. This is normal regression with independent coefficient and variance priors.
A different, convenient choice is a normal-inverse-gamma prior, in which the conditional coefficient prior covariance matrix is proportional to . That choice gives a multivariate Student's t-distribution after marginalization, so the interval uses its univariate Student's t-distribution quantiles. It changes the coefficient prior specification; a Student interval does not follow automatically from retaining the fixed- priors in part (b).
For the independent statistical sample, write the likelihood function and log-likelihood function as
The expected Fisher information in the whole statistical sample is
Under the regularity conditions that permit differentiation under the integral sign, the score function has expected value zero and
For an interior statistical parameter, assuming identifiability and , the regular asymptotic normality of a maximum likelihood estimator states
Thus the large-sample normal approximation is . The inverse information is the leading sampling variance approximation; the displayed convergence specifies its precise asymptotic meaning.
For , the central limit theorem gives
If is differentiable at , the delta method applies to the first-order expansion
where the remainder notation means that its product with tends to zero in probability. Hence
The useful nondegenerate normal approximation requires . When , the first-order limit is zero and a higher-order expansion may be needed.
Articles were limited to the first 100 out of 138 total.

Articles by others on the same topic (0)

There are currently no matching articles.