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 ...
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 ...
While running the code az.plot_trace(result_final); facing the below error TypeError: expected dtype object, got 'numpy.dtype[float64]' The above exc ...
I have a sample from PyMC3 and I'm trying to get a cumulative probability from it, e.g. P(X < 0). I currently use this: Is there a better way to ...
After installing ArviZ in the obvious way (conda install -c conda-forge arviz), I get the following failure. If anyone could shed light on what to do ...
I'm trying to fit an asymmetric gaussian to my data. My data is just a numpy array called wave (x) and a numpy array called spec (y) that looks like a ...
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 upg ...
I am estimating a model using the pyMC3 library in python. In my "real" model, there are four parameter arrays, two of which have over 170,000 paramet ...
I am brand new to python and pymc3. So forgive me if this question is rather silly. I have a dataset called toy_data.csv: batch_no ...
I'm trying to generate a trace plot of my model but it shows module 'pymc3' has no attribute 'traceplot' error. My code is: which then gives the fo ...
Usually, I find we use the pm.binomial() and so forth. and using the pm.plot_posterior we get the Discrete graph, my question is why my graph I have t ...
I'm going through the Statistical Rethinking course using PyMC3. At the end of Chapter 4, they ask for the HDI of individual values for data points th ...
I have an old blogpost where I am training a PyMC3 model. You can find the blogpost here but the gist of the model is shown below. with pm.Model() as ...
I have a dataset, let's call it A, and when I print it looks like this: but now I want to extract the 158.0 and 725.2 and save them in a separate a ...
Suppose that I generate some sample data using pymc3 for a gamma distribution: Now, I will create a model to fit a gamma distribution on that dat ...
I'm playing around with PyMC3, trying to fit a modified version of the mining disaster switchpoint model in the PyMC3 documentation. Suppose you had t ...
I am trying to change the title of the plot I'm creating with Arviz. Usually I have done this using the backend_kwargs but it doesn't seem to work for ...
I'm trying to get the effective sample size for a 2D mcmc chain, using pymc3 and arviz The above code works for 1D, but not for 2D, and I see there ...
I am studying the book Bayessian analysis with python and trying to implement all codes in python, for this purpose I use google colab, but when I am ...
I am trying to visualize simple linear regression with highest posterior density (hpd) for multiple groups. However, I have a problem to apply hpd for ...
Is there something extra I need to do to show my PyMC3 plots.traceplot results in PyCharm? I just discovered that I need a print() statement around pm ...