Skip to main content
. Author manuscript; available in PMC: 2016 Feb 5.
Published in final edited form as: J Am Stat Assoc. 2015;110(510):459–471. doi: 10.1080/01621459.2014.990973

Algorithm 2.

Algorithm 2

Predictive recursion for estimating π(θ) and c in Model (11). The subdensity π~1(θ)=cπ(θ) is approximated on a discrete grid, and integrals with respect to π~1(θ) are calculated by the trapezoid rule.