Hi everyone,
rstanarm is terrific, and my gateway into Bayesian regression. I'm giving a tutorial on rstanarm next month to spread the word. I just would like to clarify one issue. What units are the normal/student priors expressed in? Are they expressed in the raw units of y or in some unit-less transformation of y? I can't find a definitive answer in the package documentation or in the vignettes. It certainly seems like the units are scaled in some way.
In the
continuous models vignette, the example uses the default normal(0, 5) but one of the effects has a median effect of 51.8 with a MAD of 15.3. If they units are in the raw units of y, then a prior of normal(0, 5) would regularize a 50 +/- 15 effect.
I also fit two stan_glm models on the iris dataset: `Sepal.Length ~ Sepal.Width * Species`. In one model, I scaled the continuous up measures by 1000 and left the measures unchanged in the other model, but I get comparable effects from both models. For example, the `Speciesversicolor` effect, I get 909.5 +/- 761.4 in the scaled data and 0.9 +/- 0.8 in the unscaled data. Both models have the normal(0, 5) prior, so it seems the prior works in some transformation of y.
Thanks,
Tristan