Write , and . The latent absolute magnitude and measurement error are independent normal variables, so their convolution is normal. After integrating out the individual intrinsic magnitudes, each apparent magnitude has distribution
Consequently the likelihood function for the independent sample is
This is the marginal observational likelihood of a hierarchical Bayesian model, not the likelihood conditional on each unknown intrinsic magnitude. The individual errors remain heteroscedastic through their known .
Whenever players 1 and 2 occur, the linear predictor contains their parameters only through
For any constants , replacing
leaves every fitted probability and hence the likelihood function unchanged. The parameterization is therefore nonidentifiable: at most can be estimated uniquely. Hence there is no unique maximum-likelihood estimate of the three separate parameters.
Let be the number of heads. The likelihood function for the Bernoulli distribution sample is proportional to . A uniform distribution prior on is the distribution, so Beta-binomial conjugacy gives the posterior distribution
Let
Subtracting the measured distance modulus from the measured apparent magnitude gives
For the Hubble flow, define
The Hubble law, with the Hubble constant parametrized by , gives . After integrating over each intrinsic absolute magnitude and each unobserved true distance modulus, independence therefore gives the likelihood function
Let be the probability density function of the unknown and that of the noise, both relative to Lebesgue measure. By independence of random variables, the conditional distribution of the measurement given has density . Thus its likelihood function and the joint density are
The Bayesian model evidence is the marginal data density
Bayes' theorem gives the posterior density solving this Bayesian inverse problem:
This formula applies when . Since by Tonelli theorem, these conditions hold almost everywhere under the marginal data law. Values of a conditional distribution at exceptional data are not determined by the joint law. The posterior mean or a maximum a posteriori estimate can then give a point estimate, while the full posterior density describes the remaining uncertainty.
Write and . Under the model in part (a),
and is independent of the price category . The Poisson-multinomial conditioning identity gives
More explicitly, the likelihood function for row factors as
The first factor is the likelihood of the row total and the second is the conditional multinomial likelihood. The free price effect makes the first factor maximal at , while maximizing the remaining factors gives
Consequently both fits have the same maximum-likelihood fitted value
Here every row total is , the column totals are , and , so every fitted row is
This factorization is the Poisson trick.
For observations , the likelihood function is
A maximum-likelihood estimator is any measurable choice
For one observation in a regular scalar model, the score function is
and the Fisher information is
where the second identity requires the usual differentiation-under-the-integral regularity. For independent observations, Tensorization of Fisher information gives .
Let . The likelihood function is
On its feasible range , this is decreasing in . Therefore the maximum likelihood estimator is
Let be the likelihood function. Since the prior distribution is , the posterior density has the form
where is the normalizing constant.
Choose and use the Gaussian autoregressive proposal reversible with respect to a standard normal distribution
Thus
whose covariance matrix is the required . Reversibility with respect to the standard normal distribution says
so
The Metropolis–Hastings acceptance probability therefore reduces to
This is the Preconditioned Crank–Nicolson algorithm with proposal scale .
A sufficient statistic is one for which the conditional distribution of the full sample given does not depend on . Take
For a binary sample with , its likelihood function is
which depends on the data only through . By the Fisher-Neyman factorization theorem, is sufficient. Equivalently, conditionally on , the sample is uniform over the binary vectors containing ones, independently of .
Here has the binomial distribution , so, up to a factor independent of , the likelihood function is
For , differentiating the log-likelihood gives
and the boundary cases give the same formula. Thus the binomial proportion maximum-likelihood estimator is
The noise has the product Laplace distribution density
which is normalized because . By translation invariance of Lebesgue measure, the conditional law of has density
Hence an associated likelihood function is
The map is measurable because is measurable and vector subtraction is continuous. Composition with the continuous norm and exponential functions proves that is jointly measurable.
Let
Thus patients recover during month , while survive that month without recovery. The likelihood function is
The independent prior densities are proportional to . Beta-binomial conjugacy therefore leaves the coordinates posteriorly independent, with
Let
Ignoring the immaterial choice of density values at the sample points, the likelihood function is
Between consecutive order statistics, is constant while decreases with . A maximum can therefore be moved to the left endpoint of one of these intervals. With an equivalent version using , the maximum is attained at a sample order statistic. Thus the maximum-likelihood estimator coincides with one of .
Write the Cepheid measurement as , where , and define the calibrated absolute magnitude data
Thus has a multivariate normal distribution with mean and covariance matrix
The Hubble law and the definition of distance modulus give
Consequently, with
the Hubble-flow observations are independent random variables satisfying . Apart from a factor independent of the parameters, the joint likelihood function is
The expression extends by continuity to a singular limiting covariance such as .
The likelihood function and prior distribution give the posterior density
Completing the square in the quadratic form gives
Thus Gaussian conjugacy for a normal linear model yields
Let be the first team's goal count in match , let be row of the design matrix, and let be the regression coefficient vector. The fitted Poisson regression assumes that the are independent random variables with
The likelihood function maximized by glm is therefore
All three sets of statistics are independent. With , , and , their likelihood function, up to a parameter-independent factor, is
For an observed random sample with all , which happens almost surely, independence gives the likelihood function
Ignoring a term independent of , the log-likelihood and its derivative are
This derivative is positive for and negative for . Thus there is a unique global maximum, and the maximum-likelihood estimator is
Let . For an observed sample in the nonnegative orthant, the likelihood function under the uniform distribution is
It is zero for , and decreases with on . Thus the maximum likelihood estimation problem is solved at the smallest admissible value:
Under the model with probability one. The all-zero sample is a null event on which the likelihood function has no finite maximizer in the parameter space .