Partition the statistical parameter as , with of interest. For each fixed , maximize over the nuisance parameter to obtain . The profile likelihood and profile log-likelihood are
Their maximizer is the interest component of the joint maximum-likelihood estimator. At a regular nuisance maximum, and its negative Hessian matrix is the Schur complement
The profile likelihood ratio is unchanged by a one-to-one nuisance reparametrization, and transforms naturally under a one-to-one interest reparametrization. Under the regular conditions of Wilks theorem, has a limiting chi-squared distribution with dimension of degrees of freedom. Profiling is maximization, rather than integration or conditioning; need not be a normalized data density, and nuisance fitting can cause appreciable higher-order distortion.
The modified profile likelihood corrects for nuisance curvature and sample-coordinate distortion. In suitable coordinates , with an ancillary statistic, set
holding fixed when differentiating the data coordinates. Up to an interest-independent factor, the Barndorff-Nielsen modified profile likelihood is
Equivalently, implicit differentiation of the nuisance score equation gives , and
The semicolon denotes sample-coordinate differentiation, not a second parameter derivative. In orthogonal coordinates, the Cox-Reid adjusted profile likelihood uses the information adjustment alone; it agrees with this modification when , as happens below.
For the Inverse Gaussian distribution, write , and . Terms independent of both parameters can be absorbed into , giving
The nuisance score function is
It is positive below and negative above it. Thus its global maximum is
independent of . Put . Then
The nuisance observed information at this fit is
Since the constrained nuisance estimator is literally the full nuisance estimator as a function of the data, in the specified sample coordinates. Hence the modified profile likelihood for inverse Gaussian shape is
For and a nonconstant positive sample, the Cauchy-Schwarz inequality gives . The corresponding fits are and . A constant sample has and no finite profile maximum; under continuous independent sampling this event has probability zero when . In particular, the modified coefficient accounts for the fitted mean nuisance parameter.