{"repo":"bambinos/bambi","free":true,"listed":false,"github":"https://github.com/bambinos/bambi","clone":"git clone https://github.com/bambinos/bambi.git","description":"BAyesian Model-Building Interface (Bambi) in Python.","language":"Python","stars":1294,"topics":["bayesian-inference","python","regression-models","statistical-analysis","bayesian-statistics","statistical-modeling"],"license":"MIT","category":"dev-tools","readme_excerpt":"BAyesian Model-Building Interface in Python Overview Bambi is a high-level Bayesian model-building interface written in Python. It's built on top of the PyMC probabilistic programming framework, and is designed to make it extremely easy to fit mixed-effects models common in social sciences settings using a Bayesian approach. Installation Bambi requires a working Python interpreter (3.12+). We recommend installing Python and key numerical libraries using the Anaconda Distribution, which has one-click installers available on all major platforms. Assuming a standard Python environment is installed on your machine (including pip), Bambi itself can be installed in one line using pip: pip install bambi Alternatively, if you want the bleeding edge version of the package you can install from GitHub: pip install git+https://github.com/bambinos/bambi.git Dependencies Bambi requires working versions of ArviZ, formulae, NumPy, pandas and PyMC. Dependencies are listed in pyproject.toml and should all be installed by the Bambi installer; no further action should be required. Examples In the following two examples we assume the following basic setup Linear regression A simple fixed effects model is shown in the example below. First, we create and build a Bambi Model . Then, the method model.fit() tells the sampler to start running and it returns an InferenceData object, which can be passed to several ArviZ functions such as az.summary() to get a summary of the parameters distribution and sa","default_branch":null,"files":null,"tree":[],"storefront":"/r/bambinos","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bambinos/bambi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}