Code Monkey home page Code Monkey logo

Comments (3)

aloctavodia avatar aloctavodia commented on September 28, 2024

I am not familiar with the term "Jeffreys variables". The log-normal is indeed a very common distribution. In the book we only discuss a small subset of distributions, this subset includes many commonly used distributions but others are excluded. PyMC and PreliZ include many more distributions. There is some discussion of prior/likelihood elicitation in the book but it's not very deep.

from bap3.

parrenin avatar parrenin commented on September 28, 2024

Thanks for the explanation.
I realized that the gamma distribution is somewhat similar but more general than the log-normal distribution.
So it might be the reason why you did not use the log-normal.
BTW, the gamma distribution is introduced in code 2.27 but again, not very much described.

from bap3.

aloctavodia avatar aloctavodia commented on September 28, 2024

Yeah, I tried to list the most commonly used distribution in the book, but that list could be biased. In practice, I tend to use the halfnormal as a vague default prior and I tend to switch to Gamma (with mu, sigma parametrization) if I have more information to define a prior.

Something I would like to see is a survey of the most commonly used distributions in probabilistic models. Not sure how easy would be to compile such a list. Also it would be interesting to have some kind of granularity, by discipline, by probabilistic programming language, etc.

I have been thinking of integrating something like this https://distribution-explorer.github.io/discrete/bernoulli.html or even some of the information in Wikipedia (that can be very complete for many distributions) into PreliZ. PreliZ's documentation already includes some information about the distributions https://preliz.readthedocs.io/en/latest/api_reference.html. But We could do better.

I have a colleague working on a site that will collect commonly used priors for different types of models. The site is not yet public, but hopefully, it will be soon.

from bap3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.