49
where θn+ι is a new sample from G0 and Λι+ι ɪs the cdf of x∏+ι∙ The Gibbs sampling
scheme to simulate parameters from the posterior distribution is based on the above
discussion and described next.
Gibbs Sampling Scheme: MacEachern (1994) introduced the following Gibbs sam-
pling scheme to simulate random samples θ1,... ,θn from the posterior under model
(3.9). The posterior is easiest described in terms of the configuration parameters θ*,
K and φ. We are still assuming that σ, 7 and a are known, the simulation of these
parameters can be added, as we will see later, straightforward to the Gibbs sampling
scheme, so that, we keep these variables out of the notation. Call (3.13),
κ~i
p(θi I xn, θ~i, φ~i, K~i) = qi0gi0(θi) + ∑ qikδθ→(θi). (3.18)
fc=l
Under model (3.9) the weights дгк are given by,
{cahi(xi), к = 0,
(3.19)
cnklfi(xi I ¾), 1 ≤ к ≤ K~i.
Here fi is the pdf corresponding to Fi, glo is the posterior pdf of θl, obtained by
updating g0 with the likelihood fi(xi ∣ θi), that is,
gιθ(θi) oc fi(xi I θi)go(θi), (3.20)
whose normalization constant, hi(xi), is the marginal density of Xi,
hi(xi) = J fi(xi I θi)g0(θi) dθi,
and c is a normalization constant (across к = 0,..., K~l).
Equation (3.18) implies the posterior distribution for the indicator variables in
the configuration,
Pr{φi = k∖xn, θ~i, φ~i, K~i) = qik. . (3.21)
We can simulate samples of θ*, K and φ by iterating over the following transition
probabilities:
More intriguing information
1. Creating a 2000 IES-LFS Database in Stata2. Large Scale Studies in den deutschen Sozialwissenschaften:Stand und Perspektiven. Bericht über einen Workshop der Deutschen Forschungsgemeinschaft
3. A simple enquiry on heterogeneous lending rates and lending behaviour
4. The name is absent
5. The constitution and evolution of the stars
6. The Social Context as a Determinant of Teacher Motivational Strategies in Physical Education
7. Crime as a Social Cost of Poverty and Inequality: A Review Focusing on Developing Countries
8. Monetary Policy News and Exchange Rate Responses: Do Only Surprises Matter?
9. The Tangible Contribution of R&D Spending Foreign-Owned Plants to a Host Region: a Plant Level Study of the Irish Manufacturing Sector (1980-1996)
10. Fiscal federalism and Fiscal Autonomy: Lessons for the UK from other Industrialised Countries