# \#smc\_abc

**URL:** https://discourse.pymc.io/tag/smc-abc/26.md

[Latest](https://discourse.pymc.io/latest.md) · [Categories](https://discourse.pymc.io/categories.md) · [Tags](https://discourse.pymc.io/tags.md)

---

## [Could not broadcast error - works with pm.draw and the graph vis shows no problems](https://discourse.pymc.io/t/could-not-broadcast-error-works-with-pm-draw-and-the-graph-vis-shows-no-problems/17554)

<div class="topic-metadata">

**Author:** [@thejasvibr](https://discourse.pymc.io/u/thejasvibr)\
**Replies:** 2\
**Last updated:** [February 12, 2026, 11:21pm UTC](https://discourse.pymc.io/t/could-not-broadcast-error-works-with-pm-draw-and-the-graph-vis-shows-no-problems/17554 "2026-02-12T23:21:25Z")

</div>

Hi All, I’m trying to estimate mic position (Nmics,3 shape) and source location (Nsources,3 shape) given a set of time-differences of a sound’s arrival through approximate Bayesian Computing. I’m constantly getting Va…

---

## [How can I deal with a computationally expensive simulator method in Sequential Monte Carlo/Approximate Bayesian Computation?](https://discourse.pymc.io/t/how-can-i-deal-with-a-computationally-expensive-simulator-method-in-sequential-monte-carlo-approximate-bayesian-computation/11602)

<div class="topic-metadata">

**Author:** [@lumax](https://discourse.pymc.io/u/lumax)\
**Replies:** 16\
**Last updated:** [October 24, 2024, 5:58pm UTC](https://discourse.pymc.io/t/how-can-i-deal-with-a-computationally-expensive-simulator-method-in-sequential-monte-carlo-approximate-bayesian-computation/11602 "2024-10-24T17:58:59Z")

</div>

I want to do Bayesian Inference of parameters of a black-box simulator function. The issue is that the simulator is very slow, taking many seconds or minutes for a single evaluation of the model at some parameters. Limit…

---

## [Solving question 8M9 from Bayesian Modeling and Computation in Python](https://discourse.pymc.io/t/solving-question-8m9-from-bayesian-modeling-and-computation-in-python/13975)

<div class="topic-metadata">

**Author:** [@Tony\_Jubran](https://discourse.pymc.io/u/Tony_Jubran)\
**Replies:** 1\
**Last updated:** [September 6, 2024, 6:35pm UTC](https://discourse.pymc.io/t/solving-question-8m9-from-bayesian-modeling-and-computation-in-python/13975 "2024-09-06T18:35:34Z")

</div>

the question is “In the GitHub repository you will find a data set of the distribution of citations of scientific papers. Use SMC-ABC to fit a g-and-k distribution to this dataset. Perform all the necessary steps to find…

---

## [Custom implementation of epsilon, sum\_stat in simulator?](https://discourse.pymc.io/t/custom-implementation-of-epsilon-sum-stat-in-simulator/14096)

<div class="topic-metadata">

**Author:** [@nico42](https://discourse.pymc.io/u/nico42)\
**Replies:** 3\
**Last updated:** [March 28, 2024, 8:08pm UTC](https://discourse.pymc.io/t/custom-implementation-of-epsilon-sum-stat-in-simulator/14096 "2024-03-28T20:08:06Z")

</div>

Hello :slight\_smile: Shorter version: I want to implement a custom epsilon in my simulator to model within-simulation variability for the same parameters. I am not sure if this is taken care of in the smc algorithm b…

---

## [Kullback Leibler Divergence in ABC](https://discourse.pymc.io/t/kullback-leibler-divergence-in-abc/13888)

<div class="topic-metadata">

**Author:** [@Diomedes\_Silvestr](https://discourse.pymc.io/u/Diomedes_Silvestr)\
**Replies:** 0\
**Last updated:** [February 27, 2024, 11:10am UTC](https://discourse.pymc.io/t/kullback-leibler-divergence-in-abc/13888 "2024-02-27T11:10:34Z")

</div>

Does someone know how to use the KL divergence as distance measure for ABC? I took a look into the source code and it seems like it hasn’t been implemented yet https://www.pymc.io/projects/docs/en/v5.10.4/\_modules/pymc/…

---

## [Does PyMC work for ABC SMC?](https://discourse.pymc.io/t/does-pymc-work-for-abc-smc/8798)

<div class="topic-metadata">

**Author:** [@fsosa](https://discourse.pymc.io/u/fsosa)\
**Replies:** 13\
**Last updated:** [May 6, 2022, 2:27pm UTC](https://discourse.pymc.io/t/does-pymc-work-for-abc-smc/8798 "2022-05-06T14:27:15Z")

</div>

Hi everyone, I’m new here and new to Bayesian modeling. I’m working on something that involves approximate bayesian inference with a physics engine (the physics engine is the simulator). Is it possible to use PyMC to per…

---

## [Help with understanding how sum\_stat="sort" works and how it is applied in "smc.py" source code](https://discourse.pymc.io/t/help-with-understanding-how-sum-stat-sort-works-and-how-it-is-applied-in-smc-py-source-code/8638)

<div class="topic-metadata">

**Author:** [@mjedrz](https://discourse.pymc.io/u/mjedrz)\
**Replies:** 2\
**Last updated:** [January 21, 2022, 5:26pm UTC](https://discourse.pymc.io/t/help-with-understanding-how-sum-stat-sort-works-and-how-it-is-applied-in-smc-py-source-code/8638 "2022-01-21T17:26:52Z")

</div>

Hi, I’ve been fiddling with the source code “smc.py” recently and discovered something which bugs me. When a summary statistic called “sum\_stat=sort” is used, then np.sort is applied to observations and sim\_data as foll…

---

## [Using multiple chains in SMC in PyMC3](https://discourse.pymc.io/t/using-multiple-chains-in-smc-in-pymc3/8369)

<div class="topic-metadata">

**Author:** [@teresakarolin](https://discourse.pymc.io/u/teresakarolin)\
**Replies:** 9\
**Last updated:** [December 3, 2021, 2:51pm UTC](https://discourse.pymc.io/t/using-multiple-chains-in-smc-in-pymc3/8369 "2021-12-03T14:51:26Z")

</div>

Hi, I am currently using pymc3 version 3.9.2 and decided I wanted to try out the SMC sampler. I have been studying this notebook: https://docs.pymc.io/en/v3/pymcexamples/examples/samplers/SMC2\_gaussians.html which appa…
