pymc
pymc copied to clipboard
Bayesian Modeling and Probabilistic Programming in Python
Log-probability derivation for arbitrary order statistics (for i.i.d. [univariate] random variables)
### Description Given an i.i.d. sample of univariate random variable $X_1, \dots, X_n$ with probability density function $f_X(x)$ and cumulative prob $F_X(x)$, the jth order statistic is denoted by $X_{(j)}$...
### Description The docs from the data-umbrella event organized by @OriolAbril have more comprehensive info on MySt https://pymc-data-umbrella.xyz/en/latest/about/contributing_to_documentation/docs_presentation.html#the-implementation-jupyter-notebook-sphinx-extensions
### Describe the issue: When running the following code, CPython crashed with exit code 141. There won't be any issue if I only use one chain to sample. It only...
### Describe the issue: As stated in [the python documentation logging cookbook "patterns to avoid" section](https://docs.python.org/3/howto/logging-cookbook.html#adding-handlers-other-than-nullhandler-to-a-logger-in-a-library). Libraries should not add log handlers. It makes it difficult for users to control...
PyMC distribution classes are weird objects that hold RandomVariables, logp, logcdf and moment methods together (basically doing runtime dispatching) and manage most of the non-RandomVariable kwargs that users are familiar...
**What is this PR about?** Add type hints to the dist() class methods in the discrete distributions. Issue https://github.com/pymc-devs/pymc/issues/5358 Discussion points: - I am not sure if the type hints...
# Before Currently, IDE's are unable to display the correct variable and type signature of pymc's distributions. This has been discussed before, see #6083. This is the current on-hover behaviour...
**What is this PR about?** This PR add a new file `py.typed` at the root of the module to fix this [issue](https://discourse.pymc.io/t/missing-library-stubs-or-py-typed-marker-are-we-missing-something/13268) The goal is to allow mypy analyze **Checklist**...
### Description This builds upon work on automatic log-probability derivation of max/min statistics. We would like to extend this to obtaining the maximum/minimum order statistics of non-i.i.d. (univariate) random variables....
## Description First time contributor here (both to pymc and open source) - updated docstrings in pymc.model.core.Model to follow numpydoc. There are some details that I need to call out....