TuringLang / TuringGLM.jl

Bayesian Generalized Linear models using `@formula` syntax.
https://turinglang.org/TuringGLM.jl/dev
MIT License
70 stars 7 forks source link

turing_model part 2: random-effects #22

Closed storopoli closed 2 years ago

storopoli commented 2 years ago

This is the final PR for the features covered in the initial version 0.1.0.

It implements random-effects models only for a single group-level intercept, i.e. (1 | group) inside the @formula. Slope random-effects, multiple intercept random-effects, and Intercept-Slope random-effects will be covered in a different PR and also in a new release.

Datasets in data/

I am adding a new dataset in data/ named cheese which is used for a lot of examples in hierarchical modeling.

Relates to #2.