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
votes
0answers
18 views

Regression equation

The question is half solved actually but I don't know what will be the values of the last two questions given that yhat = 0.02316x + 6.32605. David's Landscaping has collected data on home values (in ...
-2
votes
0answers
30 views

Regression equation using least square method [closed]

I have solved the regression equation part ,from that I need to solve the other two one. Is there anyone who can help me with that. It would highly appreciable. c) Use the least squares method to ...
0
votes
2answers
35 views

intuitively explain the equation of $Var(b_1)$ in OLS model

Above is the capture from the Econometrics slide from "Hill,Griths and Lim (2018) Principles of Econometrics". I have no problem the see the blue font sentence separately, it's all about the ...
3
votes
0answers
25 views

GMM Estimation with HAC Weight Matrix in R

I am currently working on my econometrics assignment regarding a seminal paper of John Taylor (1993) and really got stuck during the last days with one specific question. I am supposed to set up a GMM ...
2
votes
1answer
38 views

Regarding the starting point and assumptions of linear regression model

Here is my understanding of the linear regression model with single regressor: We suppose that the population regression function takes the form of $Y_i=\beta_0+\beta_1X_i+u_i$. Furthermore, for the ...
0
votes
0answers
10 views

How to test parameter restriction in seemingly unrelated regression using STATA?

