Questions tagged [regression]

In statistics, regression analysis is a statistical process for estimating the relationships among variables. It includes many techniques for modeling and analyzing several variables, when the focus is on the relationship between a dependent variable and one or more independent variables (or 'predictors').

Filter by
Sorted by
Tagged with
1
vote
0answers
30 views

Cannot reproduce paper result on Boston Housing

I have been trying to reproduce the results for "Hedonic Housing Prices and the Demand for Clean Air" but to no avail thus far. In table 7 there are three regressions mentioned using the Boston data ...
1
vote
1answer
58 views

Regression of first differenced log-transformed model

I am cosidering to transform a regression equation applying logarithms to the dependent and some of the independent variables (the ones I am actually interested in while leaving unchanged the others ...
1
vote
0answers
128 views

Interpreting multiple interaction terms

I'm running the following regression on panel data: $ %Translator MathMagic Pro for InDesign Mac v9.14, LaTeX converter, 2016.9.11 22:27 \begin{array}{l} {{\mathrm{tscorek}}_{\mathrm{i}}\mathrm{{=}}{\...
0
votes
2answers
71 views

Taking logarithms of variables [closed]

It is common to taking logs of variables when perform a regression analysis. But the observations will become negative after logs transformation when it is less than 1. Is this the possible concerns? (...
1
vote
0answers
125 views

Calculate coefficient estimates [closed]

I am studying computer science and enrolled in an econometrics class. As of this I have very basic understanding of the subject. I am trying to figure out the following question but don't know where ...
3
votes
3answers
172 views

Can I use calculated data for regression

Can I use calculated data for regression analysis. case 1: first run OLS $y = \alpha+\beta x$, and get $\hat\beta$, then calculate $z = h^\hat\beta$, at last run $m = \gamma + \mu z$. case 2: follow ...
0
votes
1answer
66 views

price elasticity of output, makes sense?

I was wondering, in a log-log model of output, labour and commodity price where output is the depedent variable, does it make sense if the coefficient on the price variable is interpreted as the "...
7
votes
2answers
13k views

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

Anyone know of a way to get multiple regression outputs (not multivariate regression, literally multiple regressions) in a table indicating which different independent variables were used and what the ...
1
vote
1answer
2k views

Oaxaca decomposition - Interpretation Interaction

I am running a Oaxaca decomposition on trends in paid work (similar to this paper) The estimates are expressed in minutes. The total change shows an increase in about 30 minutes between Period 0 and ...
1
vote
0answers
32 views

Interaction dummies estimates influence other estimates?

In page 311 of Gujarati Basic Econometrics, there's the following example for use of dummy variables, when we're interested in the interaction between two qualitative terms. Shouldn't we have ...
1
vote
0answers
21 views

equivalence in hypothesis testing

I have the following unrestricted model $y_i=\beta_1+\beta_2x_{2i}+\beta_3x_{3i}+u$ and the restriction $\beta_2+\beta_3=1$ I need to give an equivalent unrestricted model such that if one of its ...
1
vote
0answers
540 views

How Does Adding Regressors Affect Standard Errors and Existing Coefficients?

(First off, bonus points if you can write my question title more clearly) My project right now is to research citizenship status and income. At first my regression was like this: $$ INCOME = \beta0 ...
2
votes
2answers
1k views

Why isn't the “annihilator” matrix a zero matrix?

I am struggling to understand why M is not null since: $$\mathbf M=I−X(X′X){^-}^1X′=I−XX{^-}^1X'{^-}^1X′=I-I=[0] $$ What's wrong with that reasonning?
6
votes
1answer
4k views

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

I work for a company that produces retail items and I am tasked with calculating the price elasticity of demand for a subcategory that shall remain unnamed. I have 5 years of monthly market data that ...
1
vote
0answers
50 views

Coalitional games and Shapley value used for assessing explanatory variable contribution

I have a problem that at the first sight seems not as coalitional game, but rather could be described as logistic regression with all dichotomous variables: 1 response variable Y (I would call it ...
3
votes
3answers
282 views

Intuition behind fixed effects estimator

I understand that the fixed effects estimator in a panel model (say, individuals, $i$ across years, $t$) can be understood either as a including a dummy for each $i$ or running OLS on the time demean-...
2
votes
0answers
22 views

Relationship between parameters estimates of continuous variables and dummy variables

I had asked this question on cross validated before, and have deleted it. Suppose we have a standard wage equation: $$w_{i}=β+β_{1}educ_{i}+x_{i}'\gamma+ϵ_{i}$$ where educ corresponds to education ...
4
votes
1answer
183 views

Is a hedonic regression a reduced-form?

If house prices are a function of location, physical characteristics and an error term i.e. house_price = f (location, physical, e) And I estimate a regression with the log of house price as my ...
1
vote
1answer
348 views

Which regression technique is used for calculating price elasticity in practice

Since we need to consider 'Endogeneity' between price and quantity while calculating price elasticity and since linear regression cannot handle the phenomenon of endogeneity if objective of the model ...
1
vote
1answer
655 views

Price elasticity when relationship between sales, price and other factors is not linear

For commercial deployment, price elasticity is calculated through linear regression which assumes that there is a linear relationship between price and sales. I have a)price and b)social media ratings ...
3
votes
0answers
141 views

Partial R2 and contribution of Regressors

I asked a similar question on Cross Validated, but got no answer. The following question is sufficiently different. Consider the following deterministic relationship:$$Y_{t}=C_{t}+I_{t}+G_{t}+(X_{t}-...
1
vote
2answers
47 views

Conditional Mean and Linearity

The conditional mean of $Y$ given $X$ is:$$E[Y|X]=\int yf(y|x)dy$$ What is the relation to the linear model? I have read somewhere that when X and $Y$ are normal (their marginal ...
1
vote
1answer
75 views

RDD, wages, and day of birth

What I am doing: I use the regression discontinuity design (henceforth RDD) to study differences in wages received by people born at the end of the year and by those people born at the beginning of ...
0
votes
0answers
68 views

Regression on default rates and backward extrapolation

Suppose that we have bankruptcy data representative for Small and Medium-sized enterprises in a country. We can therefore calculate default rates. Furthermore suppose that we found that GDP, ...
3
votes
2answers
656 views

What happens when I leave out empty cells in regression?

I'm using Stata 14.1 to do a regression, and I got a matsize too small error. It gave some more output to tell me possible reasons for this problem, and I think ...
1
vote
1answer
73 views

Stata code for linear regression that controls for state effects

Someone told me I should put a variable in my regression to see the state effects. (States in the United States) So he wrote this code and said to put in my variables where the ... is. ...
2
votes
1answer
337 views

Principal Components Analysis in Economic analysis

I have a data set of annual prices of various energy carriers over several decades. I want to estimate a model of output using these price series - I guess, I will do a co-integration analysis. There ...
3
votes
1answer
660 views

Regression with weights

I have a question regarding weighing observations by importance. Suppose I am running the following regression:$$log(y_{it}/y_{it-1})=\alpha+\sum_{i=1}^{N}\gamma_{i}Country_{i}+u_{i}$$ where ...
2
votes
0answers
68 views

Professors Salary vs Alumni Earning: is the relation causal?

Elyase İskender posted in his blog an interesting plot correlating Professors Salary and Alumni Earnings Relation in US Universities. Is there a good way to establish causality here? Did the highest ...
1
vote
1answer
41 views

Alternative normalisation to triangular restriction on cointegrating vectors

Johansen recommends that cointegrating vectors must be normalised for inference making purposes. All software packages use triangular normalisation of the cointegrating vectors i.e. the top $r$ by $r$ ...
6
votes
3answers
5k views

Robust Standard Errors in Fixed Effects Model (using Stata)

I'm trying to figure out the commands necessary to replicate the following table in Stata. This table is taken from Chapter 11, p. 357 of Econometric Analysis of Cross Section and Panel Data, Second ...
4
votes
0answers
230 views

Explanation of paper's econometric assumptions

The authors of this paper (http://andrewleigh.org/pdf/GunBuyback_Panel.pdf) appear to be essentially regressing the change in the death rate to the change in guns from a gun buy back in Australia, at ...
6
votes
3answers
123 views

More complex than simple and multiple regressions?

I am currently in an Econometrics class that requires us to write a research paper that showcases our skills in regression/ modeling. What is slightly more complex than simple and multiple ...
5
votes
2answers
529 views

Estimating price elasticity of demand

I have 25 quarterly observations and I want to estimate price elasticity of demand. I intented to use GMM-IV estimator. However, I read that it is not good for small samples. What can you suggest me? ...
4
votes
1answer
44 views

Longitudinal microdata on house migration patterns

I am looking for a database that has longitudinal microdata for housing migration patterns. Optimistically, the data would look something like: In 2006, Person #2341 made $X, was Y years old, and ...
7
votes
1answer
151 views

Literature on factors affecting number of houses built

Is there any existing literature on the various factors affecting the number of houses constructed in a particular city over, say, a given month? Factors might include: quality of housing stock, a ...
3
votes
1answer
416 views

Does it make sense to 'deflate' a sectoral price index in a regression analysis?

For instance, if one is running a regression with deflated prices for a given year and one of the independent variables is a price index for a given sector, does it make any sense to 'deflate' this ...
2
votes
2answers
235 views

How do I choose the correct model for a regression?

So the central question of my project is to what extent does a country's level of export contibution towards GDP (i.e. exports as a % of total GDP) affect its GDP growth. I'm comparing this ...
3
votes
1answer
97 views

How to find the long-run relationship using this regression (3rd time posted)

This is an old exam question I can't figure out. I thought to find the relationship you would sum the coefficients on the Ys, so it would be 0.80 + 0.70 - 0.10, giving you C = 1.4Y, but this isn't ...
2
votes
1answer
40 views

rotating and exchanging x for y's in regression

I was just wondering what happens generally if i send all my x points to y's and y's to x's (i.e reflect along the y=x line) - if I change the x's and y's will my old error minimizing line still be ...
8
votes
1answer
312 views

Alternative way of deriving OLS coefficients

In another question of mine, an answerer used the following derivation of OLS coefficient: We have a model: $$ Y = X_1 \beta + X_2 \beta_2 + Z \gamma + \varepsilon, $$ where $Z$ is unobserved. Then ...
13
votes
5answers
10k views

What happens if the “control variables” are also endogenous?

I work in Political Economy, and a lot of the models include "innocent" control variables such as population, inequality, colonial legacy, etc. so that the author can claim unbiasedness on their ...