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
0
votes
1answer
28 views

Moderation effect of a variable [on hold]

Should we include some control variables in regressions when we test a moderation effect of a variable?
0
votes
1answer
34 views

Running a regression to avoid multicollinearity

I have the following regression (pooled OLS; panel data): Y Treated Shock Shock*Treated {with industry and year fixed effects} Y is a continuous variable, “...
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 ...
0
votes
1answer
62 views

Econometrics: why the i.i.d assumption and weak exogeneity assumption imply strict exogeneity?

The proposition is from lecture notes of advanced econometrics of Yongmiao Hong: A1: $\{Y_t,X_t'\}_{t=1}^n$ is an i.i.d. random sample. A2: $E(\varepsilon_t|X_t)=0$ almost surely with $E(\...
1
vote
1answer
38 views

Is conditional mean independence, $E(e_i | x_i)=0$, a different assumption from $E(x e) = 0$? (from Hansen)

This question comes out of Hansen's Econometrics ((https://www.ssc.wisc.edu/~bhansen/econometrics/Econometrics.pdf)) In section 2.18, we only impose the assumptions of finite variance and $Q_{xx}$ ...
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 ...
0
votes
0answers
18 views

Effect of Agricultural products on GDP/capita

What is the best way to regress this effect. I would like to show the effect of the production of different agricultural products (Rice, maize, wheat etc..) have on the gdp of a country (India in this ...
0
votes
2answers
42 views

regression method for data that contain a number of observation for several years

I have a data set about 125 companies. For each company I have the salary and some other variables about the top 5 managers in each company. One observation contains the top 5 managers in each one of ...
5
votes
2answers
296 views

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

I am trying to see how we treat $\varepsilon$ in the following proof: Suppose we have a log-log single variable regression model $$ \ln(y) = \alpha + \beta \ln(x) + \varepsilon $$ then take partial ...
0
votes
0answers
19 views

Regression estimators for an equation with three independent variables

I'm trying to find the estimators for a regression equation with three independent variables: $y_i = \beta_0 + \beta_1 x_{1i} + \beta_2 x_{2i} + \beta_3 x_{3i} + \mu_i$ What is the betas' estimator, ...
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 ...
0
votes
0answers
20 views

Okun coefficient interpretation

I'm wondering how to interpret Okun’s coefficient. Say you have $y^c = -1*u^c$. This means that a 1% increase in the cyclical unemployment gap will produce a 1% decrease in the cyclical output gap. ...
1
vote
1answer
29 views

Is this a valid derivation of FWL?

$Y = X\hat{\beta} + Z\hat{\gamma} + e\\ (X'X)^{-1}X'Y = (X'X)^{-1}X'X\hat{\beta} + (X'X)^{-1}X'Z\hat{\gamma} + (X'X)^{-1}X'e\\ \hat{\beta}_{short} = \hat{\beta} + \hat{\delta}\hat{\gamma} $ where $\...
2
votes
1answer
1k views

In panel data application, when using Fama and MacBeth regression is preferable over the fixed or random effect model? thought

When discussing panel data, many econometric books, usually, focus just on fixed or random effect model as means of estimating regression for panel data. Despite this tendency I have seen many papers ...
0
votes
1answer
40 views

Possible regression biases with GDP [x] vs Health expenditure [y] (both per capita)

I am regressing per capita health expenditure on per capita GDP. I have 3 data columns (health expenditure, gdp, population) So my regression function is healthexpenditure/population = b0 + b1.(gdp/...
2
votes
1answer
70 views

Confidence Intervals for Elasticity in Simple Linear Regression

I'm pretty sure this is a very simple question that I am missing something obvious. I have a simple linear regression with multiple independent variables. I want to calculate the elasticity (no ...
2
votes
1answer
51 views

Can I treat pooled cross-section as panel data and do regression analysis?

I work with a large survey data that is pooled cross-section, i.e, people interviewed are randomly chosen in each time period. This is not panel data. But, I aggregate the individual cells according ...
0
votes
0answers
45 views

Covariance between regression coefficient and residual

Given regression equation Y=Xβ + ε which satisfies all classical assumptions including those of homoscadasticity Estimated regression equation using OLS is the following - Y=Xb + e Where, b is ...
1
vote
0answers
45 views

Minimizing the error: Transforming dependent variable

As given in the picture, question ask us to transform dependent variable, by premultiplying with a weighting matrix W, (which will change the regression coefficient into C'β) such that the expression (...
0
votes
0answers
20 views

How to run Panel data analysis when data on the dependent variable is on a 5 year interval basis and that on independent variable is on yearly basis?

I am reading a paper which empirically tests if primary exports affect education attainment in LAC countries over the period 1965 to 2010. It uses percentage of secondary school enrollment as ...
0
votes
0answers
17 views

What are the statistical tests I need to perform before I regress GDP on multiple variables?

I'm using data over 10 countries for the period 1975 to 2010. My objective is to check if the chosen regressors have significant effect on GDP. I have very basic knowledge of econometrics which I ...
0
votes
1answer
47 views

Categorical variable as explanatory variable (right hand side)

In a linear probability model, or any sort of regression, one can use fixed effect estimation by simply adding in a STATA code i.something. This "something" can be either a village, a county or a ...
2
votes
1answer
42 views

Principal component analysis interpretation

Suppose a wealth index is computed using information on a set of 14 assets that a household possesses. The index is generated using principal components, as the 14 individual asset variables are ...
2
votes
2answers
77 views

Specification bias - estimated variance is biased estimator of true variance of error term

Consider the two models $ (a) y = X\beta + u $ where $X$ is $n \times K$ and (b) $y = Z\gamma + \omega $ where $Z$ is $n \times r$. Under classical assumptions (and $Z$ and $X$ are non-stochastic) if ...
3
votes
1answer
58 views

Transforming a matrix of explanatory variable in regression

Given the partitioned regression equation (into $X_1$ and $X_2$), I want to transform $X_1$, say $X^*_1$, such that $X_2$ and $X^*_1$ becomes orthogonal ie. $X_2^T$. $X_1^*$= 0. A matrix can be ...
2
votes
3answers
137 views

Sample used in calculating the sample regression function

Does the OLS (ordinary least squares) method of regression consider only one sample value in calculating the sample regression function (SRF)? If not, then how is the SRF created when there is more ...
1
vote
1answer
57 views

What is the interpration of results if adding or subtracting a control variable effects the significance of explanotary variables?

I am conducting some regressions on economic growth determinants and I am disillusioned. Essentially by choosing what groups of variable to regress I can get the desired significance. What does this ...
2
votes
0answers
29 views

Regression analysis with interaction and decomposed main effect

I'm trying to figure out if I need to include the main effect in a regression analysis with an interaction if I am already including a decomposed version of the main effect. For example, let: ...
0
votes
0answers
36 views

Should a Price Elasticity of Demand model exclude items that sold out or marked down from the original price

Consider a Price Elasticity of Demand model built with linear regression to estimate the Percent Change in Quantity Demanded given a Percent Change in Price specifically for specialty items which have ...
0
votes
0answers
20 views

Interpreting regressions results: different scales and variables interaction

I want kindly ask if someone can help me interpreting the results of regression that I need for my master thesis. The model is this : countries are indexed by i and time by t. Dependent variable ...
0
votes
1answer
32 views

How to determine correct fixed effects in linear regression model using unbalanced paneldata

I am currently working on a research project regarding the introduction of mandatory earnings guidance regulation in multiple countries within a time span of 10 years (staggered adoption). As I can ...
2
votes
2answers
59 views

Should coefficient on interaction term be positive or negative?

I have the following model for housing prices price = $\beta_0$ + $\beta_1$ sqrft + $\beta_2$ bedrooms + $\beta_3$ sqrft $\times$ bedrooms + $\beta_4$ bathroom, where sqrft is square feet. I am ...
0
votes
0answers
12 views

Generating Variable frequency

I three variables, zipcode, date (month_year) and name of an installer. I need to generate: 1- a new var that is equal to the number of repetitions the installer name is repeated in month_year and in ...
3
votes
1answer
674 views

What is a good proxy for government quality?

Is it ok to use corruption as a proxy for government quality?
-1
votes
1answer
48 views

When using OLS is it always necessary to drop the weak and insignificant variable? [closed]

Some of my variable shows weak collinear relationship on my dependent variable.. how should I address this?
0
votes
1answer
50 views

Can a complex interaction term mean more than what it's composed of?

I'm cross-posting this question on both Economics and Cross Validated to get answers from a different perspective on each field. It is generally accepted to cross-post if the question is tailored to ...
0
votes
0answers
30 views

How should I rebase my GDP?

I have a constant GDP data from 1988 to 2009 in constant 1985 prices and GDP data from 2009 to 2017 in constant 2000 prices. My question is how should I rebase my GDP? Upon searching the web, i don'...
0
votes
2answers
46 views

What is the tolerable level for multicollinearity? and possible remedial measures for it?

My data has issues of multicollinearity. Upon estimating, I found out that my data have high levels of VIF In however I was confused as to what level of VIF can I possibly ignore the issue of ...
0
votes
0answers
11 views

Transformation of cutpoints in Ordinal Probit/Logit regression

The likelihood for an ordinal probit/logit regression model is given as - $f(y|\beta ,\gamma ,z ) = \prod_{1}^{n} \left [ \Phi (\gamma _{j} - x_{i}'\beta ) - \Phi (\gamma _{j-1} - x_{i}'\beta ) \...
2
votes
2answers
176 views

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

In my study I will look for the relationship between the Gini coefficient and trade, FDI and other variables. However, as I was regressing it... the result turn out to be insignificant. My data that I ...
1
vote
1answer
37 views

How do I fill gaps in my data?

In my study, I have 5 independent variables which contains 21 observation each. However one of my independent variables have 3 gaps. What should I do? e,g I would need to know the effect of ...
3
votes
1answer
42 views

Are unit root tests necessary or useful on small samples of time series data?

I have a 16 year time series (annual frequency with 16 observations). I will conduct an OLS regression. In this setting do I need a unit root test? Do you have additional suggestions for things that ...
1
vote
1answer
34 views

Correct Equation for Pooled OLS Regression (with Time Dummies and Interaction Terms)

I have a question regarding a pooled OLS regression. Basically, I’m not sure I’m writing out the equation properly. The data is on feature films released between 2006 and 2016 (11 years); box office ...
2
votes
1answer
44 views

Should the control variables in an econometric regression be correlated with both the dependent and the primary independent variables?

If, for instance, my dependent variable is some happiness index, and my independent variable is a dummy for whether they experienced some randomly occurred natural disaster. I am trying to analyze the ...
1
vote
0answers
48 views

How do we calculate Beta in a OLS regression of the mean of y on the mean of lag of y?

In a simple OLS regression we calculate the estimator Beta by dividing the covariance of x and y by the variance of x. How do we calculate the estimator Beta if we regress the mean of a variable (at ...
4
votes
1answer
55 views

What R-squared is a low R-squared?

I keep hearing that R-squared does not really matter in economics research and that due to the unpredictable human nature, economics research regressions tend to have low R-squared. But how much is ...
3
votes
2answers
194 views

OLS estimator derivation: second-order condition to prove global minimum?

In deriving our ordinary least squares estimates, we can partially differentiate the sum of squared errors $\sum_{i=1}^{n} {e_i^2} = \sum_{i=1}^{n} {(Y_i- \hat{\alpha}-\hat{\beta}X_i )^2}$ with ...
3
votes
1answer
42 views

Multivariate linear regression: how to test for whether the slopes are the same?

If I regress wages on education and the dummy variable gender using a linear conditional expectation function (wage = a + b(education) + c(gender)), how can I test that the slope b is the same for ...
1
vote
0answers
17 views

Estimation of investment adjustment costs

Hi I am working on a problem set in my macroeconomics course. I have a hard time figuring out how to get started on one of the problems. The set-up is the following. A price-taking firm maximizes: $\...
0
votes
0answers
17 views

How to do elasticity modeling for products where there is slab pricing like electricity?

I have few product categories eg prod1 prod2. Each category have similar products. So prod1 has 3 similar products with slight difference in features and prod2 has 5 products with slight differences. ...