Skip to main content
10 votes

Proof coefficient in log-log model is equal to coefficient of elasticity

Because $\Bbb E[\varepsilon \mid x]= 0$ is one of the key assumptions for the estimation.
E. Sommer's user avatar
  • 1,325
8 votes
Accepted

What R-squared is a low R-squared?

Disclaimer: this answer comes from a microeconomic research perspective. Time series / macroeconomic specialists will likely have other perspectives. There is no general rule for what's too low ...
AlexK's user avatar
  • 458
8 votes
Accepted

Why we need to control for the interation of year and industry fixed effects?

When you control for not just year fixed effects but instead year-region or year-industry it adds flexibility. The year fixed effects controls in a flexible manner for the time-trend and is more ...
Jesper Hybel's user avatar
  • 3,840
8 votes
Accepted

How to prove that Adjusted R^2 is less than R^2

$$ SSRes=\sum_{i=1}^n\left( y_i-\hat y_i \right)^2\\ SSTotal=\sum_{i=1}^n\left( y_i-\bar y \right)^2 $$ $$ R^2=1-\dfrac{ SSRes/(n-1) }{ SSTotal/(n-1) } $$ $$ \bar R^2=1-\dfrac{ SSRes/(n-k) }{ SSTotal/(...
Dave's user avatar
  • 410
7 votes

How do I calculate price elasticity of demand using historical price and quantity data?

You've fallen into a really common pitfall -- the spurious regression. The parameters you chose to include can't be chosen 'willy nilly' by throwing data into a regress command. Ultimately this can't ...
aisync's user avatar
  • 264
7 votes

Outputting Regressions as Table in Python (similar to outreg in stata)?

You can use the stargazer package (install with pip install stargazer). From https://github.com/mwburke/stargazer/blob/master/...
Max Ghenis's user avatar
7 votes

Alternative to linear regression

There are numerous directions to go which start moving you beyond ordinary least squares (OLS), linear regression. The universe of statistical methods is large! Two books that I particularly enjoyed ...
Matthew Gunn's user avatar
7 votes

What should we do if the subsample have the opposite results to the general results?

This sounds like a case of Simpson's Paradox. Did you control for fixed effects? You might also have heterogeneity - there may be different results in developing vs developed countries. Generally, it'...
RegressForward's user avatar
6 votes
Accepted

Including (demand) price elasticity in a price regression model

The incorporation of a price elasticity in your regression requires that your dependent variable, quantity, be logged as well. Take an example of a basic demand side equation including two ...
EconJohn's user avatar
  • 8,847
6 votes
Accepted

What is a good proxy for government quality?

Using corruption is part of it but a bit restrictive way to measure government "quality". You may use aggregate indicators as the one developed by the Worldwide Governance Indicators (WGI) project ...
emeryville's user avatar
  • 6,990
6 votes
Accepted

Is this an an endogeneity/simultaneity problem?

Let us consider Situation 1. Let us assume that $\rho$ is observed. If it does not work when $\rho$ is observed, there is no reason why it (using a proxy of $\rho$ as instrument) should work when $\...
chan1142's user avatar
  • 2,124
6 votes

What should we do if the subsample have the opposite results to the general results?

tldr: As the other two answers also indicated, there is not necessarily a problem with your results. It might be the case that the two subgroups have different distributions of the covariates. ...
tdm's user avatar
  • 12.8k
6 votes
Accepted

Finding the distribution in OLS

The distribution will be $t_{n-2}$. Below, I assume the sample $\{x_i\}_{i=1}^n$ is treated as fixed. That is, I do all computations as if we were conditioning on $\{x_i\}_{i=1}^n$. I relax this ...
Joseph Basford's user avatar
5 votes

Outputting Regressions as Table in Python (similar to outreg in stata)?

There is now a Python version of the well known stargazer R package, which does exactly this. See also this related question: https://stackoverflow.com/q/35051673/2858145
Pietro Battiston's user avatar
5 votes

Robust Standard Errors in Fixed Effects Model (using Stata)

Use -areg- in Stata, and the standard errors will come out as in the textbook. Specifically, the command ...
eivindhammers's user avatar
5 votes

Regression on a constant

So basically the question is: If I know the average ($\hat{\mu}$) of the daily temperatures ($y_i$) of last year, does that tell me anything about how many people were born ($x_i$) each day? ...
Giskard's user avatar
  • 29.7k
5 votes

Regression over the whole population

It's important to consider what exactly the population is about which an inference is being drawn. It's easy to overlook the time aspect in this context. Suppose for example that the aim is to ...
Adam Bailey's user avatar
  • 8,773
5 votes
Accepted

Does the linear probability model require the regressand to be zero/one-valued?

The "LPM" label refers to the structure of the equation, not to the estimator. LPM models can be estimated not only by least-squares methods but also by maximum-likelihood for example. As regards ...
Alecos Papadopoulos's user avatar
5 votes

What's the use of '% to GDP' type of variables?

Imagine that I am trying to determine whether eating corn has any effect on your height. I see that in the US, total corn consumption is 20 million tons per year (made up number, all others will be ...
Giskard's user avatar
  • 29.7k
5 votes

How to find $\phi$, that denotes the correlation of signals among informed traders?

A degenerate joint normal is distribution is one in which you cannot find a PDF for the distribution. They assume you can. (The covariance matrix is invertible). Let $f(s_1,s_2\dots,s_n,v)$ be the ...
Walrasian Auctioneer's user avatar
5 votes
Accepted

What should we do if the subsample have the opposite results to the general results?

I'd interact the regressor you are interested in with a dummy for the country being developed and see what happens. Its entirely possible that the mechanisms at play in developed contries are ...
Grada Gukovic's user avatar
5 votes
Accepted

How to recognize correlation in spurious regression case

Just regress Y on X: $$Y=b_0+b_1X+ e$$ and you will likely find some negative significant $b_1$ coefficient even though both series are just unrelated random walks. You can also see that as one series ...
1muflon1's user avatar
  • 58.5k
5 votes

Nonlinear Least-Squares Estimation in Practice

Suppose the relationship between $y_{i,t}\equiv\log w_{i,t}$ and $z_{i,t}\equiv\left(s_{i,t},j_{i,t},e_{i,t},x_{i,t}\right)^{\top}$ is given by $$y_{i,t}=g\left(z_{i,t}\right)+\varepsilon_{i,t},$$ ...
Q9y5's user avatar
  • 366
5 votes
Accepted

Test which functional form that best explains data

Notice that: $$ y = \beta_1 x_1 + \beta_2 age + \beta_3 age^2 $$ is a more restrictive model than: $$ y = \delta_1 x_1 + \delta_2 D_{45} + \delta_3 D_{46} + \ldots $$ where you have a dummy for every ...
tdm's user avatar
  • 12.8k
5 votes
Accepted

Is program evaluation (DiD, RD) a structural estimation?

I skimmed through the slides you linked. I think professor Haile in these slides is trying to introduce the concepts of "structural" and "reduced-form" models in a very broad sense....
easyliving's user avatar
5 votes
Accepted

Can a single dummy variable be made to meet multiple criteria?

"Dummy variables" are binary variables, i.e. indicator functions. The indicator function takes the value $1$ if the associated event happens: $$I\{A\}= \begin{cases} 1 & A\; {\rm happens}...
Alecos Papadopoulos's user avatar
4 votes

What is the difference between a transitory and a permanent shock?

"Permanent shock" is a shock whose effects on current values of a variable never die out in absolute terms. "Transitory shock" is a shock whose effects gradually die out. Consider the simplest one-lag ...
Alecos Papadopoulos's user avatar
4 votes

Partial R2 and contribution of Regressors

I'm a little baffled by your question. I've made a simple simulation, data attached: ...
RegressForward's user avatar
4 votes
Accepted

Regression over the whole population

I had initially flagged this question for moderators to examine whether it would be better to migrate over to the statistics SE site Cross Validated. But since the OP introduced a very specific ...
Alecos Papadopoulos's user avatar
4 votes

Alternative to linear regression

Linear regression, despite its simplicity, it is actually a very powerful tool. That's why it's everywhere in econometrics, to give you an example you're maybe familiar with, consider an auto-...
caverac's user avatar
  • 1,226

Only top scored, non community-wiki answers of a minimum length are eligible