Dealing with multivariate prior distributions (Dirichlet) #606
Replies: 2 comments
-
Hi @MadathilSA , you are correct that pyABC's Distribution+RV concept is primarily designed for independent univariate priors. It is however possible to subclass the DistributionBase class, to implement own functionality for random variable sampling ( |
Beta Was this translation helpful? Give feedback.
-
Hi @yannikschaelte, thank you very much for this lead. We will try this approach. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to implement an SMCABC for with a multivariate prior. Specifically Dirichlet prior. However, the weight calculation at run gives an error. What am I doing wrong here?
Have multivariate cases implemented in pyABC?
Here is a toy example, following the univariate example in the documentation.
A toy model:
Bivariate prior:
Distance, configuring abc and data
run:
Thank you very much for your time.
Beta Was this translation helpful? Give feedback.
All reactions