Gamma–Poisson hierarchical model 2026-10-06
A Gamma–Poisson hierarchical model uses , , and , with gamma distributions in shape-rate convention. Conditional independence gives full conditional distributions and .
Paired Poisson conditional likelihood 2026-10-14
For conditionally independent paired counts with means and , condition on every pair total . The joint conditional likelihood removes all pair-specific rates, leaving the displayed independent binomial distributions. A zero-total pair contributes no information. With unrestricted fixed baseline rates, this conditional likelihood has the same parameter-dependent part as the ordinary profile likelihood; a specified Gamma–Poisson hierarchical model can retain additional information by imposing structure on those rates.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 44 2 b Solution Created 2026-10-03 Updated 2026-10-14
The joint density factors as . In the full conditional distribution of , all factors not involving cancel. The remaining likelihood function and exponential distribution prior giveIn shape–rate convention this is , a special case of the Gamma–Poisson hierarchical model. It depends only on the node's observed child and parent , as required for its Gibbs sampler update.
Past exam of the mathematics course of the University of Cambridge 2008 iii Paper 46 1 d Solution Created 2026-10-03 Updated 2026-10-14
For pair , use conditionally independent counts and , with a common effect and a separate positive baseline rate for each physician. Equivalently the linear predictor is , with . This Poisson regression controls each physician's stable baseline propensity.
Condition on all twelve pair totals . The paired Poisson conditional likelihood has independent factorsThis eliminates every exactly. It is more useful as a nuisance-elimination device than the unpaired calculation, which removes only one common baseline: many pair-specific rates are otherwise estimated from just two measurements each.
A possible concern is loss of information through conditioning on totals that are not ancillary for , especially with sparse pairs; a zero-total pair contributes no conditional information. There is an important qualification in this exact fixed-baseline Poisson model. Maximizing over gives , and substitution leaves precisely the same -dependent factor as the conditional likelihood. Hence there is no extra loss relative to ordinary profiling in this particular model; one should not automatically assert an incidental-parameter bias in its estimate of .
Additional baseline observations, a calibrated distribution of baseline rates, or informative hierarchical constraints can retain information in the pair totals. A Gamma–Poisson hierarchical model is one possible structured model, but merely giving it a completely free common mean does not automatically create extra information about : that mean can absorb the factor in the totals. Such remedies trade exact nuisance elimination for additional data or assumptions. Finally, paired sampling alone does not establish conditional Poisson independence or equidispersion: remaining within-physician dependence or overdispersion should be checked, and an appropriate joint count model or physician-level robust variance used if needed. The common multiplicative-effect assumption is also part of the analysis.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 216 3 a Solution Created 2026-10-03 Updated 2026-10-06
Use the shape-rate convention for every gamma distribution, with . Let and . The Poisson distribution likelihood and the Gamma–Poisson hierarchical model giveAll factors involving the coordinate being updated must be retained, including from the conditional gamma distributions. The full conditional distributions areFor a blocked Gibbs sampler, draw from the second full conditional distribution, then redraw all the independently from the first ones. Repeating these two steps preserves the joint posterior distribution; observing after each complete sweep gives the Markov chain used in the next part. Standard gamma distribution sampling works for noninteger as well as integer shapes. The positive observation-period convention is used for the subsequent geometric drift condition.