Specifically, suppose we are estimating $$ \ln(y)=\beta_1\ln(x) + \epsilon $$ I understand that $\beta_1 = \frac{\partial \ln(y)}{\partial \ln(x)}$ which is the elasticity of $y$ with respect to $x$
However I am confused since OLS estimates the conditional mean function, i.e. OLS estimates $$ E[\ln{y} \vert \ln{x}] $$
So then would $\beta_1$ in the above regression be -- or at least converge to as sample size becomes large -- $$\frac{\partial E[\ln{y} \vert \ln{x}]}{\partial \ln{x}}$$ which does not look like an elasticity to me (maybe it is and I just don't realize it?)
(Aside: this is probably really a question about how OLS relates to the conditional mean. Basically, it is my understanding that the standard OLS assumptions ensure a linear conditional mean, and this is what we are actually estimating.
However, if what we are actually estimating is the conditional mean of $y$ and not $y$ itself, then why is $\beta_1$ in equation (1) the elasticity of $y$?
- the answer is perhaps as simple as "we are not estimating the conditional mean", in which case I apologize for being misguided)
Edit: let me try to illustrate my particular question more clearly:
Suppose we have the following relationship: $$ ln(y) = \beta_1 ln(x) + \epsilon $$ Then if we take the derivative of both sides w.r.t $x$ and rearrange, as is done here, we can show that $$\beta_1 = \frac{\partial y}{\partial x}\frac{x}{y}$$
That final quantity we call the "elasticity"
If instead we have the following relationship $$ E[ln(y) \vert x ] = \beta_1 ln(x) $$ is $\beta_1$ still the elasticity? If so, how can we rigorously prove this?
I ask, because when we do ordinary least squares, when we think about $y$ as being uncertain (i.e. drawn from some distribution), then OLS estimates the condition mean.
- Note: perhaps I am wrong and OLS on $\beta_1 ln(x) + \epsilon$ estimates $ln(E[y\vert x])$ and not $E[ln(y) \vert x]$ If so, then I will be satisfied with a clarification of this point.