Open James-Thorson opened 10 years ago
I think the importance sampling is built on top of the Laplace approximation, so it will also fail in the bimodal case.
Maybe you can some HMM type trick to get around bimodality.
Hans
Thanks for the quick response Hans!
I tried implementing the state-space Markov-switching model, on the hypothesis that measurement and process error would "smear" across the two modes for the conditional probability of state-parameters. Comparing with a Bayesian implementation, it appears to work okay with this data set (i.e., process errors are large relative to variance explained by Markov switching).
However, I'd still love to use the Importance Sampler. The problem is that summation in the mixture must be done on probabilities (not log-probabilities), and this causes numerical under/overflow for the Importance Sampler:
cheers, Jim
I'm hoping to implement a state-space model that includes Markov-switches between "regimes", which represent different parameter values for the function representing the expected value of changes over time.
This model will almost certainly result in a probability for random effects (states) that is bimodal (conditional on fixed effects), and hence cannot be estimated using the Laplace Approximation. Is the importance sampler working for "small" random effect models? If so, is there an example that would show recommended settings (i.e., how many importance values to use)?
jim