I have a density distribution function from data, which means that I cannot express its analytical form. If I want to generate 1000 samples by this di ...
I have a density distribution function from data, which means that I cannot express its analytical form. If I want to generate 1000 samples by this di ...
I have installed PyMc3 but the import pymc3 as pm fails. Here is the error message: I installed it with pip install pymc3 and then tried this and t ...
. Answers to this question are eligible for a +50 reputation bounty. Ma ...
I have a model with 4 priors and a custom likelihood. Everything works fine when running the sampling method with its default values and 1 chain. Howe ...
I tired to install pymc3 using 'pip install pymc3', however, after installation when I tried to import pymc3 I still got the error message : ModuleNot ...
I have tried to replicate a number of examples using pymc3 and compared the results. Below is the example for estimating HPD: The summary of the ex ...
I have been trying to use the pymc3 package but have constantly been receiving errors. First off, when I import the pymc3 package, here is what happen ...
I was trying to install pymc3 with Miniconda in Windows. The installation was certainly non-trivial and took me many hours of trouble-shooting to unde ...
I am using the advi method to find the posterior distribution. How can I find the mean and the std of the normal posterior distribution that we get us ...
I’m new to PyMC and am trying to model a situation where you are rolling marbles at a wall and trying to find the block. The data is only for the valu ...
but it doesn't work, and I get no idea. Should I install other packages or there is any solution? I have tried all that I can see on the internet. I ...
I want to implement a basic model of capture and recapture in PyMC3 (you capture 100 animals and mark them, then you liberate them and recapture 100 o ...
My SciPy version is 1.7.3 and I'm running on an Apple M1 chip (not sure if it's relevant). My Python version is 3.9.11, installed via Annaconda. I ge ...
I have below model for which I seek estimation of parameters using pymc3 import pandas as pd import pymc3 as pm import arviz as arviz myData = pd.Da ...
When generating posterior predictive samples using pm.sample_posterior_predictive the result only shows the observed variable. How can I access determ ...
I have started to learn PYMC3. i am trying to write a simple matrix multiplication using PYMC3. basically would like to learn and understand how the a ...
I am using pymc3 package for Bayesian modelling in Python. Below is my code The logp method above gives a result as array(-149.24174903) Could you ...
I am trying to build a linear model in Pymc3 that uses age and age*sex interaction term to model some output variable. However, since sex is a [0, 1] ...
I want to define an inequality constraint for a PYMC3 model. I found this post about defining an equality constraint (i.e., a+b1+b2=1) using pm.Potent ...
I would like to declare a binomial variable that is intermediate and not observed, used to compute another deterministic variable that is observed. If ...