<p>Like people have said in the comments, log-log is commonly used. It amounts to estimating a constant elasticity model $Y = \alpha X^\beta$, which is a commonly used functional form within economics. Once you take logs, this becomes
$\ln Y = \ln \alpha + \beta \ln X$. You can read more about this <a href="http://www.dummies.com/how-to/content/econometrics-and-the-loglog-model.html">here</a>.</p>

<p>I guess your question is whether or not using this functional form makes sense in your particular model. It's hard to say. As with any ordinary linear regression, you're making an assumption about functional form. You can at least just think about it as a linear approximation that makes more sense after the log-log transformation.</p>

CC BY-SA 3.0
2014-11-18T23:33:51.587Z
2014-11-18T23:33:51.587Z
jmbejara
<p>Alright, the other respondents have covered the logic behind a log-log regression pretty well, so I'm just going to add some practical tips. If you want to check whether your specification is reasonable, and your problem is the assumption of a constant elasticity, try splitting the sample into groups based on percentiles of $x$ and recalculating $\alpha$ and $\beta$. Then see how much they differ. You can even do this by using dummies and interaction terms for each of the percentiles, and then use an $F$ test to determine joint significance of the interaction terms. In other words:
$$\log y_i = \alpha + \beta \log x_i +\sum_{j=2}^S \gamma_j\chi_j +\lambda_j\chi_j\log x_i  $$
where $\chi_j$ is your percentile dummy. Then test whether the $\gamma$'s and $\lambda$'s are jointly significant. <strong>This is by no means formal</strong>, but it may give you a rough idea how reasonable having a constant elasticity is.</p>

<p>Note that as a representation of "true" underlying decision making all transformations that result in a linear regression are wrong. In fact, all models are going to be wrong. The question is really: <strong>is the statistic you've gotten from this model useful to your problem</strong>? If your study is focused on determining an underlying model, is this a moment that tells you something interesting about that deeper model? If you're more policy oriented, will an approximation with constant elasticity get you close enough to the truth that further improvements are irrelevant? Either are extremely difficult questions to answer as an outside observer. But if the only alternative you're worried about is variable elasticity, the kind of test I outlined above may give you some peace of mind.</p>

CC BY-SA 3.0
2014-11-19T00:46:23.923Z
2014-11-19T00:54:32.747Z
2014-11-19T00:54:32.747Z
jayk
<p>The other answers covered the main issues, I would like to respond to the "Edit" made by the OP in the question:</p>

<blockquote>
  <p>Edit: One of my bigger fears is that I should have used a non-linear
  model to show the relationship. I feel that forcing both the dependent
  and independent variable to cooperate in a this linear regression is
  misleading in some way.</p>
</blockquote>

<p>We tend to forget that "transforming a variable" <em>leads to a new variable</em>, whose behavior may be totally different than the "original one". The easiest example is to compare the graphs of  a variable and its square.  </p>

<p>So by considering the natural logarithms of your variables, <em>you no longer examine <strong>the</strong> relation between them</em>, but <strong>a</strong> relation between <strong>some</strong> function of them.<br>
It is <em>fortunate</em> that the mathematical concept of "logarithm" can be linked to the concept of "elasticity", which describes a relation between percentage changes, which is something we understand from an economic point of view and we can meaningfully interpret and use.  </p>

<p>If the variables can be reasonably said to exhibit a "linear relationship in logarithms", it means that their levels (i.e. the actual variables) have a non-linear relationship:</p>

<p>$$\ln y \approx a+b\ln x \Rightarrow y \approx e^a + x^b$$</p>

<p>So why not estimate a non-linear model?<br>
In (mathematical) principle, there is no reason why not. Some practical issues are:</p>

<p><strong>1)</strong> There are too many forms of non-linear relationships, there is only one linear relationship (structurally speaking). It is a matter of "search costs" for the most suitable specification.  </p>

<p><strong>2)</strong> The non-linear relationship obtained may not have a clear <em>economic</em> explanation. Why this is a problem? Because, we are not uncovering "laws of nature" here, unchanged through time and space. We are approximating a social phenomenon. Having an approximation which, moreover, can only be <em>presented</em> as a mathematical formula, without an economic reasoning that validates and supports it, makes the result very thin.</p>

