"intercept" is depreciated , conflict with set_prior() documentation


I am using the documentation for set_prior() to make a not centered intercept: " To treat the intercept as an ordinary population-level effect and avoid the centering parameterization, use 0 + intercept on the right-hand side of the model formula."

However, I received the following warning when fitting a model:
Reserved variable name 'intercept' is deprecated. Please use 'Intercept' instead.

Try it with a capital “I”: “Intercept”

I fixed the doc accordingly.

1 Like