# Interpreting logit coefficients on standardized inputs

**URL:** <https://discourse.mc-stan.org/t/interpreting-logit-coefficients-on-standardized-inputs/9512>\
**Category:** Modeling\
**Tags:** interpret-results\
**Created:** [July 3, 2019, 1:22pm UTC](https://discourse.mc-stan.org/t/interpreting-logit-coefficients-on-standardized-inputs/9512 "2019-07-03T13:22:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cchambe12](https://avatars.discourse-cdn.com/v4/letter/c/7993a0/32.png) [@Cchambe12](https://discourse.mc-stan.org/u/Cchambe12)\
**Post date:** [July 3, 2019, 1:22pm UTC](https://discourse.mc-stan.org/t/interpreting-logit-coefficients-on-standardized-inputs/9512/1 "2019-07-03T13:22:00Z")

</div>

I am trying to interpret some coefficients on their natural scale from a  
Stan model fit to standardized inputs. The model predicts when plants  
are damaged by frost in the spring (0/1 outcome) based on a few climate  
predictors, all standardized by subtracting the mean and dividing by 2  
SD. I have a mean spring temperature (MST) input and would like to say  
‘for every 2 degrees of MST warming, frost damage changes X%’ … my  
current calculations for this are:

```
invlogit(intercept + (coefMST/(sd(MST)*2))*mean(MST)) - 
invlogit(intercept + (coefMST/(sd(MST)*2))*(mean(MST)-2)))*100

```

I am new to these models, especially using standardized inputs, so am  
wondering if my conversion is correct or if I need to also back-convert  
the intercept or something else … Thanks!

---

<div class="post-metadata">

**Author:** ![bbbales2](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/bbbales2/32/77_2.png) [@bbbales2](https://discourse.mc-stan.org/u/bbbales2)\
**Post date:** [July 4, 2019, 3:31pm UTC](https://discourse.mc-stan.org/t/interpreting-logit-coefficients-on-standardized-inputs/9512/2 "2019-07-04T15:31:13Z")

</div>

I just scanned the pages from Data Analysis Using Regression and Multilevel/Hierarchical models on this:

[inv\_logit.pdf](https://discourse.mc-stan.org/uploads/short-url/jelb3h1vIC5GPXd0QgDiINDNVWX.pdf) (1.1 MB)

Going for this type of interpretation will always be a bit handwavy cause of the non-linearity, but I think the divide by 4 rule is the thing you’re looking for.

With regards to the centering/scaling, I think the reasoning for doing those things stays the same. You shift everything by the mean so that your intercept corresponds to some sort of average and your coefficients correspond to deviations from that average (so the interpretation of the coefficients change with this). You rescale by the standard deviation to make the units of the different parameters comparable. The goal here is to make it easier to figure out what seems important or not in the regression.

Then on top of this you add the non-linear stuff.

---

<div class="post-metadata">

**Author:** ![Cchambe12](https://avatars.discourse-cdn.com/v4/letter/c/7993a0/32.png) [@Cchambe12](https://discourse.mc-stan.org/u/Cchambe12)\
**Post date:** [July 9, 2019, 2:15pm UTC](https://discourse.mc-stan.org/t/interpreting-logit-coefficients-on-standardized-inputs/9512/3 "2019-07-09T14:15:13Z")

</div>

Yes, those are the pages I have been following! And I agree it’s all  
handwavy, but I do want to both compare across predictors (hence the  
standardizing) and give readers a better sense of what the numbers mean.

So, just to clarify if I use the divide-by-four rule and from the model  
with standardized predictors I have an effect of 0.8 for, say, MST,  
would it be 0.2\*(SD(MST)\*2) to get it back to original units?

---

<div class="post-metadata">

**Author:** ![bbbales2](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/bbbales2/32/77_2.png) [@bbbales2](https://discourse.mc-stan.org/u/bbbales2)\
**Post date:** [July 9, 2019, 8:32pm UTC](https://discourse.mc-stan.org/t/interpreting-logit-coefficients-on-standardized-inputs/9512/4 "2019-07-09T20:32:06Z")

</div>

The shift by the mean isn’t gonna change the units of things, though it changes the interpretation of zero. Ignoring the mean shift, if you have data X and scaled data \hat{X} = X / \sigma\_X and a regression like:

y \sim N(\text{logit}^{-1}(\beta \hat{X}), \sigma)

The question is what the equivalent \beta would be if you had X instead of \hat{X}.

Substitute in \hat{X} = X / \sigma\_X and group the terms

y \sim N(\text{logit}^{-1}(\beta X / \sigma\_X), \sigma) \\ y \sim N(\text{logit}^{-1}((\beta / \sigma\_X) X), \sigma)

In this formulation of the model (which has the same posterior on \beta as the previous model cause it is the same thing), \beta / \sigma\_X is the effective coefficient with units of inverse whatever the units of X are.

So you can just take this and divide it by four to get the maximum percentage change per unit of input (\frac{\beta}{4 \sigma\_X}).

---

<div class="post-metadata">

**Author:** ![Cchambe12](https://avatars.discourse-cdn.com/v4/letter/c/7993a0/32.png) [@Cchambe12](https://discourse.mc-stan.org/u/Cchambe12)\
**Post date:** [July 12, 2019, 1:35pm UTC](https://discourse.mc-stan.org/t/interpreting-logit-coefficients-on-standardized-inputs/9512/5 "2019-07-12T13:35:29Z")

</div>

Great, that makes a lot of sense. Thanks so much for all of your help!
