Autoscale in rstanarm, warning to consider rescaling?

When running stan_glmer() I got the following warning message:

Some predictor variables are on very different scales: consider rescaling

I’m confused because I thought the default is autoscale = TRUE (https://cran.r-project.org/web/packages/rstanarm/vignettes/priors.html#automatic-prior-scale-adjustments)?

  • Operating System: macOS Mojave (Version 10.14.4)
  • rstanarm Version: 2.18.2

Hey @shira! We actually don’t have a warning like that for stan_glmer(), so I think this warning is coming from one of the functions in the lme4 package that stan_glmer() is calling internally. We should probably be catching and suppressing that warning inside stan_glmer() but I hadn’t seen it before! I’ll open an issue at the rstanarm repository on GitHub and we’ll try to figure out if we can suppress it.

1 Like
1 Like