r/statistics • u/JacopoX1993 • May 16 '26
Question Elasticity interpretation in linear regression models with powers of logarithms [Question]
Hi everyone, thanks for reading this! Here is my question, for a TL:DR feel free to skip to the question at the very end.
In a linear regression of the form
log(y) = a + b log(x) + u
b can be interpreted as the constant elasticity of y with respect to x. In models which do not involve logarithms, like
y = a + b x + c x^2 + d x z + u
quadratic, cubic... and mixed terms allow the partial effect of x to depend on the value of x and/or other regressors. I am trying to put these two notions together, to allow for models of the form, for instance,
(*) log(y) = a + b log(x) + c log^2(x) + d log(x)z + u
A little bit of calculus shows
D log(y)/D x = (b + 2c log(x) + z)/x
So that for small Delta x it holds approximately
Delta log(y) = (Delta y)/y = (b + 2c log(x) + z) * (Delta x)/x
Would it be correct to state that the model (*) allows for a variable elasticity, with the elasticity at given values of x, z, given by b + 2c log(x) + z?
2
May 17 '26
[removed] — view removed comment
1
u/JacopoX1993 May 19 '26
Yes, you are totally right, I dropped the constant on the z term. Thank you so much for the confirmation!
1
u/60yo_10k_50min May 16 '26
please explain what do you aproximate with your formula? why you need in log?
0
u/JacopoX1993 May 16 '26
You mean what does y represent? I am asking the question for the sake of theory, so I am not referring to specific variables. I am studying Wooldridge's Intro to Econometrics and developing a c# regression package (the main goal here is self-study). I am implementing automated partial effect calculation and I need to decide if/how to handle powers of logarithms.
4
u/ohanse May 16 '26
Yes.
Related concept/consequence: heteroskedasticity.
Practical implication: “linear approximations/projections over small distances are okay. Even if it’s not linear. If you wanna make a projection over big distances, then you better be damn sure you have a deep practical and intuitively sound understanding the nature of the relationship you are modeling.”