<p><strong>3)</strong> Non-linear <em>estimation</em> is less stable, as regards the mechanics of the estimation algorithm.</p>

CC BY-SA 3.0
2014-11-19T11:58:37.687Z
2014-11-19T11:58:37.687Z
Alecos Papadopoulos
<p>I would say that your model in this case doesn't seem meaningful if your "<strong><em>goal was to see which variable most affected teacher salaries in any given county of my state</em></strong>". You have just shown what the correlation between (the logs of) wages and property tax returns is. You should at least use a multiple regression. </p>

<p>Of course, you could keep going and develop a fully fledged, proper, identification strategy with the appropriate methodological tools in order to estimate the intensity of each causal effect and find the biggest... In reality, you most likely won't be able to do it given the complexities of such a task. It's just a continuum of refinements and you're near the crudest possible model used to explain wages, very far from what I would consider the acceptable approximations of an answer to the question implicit in your goal. You should try to enlist the help of an econometrician.</p>

CC BY-SA 4.0
2020-09-13T10:55:38.153Z
This is offcourse the only correct answer to the question as stated. The other answers all ignore the economics of the question. Science gives explantions and these are given by pointing out causes. The question as stated is in causal terms. From an economic point of view one as a minimum have to consider whether wages affect property taxes or property taxes affect wages. I find the economic "theory" of the latter more plausible: People with higher wages can buy more expensive houses and therefore their property tax is higher and therefore they can deduct more. You  have reverse causation.
Jesper Hybel
CC BY-SA 3.0
2014-11-19T14:29:55.507Z
2014-11-19T14:29:55.507Z
s_a
<p>The answer to the question is yes, it is indeed meaningful (at least mathematically speaking). If you estimate the linear equation</p>

<p>$$ W = \beta_0 + \beta_1 PTR, $$</p>

<p>then $\beta_1=\frac{\partial W }{\partial PTR}$, meaning that $\beta_1$ represents the marginal change of $PTR$ over $W$. Now, if you estimate</p>

<p>$$ log(W) = \beta_0 + \beta_1 log(PTR), $$</p>

<p>then $\beta_1=\frac{\partial W}{\partial PTR}\cdot\frac{PTR}{W}$, which is the very definition of elasticity.</p>

<p>Generally speaking, linear transformations only affect the interpretation given to the coefficients, but the validity of the regression itself (in broad economic terms) is given by the model's assumptions and the economic phenomena being analyzed.</p>

CC BY-SA 3.0
2014-11-19T00:02:33.080Z
2016-09-04T21:29:52.340Z
2016-09-04T21:29:52.340Z
han-tyumi
<p>A few months ago I interned at this organization; and, as a going away present, I decided to spend my last week, with whatever off time I had, to investigate the factors that affect teacher salaries. One problem that I ran into with teacher salaries was that the distribution for the given state was skewed. I had a lot of observations that clung to the lower end of the wage spectrum. I tried resolving this by incorporating a Comparable Wage Index into my dependent variable (teacher wages), but the results I found were completely out of date for the scope of my project. I instead decided to log my dependent variable. This was nice because now my wages had a normal distribution and it just looked perfect in the histogram. When I started testing down, I got to the point where I was left with one last independent variable, property tax returns. The problem with my normative wages was also apparent in my property tax return observations. I had a huge skew of property tax return numbers towards the lower end of the spectrum. So, I logged this variable as well and it still passed the null hypothesis test just fine.</p>

<p>I am not sure if this is precisely correct, but by comparing the change of one logged variable to another logged variable gave me the elasticity. Assuming that this is correct, my regression equation (something like LogWages = B0 + B1(LogPropertyTaxReturns)) shows the elasticity between the two variables. Is this meaningful though? If my goal was to see which variable most affected teacher salaries in any given county of my state, then is showing the elasticity between the two variables helpful? We want to raise the counties with the lowest teacher salaries up higher to increase their living standards, but I fear that I've extrapolated so far away from the real observations that my concluding regression equation is meaningless. </p>

<p>Edit: One of my bigger fears is that I should have used a non-linear model to show the relationship. I feel that forcing both the dependent and independent variable to cooperate in a this linear regression is misleading in some way.</p>

