You might find this FAQ Frequently Asked Questions helpful. In general, I would recommend using Horseshoe instead of Spike and slab, which is recently being studied quite extensively and much easier to work with using HMC. See eg: https://betanalpha.github.io/assets/case_studies/bayes_sparse_regression.html (you can find a pymc3 port here: https://github.com/junpenglao/Planet_Sakaar_Data_Science/blob/master/Ports/Bayes%20Sparse%20Regression.ipynb)
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Question on how to model spike and slab priors | 10 | 4320 | March 27, 2021 | |
| Slow sampling in a Hierarchical Logistic Regression example | 7 | 915 | May 12, 2020 | |
| Computing Bayes Factor with Bernoulli Distribution | 11 | 266 | June 3, 2025 | |
| Rule extraction with Bayesian Logistic Regression | 4 | 161 | April 7, 2025 | |
| Bayesian sparse logistic regression in PyMC3 | 2 | 756 | February 7, 2020 |