WardBrian / scikit-stan

A sklearn style interface to Stan regression models
https://scikit-stan.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
25 stars 0 forks source link

Change None specification for priors to be Stan default flat priors #2

Closed alizma closed 2 years ago

alizma commented 2 years ago

Prior selection currently defaults to autoscaled normal priors and doesn't allow for flat priors. Change the API so the default Stan flat priors are accessible.

alizma commented 2 years ago

See commit 561af87. As stated in the updated documentation, a user can access the Stan default flat priors by passing empty dictionaries {} for any of the regression coefficients. The current set-up ensures that this can be done for individual regression parameters while priors can still be specified for other regression parameters.