CC BY-SA 3.0
2014-11-18T22:41:48.640Z
It's absolutely meaningful. Look at the definition of the elasticity. You basically have information on the direction of the relationship between Wages and PropertyTaxReturns. Moreover, you have an estimated measure of that relationship. Since it is Log-Log, the wages will change by B1 percents per one percent change of the property tax return. You could do a time series analysis of that to confirm it. Actually, just graphing wages and property tax return over time would be enough to see what is the relationship. Thats a basic way that does not account for hidden variables and etc.
Koba
CC BY-SA 3.0
2014-11-18T22:46:20.843Z
@Koba Thanks for commenting so quickly. Isn't the problem though that elasticity changes along the curve? My biggest regret is that I may have forced the model to be linear, forcing the elasticity to be pretty stable. Thinking back, it might have actually been better to have a non-linear model to reflect this skew that I was talking about.
rosenjcb
CC BY-SA 3.0
2014-11-18T22:57:04.053Z
There is nothing wrong in transforming the variables using log, square root, reciprocals, or other methods. You are not forcing anything. You use the transformations to find the linear relationship between the variables. Sometimes it easy like you just use y=b0+b1*x. Other times variables are linearly related in more complicated way like for example log(y)=b0+b1*(1/x). The last function might give you a good linear relationship, but it is harder to interpret, so the less transformation you can use the better.
Koba
CC BY-SA 3.0
2014-11-18T22:58:46.863Z
The log-log function is pretty straightforward log(y)=b0+b1*log(x). B1 is precisely the percent change in y per one percent change in x in your cross-section analysis. Again, if you have this data for a certain period of time you can just graph it to see the relationship.
Koba
CC BY-SA 3.0
2014-11-18T23:00:33.783Z
I've logged variables before and done other transformations for my regression models. I was just worried that elasticity gave a pretense of meeting. Though, thinking back, the model was linear, it just had the problem of having dependent and independent variables with skewed distributions.
rosenjcb
CC BY-SA 3.0
2014-11-19T13:59:15.877Z
A regression cannot tell you about causality, only about correlation.
410 gone
CC BY-SA 3.0
2014-11-19T15:01:09.670Z
This is an awfully presented question. A long wall of text, starting with a personal history. How will this be relevant to future users who googled this link?
FooBar
CC BY-SA 3.0
2014-11-20T22:34:50.307Z
@FooBar Giving reference to why I logged specific variables and the process of which I came to my final regression equation is relevant to the question at hand. It gives context.
rosenjcb
CC BY-SA 3.0
2014-11-20T23:22:08.790Z
The Stackexchange policy, somewhat paraphrased: If you can't formulate a question such that future readers benefit from it, the question is misplaced on the network.
FooBar
CC BY-SA 3.0
2014-11-20T23:52:16.117Z
@FooBar I think it's phrased perfectly fine. The problems you have with the question's details are trivial at best.
rosenjcb
<econometrics><elasticity><wages>
Econometrics: Is elasticity meaningful in my, or any, regression?
rosenjcb
# Econometrics: Is elasticity meaningful in my, or any, regression?

(Asked by: username_0 on 2014-11-18)

A few months ago I interned at this organization; and, as a going away present, I decided to spend my last week, with whatever off time I had, to investigate the factors that affect teacher salaries. One problem that I ran into with teacher salaries was that the distribution for the given state was skewed. I had a lot of observations that clung to the lower end of the wage spectrum. I tried resolving this by incorporating a Comparable Wage Index into my dependent variable (teacher wages), but the results I found were completely out of date for the scope of my project. I instead decided to log my dependent variable. This was nice because now my wages had a normal distribution and it just looked perfect in the histogram. When I started testing down, I got to the point where I was left with one last independent variable, property tax returns. The problem with my normative wages was also apparent in my property tax return observations. I had a huge skew of property tax return numbers towards the lower end of the spectrum. So, I logged this variable as well and it still passed the null hypothesis test just fine.

I am not sure if this is precisely correct, but by comparing the change of one logged variable to another logged variable gave me the elasticity. Assuming that this is correct, my regression equation (something like LogWages = B0 + B1(LogPropertyTaxReturns)) shows the elasticity between the two variables. Is this meaningful though? If my goal was to see which variable most affected teacher salaries in any given county of my state, then is showing the elasticity between the two variables helpful? We want to raise the counties with the lowest teacher salaries up higher to increase their living standards, but I fear that I've extrapolated so far away from the real observations that my concluding regression equation is meaningless.

