Use standard neutral coalescent time units, so each pair of ancestral lineages merges at rate 1. With lineages, there are possible pairs; consequently the successive waiting times are independent withDuring this epoch there are branches, each of length . Hence the total branch length of a neutral coalescent is , and linearity of expectation givesThe root branch above the sample's common ancestor is excluded: its mutations would be shared by every chromosome and would not be segregating sites in the sample.
In the infinite sites mutation model, mutations occur as independent Poisson processes at rate per lineage per unit of the coalescent time used in part (a). Conditional on the genealogy, superposition over branches gives a Poisson distribution with mean . Since this depends only on , conditioning on total length alone givesEach mutation occurs at a new site and below the common ancestor, so it contributes exactly one segregating site. The law of iterated expectation therefore gives, with ,Here is fixed when taking the expectation. If it is also random under a proper prior with finite mean, the unconditional expectation is .
Assume , , a proper prior density supported on nonnegative mutation rates, and independence of the mutation-rate prior from the neutral genealogy. PutBy Bayes' theorem, the joint posterior isThe normalizing constant is the prior predictive probability and must be positive. For , interpret the factor as 1 even at zero. If , there are no segregating sites: surely, so that case supplies no information about .
Use Bayesian rejection sampling for a segregating-site count. Independently propose and for , and calculate . Draw an independent uniform on and accept the whole proposed vector exactly whenRepeat after a rejection. The right side is a probability mass function value of a Poisson distribution and is therefore between zero and one. On acceptance, the probability density function of a proposed vector is its prior density multiplied by this acceptance probability, divided by the probability of acceptance. Part (c) shows that this is precisely . Independent proposals and uniforms produce independent posterior draws. Equivalently, one could simulate a count from a Poisson distribution with mean and retain the proposal when that count equals ; the uniform version avoids simulating that extra count.
The acceptance probability is the prior average of the Poisson likelihood:Thus the expected number of proposals per accepted draw is . A numerical rate depends on the specified prior, sample size and observed count; it is not determined by alone.
For a more explicit one-dimensional expression, condition on . The probability generating function, integrating each independent exponential epoch, isLet be its coefficient of . Then . This identifies the acceptance rate with a fully specified marginal likelihood average.
The rejection rule can use a tighter envelope than 1. For , differentiate . Its derivative changes from positive to negative at , soKeep the same joint prior proposal but accept with probability . Multiplication of the acceptance function by this constant leaves the accepted probability density function unchanged. The improved rate isFor , , so this is a genuine improvement; for large , Stirling's formula gives . This is the best global constant envelope for an unrestricted positive prior proposal, because has support and can approach . For there is no improvement from this constant scaling. Further gains can come from proposals concentrating near , or integrating out the times first, but such changes require the appropriate proposal-density ratio and envelope rather than an uncorrected alteration of the sampling law.
The accepted mutation parameters have marginal probability density functionEstimate this probability density function with a suitably smoothed histogram or a boundary-aware kernel density estimator from the accepted draws. On a parameter region where , divide the estimate by the known prior density and maximize:The unknown is constant in and cancels. Maximizing the posterior density itself gives a posterior mode, not generally a maximum-likelihood estimate; the two coincide for a flat prior on a region containing the maximum. A prior excluding candidate maximizers cannot recover them through its posterior output. Boundary behavior also matters: for , the likelihood is decreasing in , so the unrestricted maximum is at .
The exact likelihood provides a useful independent check. Put . Its Laplace transform is , since is exponential of rate . The probability density functionhas that same transform: substitute to obtain . Thus, expanding its binomial factor and integrating each term,This is the segregating-site likelihood under the neutral coalescent. It can be maximized numerically to check the posterior-density estimate; the generating-function representation avoids cancellation in large alternating sums. For , it reduces to , whose maximum is at for .
Alternatively, differentiating the integrated likelihood givesAn interior maximum therefore satisfies . Conditional expectations of can be estimated by smoothing the accepted pairs near each candidate parameter value, yielding another simulation-based score equation. The simple estimator is the unbiased Watterson estimator from part (b), and is not generally the likelihood maximizer.
Articles by others on the same topic
There are currently no matching articles.