I am trying to apply the method proposed by Chib in Marginal Likelihood from the Metropolis Hastings output to calculate the marginal likelihood of a logit model the includes latent variables. Specifically, Pr(Y=1)=exp(beta*x+z)/(1+exp(beta*x+z)) where z is an unobserved variable ~ N(0,sigma). I will be very thankful for tips on how to calculate the marginal likelihood of the model!