Edit: One of my bigger fears is that I should have used a non-linear model to show the relationship. I feel that forcing both the dependent and independent variable to cooperate in a this linear regression is misleading in some way.

**Tags:** econometrics, elasticity, wages

> **Comments:**
> **username_1**: It's absolutely meaningful. Look at the definition of the elasticity. You basically have information on the direction of the relationship between Wages and PropertyTaxReturns. Moreover, you have an estimated measure of that relationship. Since it is Log-Log, the wages will change by B1 percents per one percent change of the property tax return. You could do a time series analysis of that to confirm it. Actually, just graphing wages and property tax return over time would be enough to see what is the relationship. Thats a basic way that does not account for hidden variables and etc.  
> **username_0**: @username_1 Thanks for commenting so quickly. Isn't the problem though that elasticity changes along the curve? My biggest regret is that I may have forced the model to be linear, forcing the elasticity to be pretty stable. Thinking back, it might have actually been better to have a non-linear model to reflect this skew that I was talking about.  
> **username_1**: There is nothing wrong in transforming the variables using log, square root, reciprocals, or other methods. You are not forcing anything. You use the transformations to find the linear relationship between the variables. Sometimes it easy like you just use y=b0+b1*x. Other times variables are linearly related in more complicated way like for example log(y)=b0+b1*(1/x). The last function might give you a good linear relationship, but it is harder to interpret, so the less transformation you can use the better.  
> **username_1**: The log-log function is pretty straightforward log(y)=b0+b1*log(x). B1 is precisely the percent change in y per one percent change in x in your cross-section analysis. Again, if you have this data for a certain period of time you can just graph it to see the relationship.  
> **username_0**: I've logged variables before and done other transformations for my regression models. I was just worried that elasticity gave a pretense of meeting. Though, thinking back, the model was linear, it just had the problem of having dependent and independent variables with skewed distributions.  
> **username_2**: A regression cannot tell you about causality, only about correlation.  
> **username_3**: This is an awfully presented question. A long wall of text, starting with a personal history. How will this be relevant to future users who googled this link?  
> **username_0**: @username_3 Giving reference to why I logged specific variables and the process of which I came to my final regression equation is relevant to the question at hand. It gives context.  
> **username_3**: The Stackexchange policy, somewhat paraphrased: If you can't formulate a question such that future readers benefit from it, the question is misplaced on the network.  
> **username_0**: @username_3 I think it's phrased perfectly fine. The problems you have with the question's details are trivial at best.  

---

## 5 answers

### Answer by username_9 on 2014-11-19. Score: 12 | Accepted answer

The answer to the question is yes, it is indeed meaningful (at least mathematically speaking). If you estimate the linear equation

$$ W = \beta\_0 + \beta\_1 PTR, $$

then $\beta\_1=\frac{\partial W }{\partial PTR}$, meaning that $\beta\_1$ represents the marginal change of $PTR$ over $W$. Now, if you estimate

$$ log(W) = \beta\_0 + \beta\_1 log(PTR), $$

then $\beta\_1=\frac{\partial W}{\partial PTR}\cdot\frac{PTR}{W}$, which is the very definition of elasticity.

Generally speaking, linear transformations only affect the interpretation given to the coefficients, but the validity of the regression itself (in broad economic terms) is given by the model's assumptions and the economic phenomena being analyzed.


---

### Answer by username_4 on 2014-11-18. Score: 8

