Skip to content

Commit

Permalink
Clarified that centering affects prior interpretation in models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jt-lab authored Sep 22, 2023
1 parent e280507 commit d40a1d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bambi/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ class Model:
center_predictors : bool
If ``True`` (default), and if there is an intercept in the common terms, the data is
centered by subtracting the mean. The centering is undone after sampling to provide
the actual intercept in all distributional components that have an intercept.
the actual intercept in all distributional components that have an intercept. Note
that this changes the interpretation of the prior on the intercept because it refers
to the intercept of the centered data.
extra_namespace : dict, optional
Additional user supplied variables with transformations or data to include in the
environment where the formula is evaluated. Defaults to `None`.
Expand Down

0 comments on commit d40a1d8

Please sign in to comment.