Given constrain 1: [w1]ln_p2 = [w2]ln_p1 I estimate an Ideal Demand System using surge command in STATA w1 = a1 + g11 (ln_p1) + g12 (ln_p2) + b1(real_income) w2 = a2 + g21 (ln_p1) + g22 (ln_p2) + b2(...
3
votes
1answer
32 views

What is being meant by "cohort-specific fixed effect for each state of birth" in Card&Krueger(1992)? What does the following equation mean?

I am referring to this paper on school quality and returns to schooling. The econometric specification has been described by eqn (1) on page 4. The authors have taken "cohort specific fixed ...
3
votes
1answer
25 views

Need Clarification of Terms: Innovation v.s. Disturbance

I have been reading some econometrics paper and came across terms "innovation" and "disturbance" of regression models. Can someone please explain to me what they are? I have ...
5
votes
1answer
73 views

Nonlinear Least-Squares Estimation in Practice

I am reading Jeong, Kim, Manovskii 2015 and in the paper they apply "a nonlinear least-squares method" to estimate a log-wage equation, , where $D, \Pi$, all $\lambda$s $\theta$s, and $\...
0
votes
1answer
35 views

How to estimate a system of equations with missing values in dependent variable with sureg?

I am trying to estimate vote shares of different parties. So, suppose I have 4 parties, each having its own column in the data set. Hence, the sum would be tending to 1. Now, if a party does not ...
3
votes
1answer
34 views

How to recognize correlation in spurious regression case

Assume we are given two independent random walks $$ Y_t = Y_{t-1} + \varepsilon_{1, t}, \quad \varepsilon_{1, t} \sim \mathcal{N}(0, 1) \\ X_t = X_{t-1} + \varepsilon_{2, t}, \quad \varepsilon_{2, t} \...
1
vote
0answers
45 views

How to estimate an SUR model in R with fixed effects and clustered standard errors?

I want to estimate an SUR (Seemingly Unrelated Regressions) model. I tried using systemfit and its wrapper Zelig. But I am not ...
2
votes
3answers
838 views

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

In my replication study, I examine whether a law (a law implemented staggered by different countries) has an impact on firms' cash equivalents. The result turning out for the whole sample is that the ...
2
votes
2answers
32 views

Intercept in 2nd-stage Error Correction Model (ECM) regression — yes or no?

When doing a two-step ECM regression, do we add an intercept in the 2nd stage regression? I've seen course notes that add an intercept in the ECM, but some do not, so I'm confused if I should include ...
2
votes
0answers
44 views

Event study by Kleven

I was reading the following paper by Henrik Kleven et al. https://www.henrikkleven.com/uploads/3/7/3/1/37310663/kleven-landais-sogaard_nber-w24219_jan2018.pdf The estimate the child penalty on wage ...
0
votes
0answers
6 views

How to interpret fixed effects from a binary logit model in which all dependent variables are categorical? Marginal effects does not work

The study is on survey data from UK households with a lot of missing variables. I ran a logit regression to predict the probability of Y (binary variable)and estimated the corresponding marginal ...
3
votes
1answer
75 views

Interpretation of coefficients in a regression with a lagged dependent variable

I have estimated the following dynamic panel data model using GMM:           $\ln Y_{it}=\beta_0+\beta_1\ln Y_{it-1}+\beta_2\ln X_{it-1}+\epsilon_{it} $ where $Y$ is employment and $X$ is productivity....
3
votes
1answer
40 views

Suggested model for dependent variable of different groups

I want to test the impact of X on Y. The dependent variable Y is being employed. Now, I want to see if the impact of X is different for those employed in agriculture (A) and non-agriculture (N) ...
1
vote
1answer
101 views

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

Normally, we control for firm and year fixed effects, but in some case I saw people control for the firm along with yearxindustry or firm and yearxregion fixed effects. Could you please hint me why ...
1
vote
1answer
48 views

Is exogeneity guaranteed for a lottery-generated instrumental variable?

If using $z$ as an instrument for $x$, to study the effect $x$ has on $y$ and given that $z$ was indeed generated through a lottery, is it definite that exogeneity of $z$ will hold? I have looked at ...
3
votes
0answers
51 views

Predicting covariates into "observed" and "unobserved" part

I recently saw a paper where they run a regression of the covariate of interest $X_{1}$ on the outcome $Y\in\{0,1\}$ without further controls $$ Y = \alpha_{1} + \beta_{1} X_{1} + \epsilon_{1} \tag{1}...
4
votes
0answers
60 views

Joint significance test in a difference-in-differences setting

I ran the following difference-in-differences regression in software and have some questions about the interpretation of the resulting coefficients and their (joint) significance: $$ P_{it} = \gamma_i ...
0
votes
2answers
72 views

How should I regress income inequality on economic growth?

I would like to know which variables to use to regress income inequality on economic growth. For income inequality, I am thinking of using the Gini index, but don't know what measurement exactly. For ...
3
votes
0answers
63 views

Question about using elasticities to compare difference rates but with different normalization

Lets say I am estimating a regression of a death rate per 100k people on an economic shock, so: $y = \beta_o + \beta_1 * X+ error$ where the dependent variable is the death rate, and x is the measure ...
3
votes
1answer
58 views

How to interpret fixed effects?

I want to interpret the output of a fixed effects regression and need help with interpreting the country-fixed effects. The regression is the following: ...
2
votes
2answers
65 views

How to explain negative correlation between quantity sold and expenditure on advertisement?

I have received the following dataset from our economics Professor. It has 15 observations and 4 variables - 'qsold' (quantity sold of product X), psn (price of X), ...
1
vote
1answer
121 views

Does random sampling cause zero conditional mean?

In the lecture notes of my development economics class, it says that " In the regression model : Yi = β0 + β1Xi + ui, if Xi is randomly assigned, then Xi is independent of ui, i.e., E(ui|Xi) = 0, ...
1
vote
1answer
73 views

Why is it assumed that covariance equal to $0$ or independence between $y$'s in the simple linear regression model?

I have started a book of econometrics and in the first pages are stated the assumption used in the linear regression model, which are : The third one is the one I don't understand, why it has to be ...
2
votes
1answer
33 views

Regressing (Very) Smooth Time Series

What are the possible problems/issues of regressing smooth time series with almost no fluctuation? Here is a specific example. Is there anything I have to pay attention to when interpreting ...
4
votes
1answer
159 views

Is this an an endogeneity/simultaneity problem?

I would like to know if the logic in these two situations is correct. Situation 1: Let's say we have a continuous dependent variable, $y_1$, that then has a causal impact on an unobserved variable, $\...
1
vote
0answers
25 views

Is this an endogeneity problem?

Let's say we want to determine the impact of $y_2$ on $y_1$, which are related as follows: $$y_1 = f(y_2, x_1,e)$$ where $$e = g(y_3,x_2, u_1), \space y_2 = h(y_4,x_3, u_2), \space y_3 = m(y_4, x_4,...
0
votes
0answers
16 views

Verification of logic behind instrumental variable approach

I would like to know whether the following reasoning regarding the instrumental variable approach is acceptable. I understand there are case-by-case factors that affect the applicability of ...
0
votes
1answer
22 views

What's the minimum number of datapoints in order to run a diff-in-diff?

I was thinking about running a diff-in-diff with fixed effect in order to deal with a panel data experiment. The problem is that I don't know how many datapoints I need in order to the experiment be ...
4
votes
1answer
60 views

Choice between dummy variables and Likert scale in Linear Regression

I want to run a linear regression based on the data gathered using a questionnaire. Several of the questions have the following form: How much do you spend on xyz in a month? a. Less than \$50 b. \$50 ...
1
vote
1answer
42 views

Making sure the p-values of my OLS estimates are correct

I have learned the basics of the Classical Linear Regression Model and also various diagnostic tests to check if the assumptions of the CLRM are met, such as homoskedadticity, absence of near perfect ...
4
votes
2answers
91 views

Why don't economists do regression diagnostics?

There is a lot of talk about regression diagnostics in tutorials on the web, but then in economics research papers nobody actually reports residual plots, collinearity checks etc. Is there any reason ...
3
votes
0answers
117 views

Arellano and Bond (1991) GMM estimation in R by using plm package

I am a last-year student at university, currently working on my Bachelor's (so still learning R), and I really hope that you would suggest a potential solution (even if to use Python). So, the main ...
1
vote
0answers
9 views

Questions regarding ordered probit model

I am currently working on a hypothetical research proposal for a course at my university. I am using data from three Afrobarometer surveys conducted in 34 African countries in the years 2011-2013, ...
0
votes
0answers
42 views

How do I work with the growth accounting framework in a regression?

I am currently writing my master's thesis with the topic "The impact of digitalization on economic growth in China and Germany". My idea is to take a technology such as Industry 4.0, IoT or ...
0
votes
0answers
10 views

Diff-in-Diff framework where treatment time is not fixed and multiple treatment group with sub level of treatment

The study is analyze a data for 30 yrs time period with two treatment group denoted T_1 & T_2 and a control group. Treatment ...
0
votes
0answers
29 views

How to calculate semi elasticity in fixed effect model with interaction

Given the model specification $$Y_{it} = \beta_1 X_{it} + \beta_2 D*X_{it} + FE_{i} + e_{it}$$ The above model specification is a Fixed effect model with interaction term ($X_{it}$ interacting with D- ...
0
votes
0answers
14 views

Regression based on the Solow Model

If we have the following regression based on the Solow model: log(yi) = β0 + β1 * log(si) + β2 * log(ni + gi + δi ) + ei And we know that based on: y* = 〖(s/(n + δ + g))〗^(α/(1-α)) log(y*) = α/(1-α) * ...
0
votes
1answer
24 views

The instrument in "The Colonial Origins of Comparative Development"

I am hoping to understand when an instrument is appropriate. For the purposes of this question, I'm considering a simplied version of the model in AJR (2000): $$\begin{aligned}\text{GDP} &\sim \...
0
votes
1answer
30 views

Which values to assign to a quantified dummy variable

I am working on a data set from kaggle (https://www.kaggle.com/spscientist/students-performance-in-exams) about how student performance relates to some explanatory variables, such as if the school ...
1
vote
2answers
88 views

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

Since I do not have an answer on Quantitative Finance in my question I cross-post here the problem to tag some other categories The following assumptions are part of the paper of Back, Chao and ...
0
votes
1answer
24 views

Log-Linear Model

I know that the log-linear model shows the percent change in y if there is a one-unit change in x but how would you solve for it the other way to show a percent change in x if there is a one-unit ...
0
votes
1answer
314 views

R's felm() fixed effects vs. factor() within lm()

I am wondering why using felm's fixed effect option versus using the factor() function is different? I was under the impression they were one in the same? I am running a panel regression where i is ...
3
votes
1answer
45 views

Difference in interpretation of log-lin coefficients with binary variable

Consider the model: $$y_i=\beta_0+\beta_1D_1+\beta_2D_2+u_i$$ Where $D_1=\{0,1\}$ and $D_2=\{0,1\}$ are binary (dummy) variables, and $y_i$ is a continuos variable in levels. In this model, for ...
0
votes
0answers
34 views

graph of dependent variable after years of restructuring in panel data

i'm not very able to use stata. For my thesis, I have a panel data(1970-2017) for different countries and a lot of variables. In this dataset, there is a dummy (dhairendH) that is equal to one in the ...
0
votes
1answer
116 views

Age effect when controling for individual fixed effects and time fixed effects

I have a individual-by-year panel. Although age is varying within an individual, its variation is fully absorbed when I include individual fixed effects and time fixed effects. This is because each ...

1
2 3 4 5