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 isThe 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 iswhere is independent of . Its score function and second derivative areThe first is positive below and negative above it, so the unique maximum-likelihood estimator isUsing , 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 givesThis 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 isConsistency 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 consequentlyThe 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 isThe corresponding approximate p-value isThe 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 byThe 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, takeThe 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 writtenwith , 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 isIt is increasing in the product, so the Neyman-Pearson lemma rejects for large product, equivalently small . Under , the transformation givesTherefore the are independent exponential random variables of rate two, , and . An exact size- critical region isEquivalently, 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 approximatesFor the supplied data this standardized value isUsing 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 satisfiesThe 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 givesThis 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 areIts expected value equals the posterior mean of , while its variance includes both conditional Poisson variation and uncertainty in .
Articles by others on the same topic
There are currently no matching articles.