Skip to content

Transform covariates? #12

Answered by ConnorDonegan
andtheWings asked this question in Q&A
Discussion options

You must be logged in to vote

If you end up transforming the scale of the covariates in any way, then the same change should be made to the SEs.

For MCMC sampling, it can help if they're all on a similar scale but that should not be confused with the practice of converting all the covariates to the standard normal scale by dividing by their respective standard deviations. For example, in my opinion, it makes sense, when using demographic percentages as a covariate, to use the scale 0-1 (proportions). You can also use the center_x argument in the models (e.g. stan_glm) and that can also improve sampling speed.

When using income, for example, it helps to scale the variable down by dividing by 1,000 (this is only about M…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andtheWings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants