Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
298 views

Trying to understand PyMC through examples, I made a small model referring to a set of birds weight (data observed: y20), supposedly coming from a normal population N(mu, sigma). import pymc as pm ...
Andrew's user avatar
  • 1,226
3 votes
0 answers
195 views

I am trying to implement ERGMs with PyMC. I've found this, this, this and this, but these resources are a bit dated. I have an NxN matrix for each network statistic (density, triangles, istar2, istar3 ...
Neotenic Primate's user avatar
1 vote
0 answers
84 views

I've been skimming through Arviz documentation and came across 8 school inference data. import arviz as az idata = az.load_arviz_data("centered_eight") Inference data object also includes ...
mihagazvoda's user avatar
  • 1,417
1 vote
0 answers
339 views

I have data like this (there 5 different shops: 0 ,1,2,3,4) sales shop 0 117 0 1 0 0 2 0 0 3 134 1 4 0 2 I need to determine distribution for ...
alina999's user avatar
0 votes
1 answer
295 views

I am a newbie in Bayesian and Probabilistic inference, and sorry for this basic question. Recently I am following some examples in Bayesian Methods. And, the examples require me to use "tag....
Jay's user avatar
  • 1
4 votes
0 answers
681 views

The official instructions only talk about conda: https://www.pymc.io/projects/docs/en/latest/installation.html I'm trying to put pymc into a docker image and I don't want to use conda in the docker ...
generic_user's user avatar
  • 3,582
1 vote
1 answer
417 views

My code is: h = pm.Normal("h", mu=0.0, sigma=0.1) a = pm.Normal("a", mu=mu_a, sigma=tau_a, dims="h") d = pm.Normal("d", mu=mu_d, sigma=tau_d, dims="a")...
OJ M's user avatar
  • 11
3 votes
1 answer
583 views

I am trying to use PyMC (v4.0.1) with statsmodels to estimate state-space models. I am following this example that uses PyMC3: https://www.statsmodels.org/v0.12.0/examples/notebooks/generated/...
letsgoexploring's user avatar
0 votes
0 answers
440 views

I try to estimate parameters with a custom complex likelihood function (with 5 parameters to be estimated) using pm.DensityDist: with pm.Model() as model: # Define priors for unknown model ...
YakultL's user avatar
0 votes
0 answers
76 views

I am using a example given in web of pymc, when I try to run pymc.Uniform I am getting the following error --------------------------------------------------------------------------- ZeroProbability ...
Divyadeep harbola's user avatar
0 votes
0 answers
257 views

I have been working using the following codes to acquire the Bayesian Fusion of StudentT distribution. Fusion code: def S2_0_Bayesian_Interface(data): ##################################################...
WDpad159's user avatar
  • 428
6 votes
1 answer
918 views

I'm new to using pymc3, I've read Bayesian Methods for Hackers and done my best to work through existing survival analysis tutorials in pymc3. However, I don't understand how to write/interpret the &...
Noah's user avatar
  • 61
1 vote
1 answer
1k views

I was working with Spyder IDE with python version 3.8.5 and I was using pymc3 (can't remember the exact version) and it was working fine and after upgrading scipy, spyder and python, everything went ...
WDpad159's user avatar
  • 428
2 votes
1 answer
374 views

I am simulating a very basic Bayesian Network using pyMC3. In this simulation, I have only categorical variables. Given the value of a variable, I would like to set the distribution of another ...
rubikscube09's user avatar
5 votes
0 answers
356 views

I am trying to use PYMC3 for a Bayesian model where I would like to repeatedly train my model on new unseen data. I am thinking I would need to update the priors with the posterior of the previously ...
SinByCos's user avatar
  • 125
0 votes
1 answer
268 views

I’m new to pyMC3 and I would like to know if it is possible to use it to solve the following problem: I have a bayesian network (image of my BN: Bayesian network of my problem) and I don’t know the ...
danitalpi's user avatar
0 votes
1 answer
1k views

I am looking into PyMC3 package where I was interested in implementing the package in a scenario where I have several different signals and each signal has different amplitudes. However, I am stuck ...
WDpad159's user avatar
  • 428
2 votes
1 answer
97 views

I am not a user of PyMC myself, but recently I stumbled upon this article that showed a snippet of some PyMC model: def linear_regression(x): scale = yield tfd.HalfCauchy(0, 1) coefs = yield ...
Fanchen Bao's user avatar
  • 4,359
0 votes
3 answers
65 views

I'm a Python beginner who is starting to get familiar with the pymc library. In my program I'm generating random numbers between 1 and 100. When I'm generating random variables, it obviously returns ...
EduardoCabria's user avatar
0 votes
1 answer
2k views

I'm installing pymc package for python (3.7, 64-bit) on cmd windows 10 64-bit pip install pymc or pip3 install pymc but I get this error (all in red) Using cached https://files.pythonhosted.org/...
CC7052's user avatar
  • 577
4 votes
1 answer
342 views

In PyMC3, single new observations passed via set_data() are currently not handled correctly by sample_posterior_predictive(), which in such cases predicts the training data instead (see #3640). ...
fdetsch's user avatar
  • 5,328
0 votes
0 answers
761 views

I have using pymc successfully, I believe. However, I would like to be able to visualize or plot a prior disctribution em0 = pymc.Normal('em0',mu=emLog, tau=1./0.3, value=emLog) where emLog is my ...
Ken Dere's user avatar
0 votes
1 answer
287 views

I tried to recreate the Multilabel logistic regression example from the PyMC3 API guide with the attached data set (Production.csv). In the step of creating pm.Model() I run into difficultiies.The ...
TheCabbageBaggage's user avatar
0 votes
1 answer
362 views

I am trying to write some code for implementing HBM in the case of logistic regression using the adults dataset from the UCI repository. I have already written the code, but sampling is super slow, ...
Cupitor's user avatar
  • 11.8k
0 votes
0 answers
46 views

I would like to have probability instead of frequency in the vertical axis of my traceplot in PyMC. How is it possible to set? The examples are in the photos. I realize it is easy to transform by ...
Akim Tsvigun's user avatar

1
2
3 4 5
11