# \#difficult\_inference

**URL:** https://discourse.pymc.io/tag/difficult-inference/32.md

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

---

## [Efficiently generating samples consistent with observed variables to answer conditional queries](https://discourse.pymc.io/t/efficiently-generating-samples-consistent-with-observed-variables-to-answer-conditional-queries/16288)

<div class="topic-metadata">

**Author:** [@codez266](https://discourse.pymc.io/u/codez266)\
**Replies:** 2\
**Last updated:** [December 30, 2024, 5:20am UTC](https://discourse.pymc.io/t/efficiently-generating-samples-consistent-with-observed-variables-to-answer-conditional-queries/16288 "2024-12-30T05:20:28Z")

</div>

I have cretae a sizeable bayesian network of about 80 nodes using pymc. I want to use the network to answer multiple queries P(X|Z) where evidence Z on some of the variables is provided, and I want to know the probabilit…

---

## [Inference of Physical Parameters from Binned Data](https://discourse.pymc.io/t/inference-of-physical-parameters-from-binned-data/12553)

<div class="topic-metadata">

**Author:** [@M\_K-C](https://discourse.pymc.io/u/M_K-C)\
**Replies:** 1\
**Last updated:** [July 20, 2023, 9:14am UTC](https://discourse.pymc.io/t/inference-of-physical-parameters-from-binned-data/12553 "2023-07-20T09:14:04Z")

</div>

Hi all, I am relatively new to pymc, so this problem might have a very simple solution that I am not seeing: For my current project I am trying to infer some physical parameters from a set of time-resolved measurements…

---

## [Hierarchical Logistic Regression with Binomial Likelihood - The chain reached the maximum tree depth, The rhat statistic is larger than 1.05 for some parameters, The estimated number of effective samples is smaller than 200 for some parameters](https://discourse.pymc.io/t/hierarchical-logistic-regression-with-binomial-likelihood-the-chain-reached-the-maximum-tree-depth-the-rhat-statistic-is-larger-than-1-05-for-some-parameters-the-estimated-number-of-effective-samples-is-smaller-than-200-for-some-parameters/8437)

<div class="topic-metadata">

**Author:** [@vanko](https://discourse.pymc.io/u/vanko)\
**Replies:** 2\
**Last updated:** [December 16, 2021, 6:45pm UTC](https://discourse.pymc.io/t/hierarchical-logistic-regression-with-binomial-likelihood-the-chain-reached-the-maximum-tree-depth-the-rhat-statistic-is-larger-than-1-05-for-some-parameters-the-estimated-number-of-effective-samples-is-smaller-than-200-for-some-parameters/8437 "2021-12-16T18:45:48Z")

</div>

I have a dataset with 32 diff. networks, only 1 Independent RV - EXP\_FLAG\_C and Target Variable - CONV\_FLAG\_ORIGINAL that looks like below: Firs I build individual model for each NETWORK with pm.Binomial Likelihood a…
