Use and as above. The future observation is independent of the old observations conditional on , so the posterior predictive probability is obtained by integrating its Poisson distribution against the posterior distribution of :The last integral is the normalizing gamma function integral, equal to . This is a negative binomial distribution in the count-of-failures convention with shape and success probability ; the gamma-function expression remains valid for noninteger . As checks, its mean is , and the law of total variance gives variance . The additional term is the contribution of posterior uncertainty in .
For odd sample size, the sample median is the central order statistic, . Since , its index is and . Substitute these into the expectation and variance formulas from part (i):In fact has the symmetric beta distribution , explaining why its expectation is exactly the centre of the interval.
The given probability density function is that of a beta distribution with parameters and . We can derive the required moments directly rather than assuming the beta moment formulas. For an integer , the Euler beta function givesHere for positive integers ; this identity also follows by repeated integration by parts. Taking yieldsSubtract the square of the first moment from the second to obtain the variance:These are exact finite-sample identities for each uniform order statistic.
First establish the limiting law needed by the delta method. For fixed , put and let count how many of the are at most . Then has a binomial distribution with expectation and variance . The event is exactly . Its standardized threshold tends to , so the central limit theorem for these binomial counts givesHere is the cumulative distribution function of the standard normal distribution. Equivalently,Use the usual local regularity for the delta method: is continuous at the population median and . The inverse function theorem, applied at , givesThereforeThe asymptotic normality gives the requested leading variance approximationHere the variance parameter for the rescaled limiting law is , while the source states the corresponding approximation for the unscaled estimator. Strict increase of alone does not force ; that local condition is needed for this form of the asymptotic distribution of a sample median.
For the normal distribution, the density at its centre is . The sample mean has exact variance , whereas part (b) gives the sample median the leading variance . Thus the requested asymptotic relative efficiency isAt a fixed confidence level, a confidence interval based on the sample mean has a leading half-width smaller by the factor . With known , also has exact normal coverage. Prefer the sample mean under the normal model.
For the Laplace distribution, symmetry puts both the mean and median at . Its density there is , andConsequently the sample mean has variance , while the sample median has leading variance . HenceA large-sample confidence interval based on the sample median has leading half-width smaller by ; with known scale it is . Prefer the sample median under the Laplace model. Consistent estimation of an unknown scale preserves these leading comparisons. The reason for the reversal is quantitative: the median's precision depends on the central density , while the sample mean's precision depends on the whole population variance.
For a Bernoulli distribution with fixed , the mean and variance are and . The odds transformation has derivative . Applying the delta method from part (ii),More precisely, converges to a normal distribution of mean zero and variance , after defining the statistic arbitrarily on . That exceptional event has probability , so this extension does not change the limit. The unextended ratio is undefined there and has no finite exact variance if interpreted as infinite. At it is zero almost surely; at the denominator is always zero. This is the delta method for Bernoulli odds.
For the independent statistical sample, write the likelihood function and log-likelihood function asThe expected Fisher information in the whole statistical sample isUnder the regularity conditions that permit differentiation under the integral sign, the score function has expected value zero andFor an interior statistical parameter, assuming identifiability and , the regular asymptotic normality of a maximum likelihood estimator statesThus the large-sample normal approximation is . The inverse information is the leading sampling variance approximation; the displayed convergence specifies its precise asymptotic meaning.
Write and , with . Two exact facts about a normal sample areand independence of the normal sample mean and sample variance holds. A chi-squared distribution with statistical degrees of freedom is a sum of independent variables, each with mean one and variance two. The central limit theorem therefore givesFor , the derivative at is because . The delta method gives the asymptotic normality of a normal sample standard deviation:The exact independence of and makes their limiting normal distributions independent. Consequently,ThusThis has the same leading asymptotic variance as . The weights and are those in the optimal asymptotic combination of a normal sample mean and standard deviation. This does not require to be an exactly unbiased estimator of .
For one Bernoulli random variable,Its variance is , so the expected Fisher information and Jeffreys prior areThe normalizer is . ThereforeThis Jeffreys prior for a Bernoulli parameter is proper despite its integrable endpoint singularities. It is the arcsine distribution. It replaces the specified prior distribution in part (a) when the Jeffreys prior rule is chosen; it is not one of those restricted priors.
Write , with the natural logarithm. The likelihood function and log-likelihood function areThe 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 isThe 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 givesThere 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.
Using the raw moments from part (i), the variance of one observation isThe central limit theorem for the independent statistical sample givesFor , its derivative at the mean is . The delta method therefore givesEquivalently, the large-sample normal approximation isHere denotes the leading asymptotic variance, rather than an assertion about an exact finite-sample variance.
The prior mean decreases as increases. More strongly, its cumulative distribution function and upper-tail probability areFor 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 areThus 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.
Put . As a linear combination of independent normal random variables under the posterior distribution,The shortest 95% credible interval isHere 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.
Let , , and . The independent observations in the normal linear model giveThe 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 variancesand the posterior meansBy completing the square, the joint posterior density isEquivalently,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.
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 toConditional on , the two coefficient posterior distributions are still the independent normal distributions in part (b), with substituted for . The other full conditional distribution isThe 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 becomesIts 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).
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.
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.
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 .
The diffusion generator is . By the Feynman-Kac formula, the required conditional characteristic function solvesUse separation of variables in the form . Since and , the temporal factor satisfies the ordinary differential equationThus , andThis is bounded in absolute value by one, so it lies in the uniqueness class of the Feynman-Kac formula. As an independent check, integrating the stochastic differential equation gives . The independent Brownian increments have the normal distribution with mean zero and variance , yielding exactly the same characteristic function. For , the conditional distribution is a point mass at , and the same boxed expression still applies.
Here the diffusion generator is . The Feynman-Kac formula givesTry , where and . Substitution and collection of the coefficients of and the constant term giveThe solutions of these ordinary differential equations, with the terminal conditions imposed, areFor , define the conditional varianceThen the required conditional characteristic function isIn particular, for this exponent is . The variance is nonnegative for either sign of , and its limit at is . Hence the solution is bounded in absolute value by one and the Feynman-Kac formula identifies it with the required expectation. The value gives one directly, including that case without dividing by .
For an independent check, the integrating factor and the Itô product rule giveThe stochastic integral has a normal distribution because its integrand is deterministic; the Itô isometry gives its variance as . For this is the Ornstein-Uhlenbeck transition distribution. The formula also covers the unstable case , and degenerates to deterministic motion when .
