My bad—that was really vague. By “tightly”, I meant in computation. If you have a joint density p(\theta, \alpha) where \alpha is a discrete parameter, then you can always sample \alpha using the full density p(\alpha \mid \theta) \propto p(\theta, \alpha). This would be easy for us to add to Stan and would give us full generalized Gibbs. But there’s almost always a much much more computationally efficient form of the conditional p(\alpha \mid \theta). For example, in a graphical model, you can compute the (minimal) Markov blanket—that’s what BUGS/JAGS do for generalized Gibbs.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Random number of switch points in regression | 2 | 1295 | July 17, 2018 | |
| Getting "mass matrix contains zero on the diagonal" when trying to fit a piecewise linear model | 2 | 3269 | October 2, 2018 | |
| Converting Model from Stan | 15 | 3176 | June 27, 2017 | |
| Correctly applying switchpoint model? | 2 | 2352 | April 23, 2019 | |
| Constrained Observations | 8 | 697 | February 8, 2019 |