# Tag Info

Accepted

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

You can use code like the following (making use of the as_latex function) to output a regression result to a tex file but it doesn't stack them neatly in tabular form the way that outreg2 does: ...

### 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.
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 ...
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 ...

### 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 ...

### 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/...

### 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 ...

### 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'...

### Is a hedonic regression a reduced-form?

In the benchmark hedonic price analysis, we assume a utility function of the general form $$U = U(x, z_1,...,z_n)$$ where "$x$" stands for the composite good, and $(z_1,...,z_n)$ are the ...
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 ...
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 ...
Accepted

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....

### Partial R2 and contribution of Regressors

I'm a little baffled by your question. I've made a simple simulation, data attached: ...

### Robust Standard Errors in Fixed Effects Model (using Stata)

I'm still not sure if I'm doing something wrong. However, it is useful to note that I get the same results in R. ...