The accepted values have marginal posterior density
Estimate this one-dimensional density by a histogram or kernel density estimation from the simulated values. Where , likelihood reconstruction from posterior simulation gives
Use bins or a sufficiently fine grid, and refine near the maximum. For a histogram with bins , its posterior mass divided by prior mass estimates a prior-weighted average of the likelihood in that bin:
Narrowing the bins gives pointwise likelihood reconstruction at continuous positive-prior points. A flat proper prior over the search interval makes the highest posterior-density bin approximately the highest-likelihood bin. With a nonconstant prior, maximizing the posterior alone gives a maximum a posteriori estimate, generally different from maximum likelihood estimation. Choose prior support covering the intended search region and include a possible boundary maximum; for , decreases with , so the maximum-likelihood estimate is .
The sampled genealogies provide a second likelihood reconstruction when the one-dimensional prior integral is computable. Put
Their posterior density is . Therefore, for any trial value ,
This is an importance sampling estimate of the likelihood curve using the posterior genealogies. It can be maximized over a grid without estimating a posterior density in , provided wherever the target integrand is positive and the weights are numerically usable. The ordinary moment estimate is not automatically a maximum-likelihood estimate: it uses only the mean equation, while the likelihood integrates the entire random branch-length distribution.