Like people have said in the comments, log-log is commonly used. It amounts to estimating a constant elasticity model $Y = \alpha X^\beta$, which is a commonly used functional form within economics. Once you take logs, this becomes
$\ln Y = \ln \alpha + \beta \ln X$. You can read more about this [here](http://www.dummies.com/how-to/content/econometrics-and-the-loglog-model.html).

I guess your question is whether or not using this functional form makes sense in your particular model. It's hard to say. As with any ordinary linear regression, you're making an assumption about functional form. You can at least just think about it as a linear approximation that makes more sense after the log-log transformation.


---

### Answer by username_5 on 2014-11-19. Score: 7

Alright, the other respondents have covered the logic behind a log-log regression pretty well, so I'm just going to add some practical tips. If you want to check whether your specification is reasonable, and your problem is the assumption of a constant elasticity, try splitting the sample into groups based on percentiles of $x$ and recalculating $\alpha$ and $\beta$. Then see how much they differ. You can even do this by using dummies and interaction terms for each of the percentiles, and then use an $F$ test to determine joint significance of the interaction terms. In other words:
$$\log y\_i = \alpha + \beta \log x\_i +\sum\_{j=2}^S \gamma\_j\chi\_j +\lambda\_j\chi\_j\log x\_i $$
where $\chi\_j$ is your percentile dummy. Then test whether the $\gamma$'s and $\lambda$'s are jointly significant. **This is by no means formal**, but it may give you a rough idea how reasonable having a constant elasticity is.

Note that as a representation of "true" underlying decision making all transformations that result in a linear regression are wrong. In fact, all models are going to be wrong. The question is really: **is the statistic you've gotten from this model useful to your problem**? If your study is focused on determining an underlying model, is this a moment that tells you something interesting about that deeper model? If you're more policy oriented, will an approximation with constant elasticity get you close enough to the truth that further improvements are irrelevant? Either are extremely difficult questions to answer as an outside observer. But if the only alternative you're worried about is variable elasticity, the kind of test I outlined above may give you some peace of mind.


---

### Answer by username_6 on 2014-11-19. Score: 4

The other answers covered the main issues, I would like to respond to the "Edit" made by the OP in the question:

> Edit: One of my bigger fears is that I should have used a non-linear
> model to show the relationship. I feel that forcing both the dependent
> and independent variable to cooperate in a this linear regression is
> misleading in some way.

We tend to forget that "transforming a variable" *leads to a new variable*, whose behavior may be totally different than the "original one". The easiest example is to compare the graphs of a variable and its square.

So by considering the natural logarithms of your variables, *you no longer examine **the** relation between them*, but **a** relation between **some** function of them.  
It is *fortunate* that the mathematical concept of "logarithm" can be linked to the concept of "elasticity", which describes a relation between percentage changes, which is something we understand from an economic point of view and we can meaningfully interpret and use.

If the variables can be reasonably said to exhibit a "linear relationship in logarithms", it means that their levels (i.e. the actual variables) have a non-linear relationship:

$$\ln y \approx a+b\ln x \Rightarrow y \approx e^a + x^b$$

So why not estimate a non-linear model?  
In (mathematical) principle, there is no reason why not. Some practical issues are:

**1)** There are too many forms of non-linear relationships, there is only one linear relationship (structurally speaking). It is a matter of "search costs" for the most suitable specification.

**2)** The non-linear relationship obtained may not have a clear *economic* explanation. Why this is a problem? Because, we are not uncovering "laws of nature" here, unchanged through time and space. We are approximating a social phenomenon. Having an approximation which, moreover, can only be *presented* as a mathematical formula, without an economic reasoning that validates and supports it, makes the result very thin.

**3)** Non-linear *estimation* is less stable, as regards the mechanics of the estimation algorithm.


---

### Answer by username_7 on 2014-11-19. Score: 4

I would say that your model in this case doesn't seem meaningful if your "***goal was to see which variable most affected teacher salaries in any given county of my state***". You have just shown what the correlation between (the logs of) wages and property tax returns is. You should at least use a multiple regression.

Of course, you could keep going and develop a fully fledged, proper, identification strategy with the appropriate methodological tools in order to estimate the intensity of each causal effect and find the biggest... In reality, you most likely won't be able to do it given the complexities of such a task. It's just a continuum of refinements and you're near the crudest possible model used to explain wages, very far from what I would consider the acceptable approximations of an answer to the question implicit in your goal. You should try to enlist the help of an econometrician.

> **Comments:**
> **username_8**: This is offcourse the only correct answer to the question as stated. The other answers all ignore the economics of the question. Science gives explantions and these are given by pointing out causes. The question as stated is in causal terms. From an economic point of view one as a minimum have to consider whether wages affect property taxes or property taxes affect wages. I find the economic "theory" of the latter more plausible: People with higher wages can buy more expensive houses and therefore their property tax is higher and therefore they can deduct more. You  have reverse causation.  

---

