KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#cli
#claude-code
#codex
#developer-tools
#react
#windows
formulae
★ 67
Open GitHub ↗
Formulas for mixed-effects models in Python
Download README (.md)
Explore Similar Repositories
calamari_models
:
Pretrained mixed models to be used with Calamari.
Unfold.jl
:
Neuroimaging (EEG, fMRI, pupil ...) regression analysis in Julia
BitPack
:
BitPack is a practical tool to efficiently save ultra-low precision/mixed-precision quantized models.
RestorMixer
:
The official implementation of "An Efficient and Mixed Heterogeneous Model for Image Restoration"
FaST-LMM
:
Python version of Factored Spectrally Transformed Linear Mixed Models
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
formulae
?
Download (.md)
<img src="docs/logo/formulae_large.png" width=250></img> [](https://badge.fury.io/py/formulae) [](https://codecov.io/gh/bambinos/formulae) [](https://github.com/ambv/black) # formulae formulae is a Python library that implements Wilkinson's formulas for mixed-effects models. The main difference with other implementations like [Patsy](https://github.com/pydata/patsy) or [formulaic](https://github.com/matthewwardrop/formulaic) is that formulae can work with formulas describing a model with both common and group specific effects (a.k.a. fixed and random effects, respectively). This package has been written to make it easier to specify models with group effects in [Bambi](https://github.com/bambinos/bambi), a package that makes it easy to work with Bayesian GLMMs in Python, but it could be used independently as a backend for another library. The approach in this library is to extend classical statistical formulas in a similar way than in R package [lme4](https://CRAN.R-project.org/package=lme4). ## Installation formulae requires a working Python interpreter (3.8+) and the libraries NumPy, SciPy and Pandas with versions specified in the [pyproject.toml](https://github.com/bambinos/formulae/blob/master/pyproject.toml) file. Assuming a standard Python environment is installed on your machine (including pip), the latest release of formulae can be installed in one line using pip: `pip install formulae` Alternatively, if you want the development version of the package you can install from GitHub: `pip install git+https://github.com/bambinos/formulae.git` ## Documentation The official documentation can be found [here](https://bambinos.github.io/formulae) ## Notes - The `data` argument only accepts objects of class `pandas.DataFrame`. - `y ~ .` is not implemented and won't be implemented in a first version. However, it is planned to be included in the future.