When you run a generalized linear model with the function glm(*)
, it returns an object with several important values about the model. However, I cannot find the ODD ratio values for each variable necessary to be able to interpret the model. I have looked in the documentation but I have not found these values and I am very surprised that it is not included in the object glm
. So, should I generate a column with the ODD ratio myself or are they in the object that is generated when executing glm()
?
I leave a link with the documentation that I am consulting: glm() documentation
I assume that if you are interested in odd ratios or odds ratios you are working with a logit model. In that case the ORs are the exponentiated coefficients and you can see them with
exp(coefficients(modelo))
.R reports (correctly) as coefficients to the logarithm of the odds ratios, thus the interpretation of the slope (the sign of the coefficient) is more direct. Of course, it is more difficult to interpret in terms of the magnitude of the variation and for that it is necessary to exponentiate them.
In an econometric model, it is not necessary to exponentiate them, but it must be taken into account that the interpretation of the coefficients changes.
The Level-Level model represents the variables in their original form (linear regression). That is, a change of one unit in X affects Y in β1 units. The Level-Log model is interpreted as an increase of 1% of change in X is associated with a change in Y of 0.01 · β1.
The Log-Level model is the least frequently used and is known as the semielasticity of Y with respect to X. It is interpreted as an increase of 1 unit in X is associated with a change in Y of (100 · β1 )%.
The Log-Log model attributes to β1 the elasticity of Y with respect to X. It is interpreted as an increase of 1% in X is associated with a change in Y of B1%.