The maximum-likelihood estimator is a maximizer
Writing and the score , the expected Fisher information matrix is
where the equality uses the usual regularity conditions. For independent identically distributed observations, .
Under the standard identifiability, interior-parameter, differentiability and nonsingular-information assumptions, the large-sample distribution is
or approximately . Boundary parameters need not obey this regular approximation.
Ignoring a factor independent of the parameters, the likelihood function is
Since every count is positive, a boundary value has zero likelihood. At an interior optimum, a Lagrange multiplier for gives . Summing the resulting gives , so
The log likelihood function is strictly concave on the positive simplex, because its Hessian matrix is diagonal with entries . Hence this critical point is the unique global maximum-likelihood estimate.
Under independence, the log likelihood function separates:
Maximizing the two terms over their respective probability simplices, by the same Lagrange multiplier argument as in part (a), gives
Therefore the constrained maximum-likelihood estimates are
The associated fitted cell counts are .
The Gaussian linear model has log likelihood function, up to an additive constant,
For each fixed positive , maximize this by minimizing the residual sum of squares. Differentiation gives the normal equations
The full column rank of makes positive definite, hence invertible, so
The quadratic objective is strictly convex, which proves uniqueness. The joint maximum-likelihood estimate has the same coefficient estimate, except on the probability-zero event of an exactly zero residual when the positive-variance likelihood has no finite joint maximizer.
Use the residual mean square
To justify its denominator, let , the orthogonal projection matrix onto the column space of . Then the residual is . The idempotent matrix has rank , so diagonalizing it with an orthogonal matrix gives
Consequently , making an unbiased estimator. If specifically asked for maximum likelihood estimation, maximizing over gives the alternative , which is biased downward by the factor .
Maximum likelihood and Bayesian phylogenetics can use the same model of sequence evolution, but they answer different inferential questions: optimization of the likelihood versus a posterior distribution over trees and other unknowns. Let be a sequence alignment, a phylogenetic tree topology, its branch lengths in expected substitutions per site, and the parameters of a nucleotide substitution model. Both methods can use
The likelihood function sums over unobserved ancestral states, rather than choosing one ancestral sequence and treating it as observed. For conditionally independent sites it is a product of site likelihoods; transitions along a branch can be described by the matrix exponential of a continuous-time Markov chain rate matrix . The phylogenetic pruning algorithm computes the ancestral sums efficiently.[ref]
With maximum likelihood estimation, one seeks
In practice, the enormous discrete tree space requires searches and repeated optimization of continuous parameters; heuristic failure to find the best tree is a computational error distinct from statistical uncertainty. A tree's optimized likelihood is not the probability that it is correct. bootstrap analyses resample alignment columns and repeat inference to assess support under the resampling procedure; their frequencies are not automatically posterior probabilities. Independence assumptions matter, because linked sites and heterogeneous loci can make simple column resampling an imperfect representation of replication.
In Bayesian phylogenetic inference,
The prior distribution supplies weights on topologies, branch lengths and model parameters. Integrating over nuisance parameters gives
Thus a very narrow likelihood peak can lose posterior support to a broader region with a slightly lower maximum. maximum a posteriori estimation is another optimization and does not replace this integration. Markov chain Monte Carlo provides dependent samples approximating the posterior distribution; a clade's posterior probability is the posterior mass of trees containing that clade. The early likelihood-based Bayesian formulation explicitly distinguished these probabilities from bootstrap support.[ref]
Neither approach is protected against systematic error. Poor sequence alignment, incorrect orthology assignments, compositionally heterogeneous sequences, and an inadequate substitution process can support a wrong tree with high apparent confidence. A gene tree can differ from a species tree because of incomplete lineage sorting or introgression; extra sequence from that gene does not automatically fix the mismatch. Model comparison, biological examination of the data and sensitivity to locus sampling are needed in both approaches. In Bayesian analyses, agreement among short chains is not proof of convergence: independent runs, adequate mixing between topologies and an appropriate effective sample size of a Markov chain should be checked. A credible interval and a confidence interval also have different interpretations even if their numerical endpoints happen to resemble one another.
Time inference adds a particularly strong role for assumptions. If a branch spans , with mean rate , its expected length is . Without an external absolute-time anchor, scaling every time by and every rate by leaves the sequence likelihood unchanged. Even a very long alignment can identify branch lengths accurately without identifying an absolute calendar scale. For example, a lineage length substitutions per site is compatible with per site per million years and million years, or twice that rate and half that duration. This is an identifiability issue, not merely a shortage of sampled bases.
In Bayesian divergence-time inference, a schematic joint analysis is
where is fossil information already used to construct the conditional prior. An alternative generative analysis includes a fossil-sampling likelihood explicitly; the same fossil evidence must not be counted twice. A strict molecular clock equates rates across branches; a relaxed molecular clock allows variation, whose distribution and correlations also require specification. A narrow rate prior favors particular absolute ages, and a strong rate-smoothing assumption can redistribute inferred time among branches. A birth-death process prior on the tree encodes assumptions about lineage origination, extinction and sampling; it is not a neutral choice just because it is mathematically convenient.
fossil calibration must separate a fossil's geological age from the age of the lineage split it constrains. A confidently placed crown fossil gives a minimum age for the relevant crown, whereas a stem fossil does not automatically set that crown minimum. Uncertain placement and the incompleteness of the record complicate upper bounds. hard calibration bounds assign zero probability outside the permitted range; enough sequence cannot overcome a zero prior. soft calibration bounds allow small tail probabilities, exposing rather than eliminating the possibility of conflict. Multiple-calibration analyses demonstrate that changing the treatment of bounds changes inferred times and uncertainty.[ref]
Furthermore, separately specified calibration densities are not necessarily the marginal priors the program uses. The rule that an ancestor must be older than its descendant truncates their joint possibilities. If two ages are initially independent uniform variables on , conditioning on gives marginal densities and , respectively. Neither remains uniform. Combining tree-process priors, calibration densities and ordering constraints can therefore introduce substantial information unintentionally.[ref]
The practical response is to run the analysis without sequence information to inspect the effective prior distribution, then compare it with the posterior distribution. Repeat under defensible calibration tails, rate models, tree priors and fossil placements; report which ages change and whether the data sharpen relative ages more than absolute ages. Examine prior predictive checks and posterior predictive checks, and keep numerical mixing diagnostics separate from biological model adequacy. Priors can legitimately supply the time information missing from sequences, but narrow posterior ages are persuasive only when that information and its sensitivity are explicit.
Phylogenetic analysis 2026-11-05
Phylogenetic analysis uses observations of phylogenetic characters to infer or test hypotheses about relationships produced by evolution. Its inputs, character definitions and inference rule matter: a phylogenetic tree is a proposed history supported to some extent by the data and model, rather than a direct photograph of ancestry.
For an illustrative four-organism example, suppose a binary phylogenetic character is 1 in A and B and 0 in C and D. On a phylogenetic tree separating A and B from C and D, one change explains the pattern; on a tree grouping A with C and B with D, at least two changes are needed. Maximum parsimony favors the first explanation for this character. Additional characters can conflict, and repeated changes can obscure ancestry.
An approach based on maximum likelihood estimation instead compares probabilities. With observed data , tree and model parameters , the likelihood function is
A nucleotide substitution model assigns probabilities to sequence changes; unknown ancestral states are summed over using the phylogenetic pruning algorithm. Joseph Felsenstein's 1981 paper developed this approach for DNA sequences and discussed testing equal-rate hypotheses. Model choice and uncertainty therefore belong to the analysis alongside the displayed phylogenetic tree.[ref]
For a stimulus-conditioned Inhomogeneous Poisson process, the event log-likelihood is the displayed expression. A causal filter expansion can be fitted by maximum likelihood estimation, with a smoothness or size penalty and held-out validation. The integral term penalizes predicted spikes that did not occur; fitting only stimulus values at observed spikes omits this essential part.
Potential event time 2026-10-05
A potential event time is a support point permitted in the discrete event-time distribution used to derive the Kaplan–Meier estimator by maximum likelihood estimation. The support must include every observed exact event time. Additional points with a nonempty risk set but no observed event receive zero fitted event mass.
Power law Created 2026-09-24 Updated 2026-10-13
A power law is a relation , with fixed constants and . For positive , any real number is allowed. Its useful feature is a simple scaling rule:
The same proportional change of input produces the same proportional change of output, independently of the starting value. The exponent controls that response; the coefficient fixes the magnitude.
For example, the area of a circle is . Doubling the radius multiplies its area by four, and tripling it multiplies the area by nine. The volume of a sphere is : the same changes multiply its volume by eight and twenty-seven. The distinction explains why similarly shaped objects do not preserve their ratio of surface area to volume when their size changes.
When the output is positive, a logarithm turns the power law into a straight-line relation. Using positive reference values and ,
These ratios are dimensionless quantities, so the formula also applies to physical measurements with units. Plotting both ratios on a logarithmic scale gives a line of slope . Changing a unit changes the numerical coefficient, while the exponent stays the same. Positive describes increasing values; negative describes decreasing values; gives a constant. The zero coefficient is a degenerate case with no useful logarithmic slope.
Exact scaling is stronger than regular variation. The function has a doubling ratio tending to four, but its logarithmic correction keeps growing. The diagram contrasts it with the exact power law .
Figure 1.
Exact quadratic scaling and a logarithmic correction have different finite doubling ratios, even though the correction leaves the limiting exponent unchanged
. Details.
A power law for a probability density and a power law for a tail probability have different exponents. For a Pareto distribution with and lower endpoint one,
The tail probability has exponent ; differentiating it and changing sign gives the probability density exponent . Confusing them changes the interpretation of a fitted exponent. The normalizing coefficient and lower endpoint also matter: a decreasing power law is not automatically a valid probability density over the entire positive real line.
The appearance of a line over a finite logarithmic range is evidence to investigate, rather than a proof of an exact power law or its mechanism. In their study of power-law distributions, Clauset, Shalizi and Newman combine maximum likelihood estimation, goodness-of-fit tests and comparisons with alternative models; their abstract explains why ordinary least-squares fitting can give misleading results for tail data. See Aaron Clauset, Cosma Rohilla Shalizi and M. E. J. Newman, Power-law distributions in empirical data, SIAM Review 51 (2009), 661–703. The scaling rule is mathematically exact when it defines a model; whether a dataset supports that model is a question of statistical inference.
Randomized response Created 2026-10-31 Updated 2026-11-05
Randomized response masks which of two complementary binary questions a person answered. Suppose the sensitive property has probability , and independently the direct question is selected with known probability , while the complementary question is selected otherwise. Truthful answers then have yes probability . The investigator observes only the answer, preserving uncertainty about an individual's status while permitting population statistical estimation when .
For independent responses, , and the affine estimator is an unbiased estimator. Its variance is , by the mean and variance of a binomial distribution. Equivalently the variance is , exposing the extra sampling uncertainty caused by the masking. At , all produce and identifiability fails. At or , there is no masking and the extra variance vanishes.
Because , maximum likelihood estimation gives . This follows by maximizing the binomial likelihood over the interval and then inverting its monotone affine parametrization. Clipping can introduce bias: for , and , the clipped estimate has mean .
Statistical estimation 2026-10-07
Statistical estimation uses observed data to infer numerical properties of a population or model. A point estimator gives a value, while a confidence interval describes uncertainty with a specified coverage property. Maximum likelihood estimation is one approach; bias, variance, identifiability and the sampling or selection mechanism all affect an estimate's interpretation.
Uniform-alternative binomial Bayes factor Created 2026-10-14 Updated 2026-10-25
For a binomial distribution count, compare a point null with the uniform alternative prior distribution on . The alternative Bayesian model evidence is
so the exact Bayes factor favouring the point null is . With standardized deviation , the local normal distribution approximation is . At fixed the frequentist p-value remains approximately constant, while the factor grows like . This demonstrates the prior-width mechanism behind the Jeffreys-Lindley paradox for a Gaussian point null in a discrete sampling model.
For a separate original example, change the point null to and take to have a uniform prior , fixed before the ten Bernoulli trials. Here is drawn once under and shared by all ten trials: they are independent conditional on . For one particular ordered sequence with eight heads and two tails, the Euler beta function gives
Thus the Bayes factor for the uniform alternative against the point null is
The binomial distribution count formulation gives and . Their ratio is again ; these count masses must not be combined with the ordered-sequence masses above. The general formula at the start of this article puts the point null in the numerator, so it equals here.
In contrast, maximum likelihood estimation gives : differentiating the log-likelihood yields , and the endpoints have zero likelihood. Its peak-to-null likelihood ratio is
This peak is chosen after seeing the data, so it is not the Bayes factor of the prespecified . The Bayesian model evidence for averages over its entire uniform prior; it is smaller than the peak. It is also smaller than . Against the same null, a point alternative fixed at would give a Bayes factor about , greater than . An integrated alternative need not outperform a point alternative.
Figure 1.
A uniform-prior average of the likelihood differs from its maximum
. Original calculation for a stipulated ordered sequence with eight heads and two tails. Left: the likelihood function and its uniform prior average , with the point null at and peak at . Right: the average, fixed value, and peak divided by the same null value . Only the first two comparisons use prespecified alternatives; the peak uses a maximum-likelihood estimate. These are calculated model quantities, not measured frequencies. Details.
For a general proper beta distribution prior distribution with , the same ordered-sequence marginal likelihood is . This follows by substituting the normalized prior density into the integral, and shows exactly where the parameter prior distribution changes the Bayes factor. Holding the parameter prior distributions fixed while changing model prior odds leaves that Bayes factor unchanged.