Skip to main content

Questions tagged [two-stage-least-squares]

Two-stage least squares (2SLS) is a structural equation modeling technique that is used when the IV is correlated with the DV's errors.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

I'm trying to model the causal impact of our marketing efforts on our ads business, and I'm considering an Instrumental Variable (IV) framework. I'd appreciate a sanity check on my approach and any ...
ibarbo's user avatar
  • 65
0 votes
0 answers
79 views

I wish to perform an IV regression where the first stage is estimated without fixed effects, but the second stage is estimated with fixed effects. Is this possible? Are there any obvious issues with ...
Anonymous's user avatar
1 vote
1 answer
91 views

I am trying to examine the effect of a 2018 flood shock on labor force participation of male and female. However, the flood could not only be attributed to heavy rainfall but to other factors like ...
jheelum sarkar's user avatar
1 vote
0 answers
56 views

To meta analyze estimates of some parameter $\theta$, we assume we have estimates $\hat{\theta_i} = \theta_i + \epsilon_i$, where $\theta_i \sim G(\theta)$ and $\epsilon_i \sim N(0, \sigma_i^2)$. If ...
karthikt's user avatar
7 votes
3 answers
299 views

An instrumental variable Z is a legitimate instrument for T (the treatment) if the following hold: Z has a causal effect on Y that is fully mediated by T (i.e. no direct effect from Z to Y, and the ...
aranglol's user avatar
  • 873
0 votes
0 answers
355 views

I suspect reverse causality between Y and X1, therefore I'm applying an instrumental variable approach to panel data. My main regression consists of country- and year-fixed effects. Do I have to also ...
TFT's user avatar
  • 345
4 votes
1 answer
546 views

I have a question related to measurement error bias and the use of instrumental variables. Assume I have a continuous outcome variable $Y$ which is observed with no error and an endogenous (continuous)...
Panagiotis's user avatar
1 vote
3 answers
1k views

My IV's 1st stage F-stat is 4.7 (considered weak by the rule of thumb). The 2nd-stage regression coefficient is significant. I wonder what is the best way to interpret such observations.
yliu95's user avatar
  • 371
2 votes
0 answers
74 views

I thought I would quickly find the answer to this, and maybe my capabilities of using the sites search function are very poor, but I didn't find an answer to the definition of what a 2-stage estimator ...
Lynchian's user avatar
  • 302
1 vote
1 answer
308 views

I get the above warning when running a 2SLS regression in Stata with robust standard errors. Specifically, I get this for the first stage, where in addition the first stage has no F-statistic, p-value,...
john_hawthorne's user avatar
3 votes
1 answer
98 views

I am analyzing pooled cross-sectional data with the instrumental variable being educational policy, the independent variable as high school graduation, and the dependent variable as subjective class ...
Nobody Nobody's user avatar
2 votes
1 answer
143 views

I am working on a referee report for a field experiment focused on the employment process. The experiment investigates if including a video in job applications can reduce employment disadvantages for ...
john_hawthorne's user avatar
1 vote
0 answers
60 views

I am running 2sls. Dependent variable - y Independent variable - x Instrumental variables - z1, z2, z3, z4 Interaction terms - xz1, xz2, xz3, xz4 Control variables Thus, the first stage of 2sls: x ...
Mark's user avatar
  • 11
1 vote
0 answers
37 views

I have a question in terms of evaluating the effect of a dummy $D$ to endogenous variable $X$ in two-stage least squares (2SLS) regression. Suppose I have dependent variable $Y$, endogenous variable $...
dkyyyyy's user avatar
  • 11
1 vote
0 answers
63 views

I've been exploring the 2SLS (Two-Stage Least Squares) estimation method to analyze a model involving endogeneity and instrumental variables. To better understand the process, I performed manual ...
lasagna's user avatar
  • 31
0 votes
0 answers
72 views

I have a hard time wrapping my head around this. I know that in case of measurement errors, the OLS estimate is biased downwards zero. Omitted variables can bias the explanatory variable of interest ...
user avatar
0 votes
1 answer
90 views

I need feedback to check whether rainfall is an appropriate instrumental variable. Before you boo me out, hear what I have to say. There are two countries: A and B. A and B are 2000 miles apart. My ...
YouLocalRUser's user avatar
1 vote
1 answer
646 views

I would like clarification on the correct way to set up the first-stage regression(s) for a hypothetical 2SLS regression. Say we have the following formula: \begin{align} y = x_1 + x_2 + x_1 \...
Pancho_Squancho's user avatar
0 votes
1 answer
138 views

Long story short, I'm seeing in the literature that linear instrumental variables models are identifiable, even in the presence of unobserved confounders. The unobserved confounding aspect befuddles ...
mortonjt's user avatar
  • 367
3 votes
0 answers
683 views

Instrumental variable regression is estimated with ivreg in R. ivreg provides diagnostics with the ...
Marco's user avatar
  • 336
4 votes
1 answer
226 views

I have two equations of the form: $y = X\beta + Z\gamma + r\alpha +\epsilon_1$ (1) $r = Z\delta +\epsilon_2$ (2) The basic intuition here is $y$ is total cost data, $X$ is a matrix of variables ...
mirrror's user avatar
  • 43
0 votes
0 answers
433 views

I have a question regarding 2SLS and interaction-terms between the predicted endogenous variable and a set of exogenous variables (second stage). I want to calculate the effect of an endogenous ...
user21541837's user avatar
1 vote
1 answer
188 views

I am doing a 2SLS-model in R with panel data (n=800), where I want to include an interaction-term as Instrumental-Variable in the first-stage model. My first question is: Does that even make sense? ...
user21541837's user avatar
0 votes
0 answers
93 views

I am estimating a 2SLS using a time series simultaneous equation ECM. The purpose is to estimate the price elasticity of electricity demand. Assume that both price and demand are I(1) variables, ...
KjetilH's user avatar
  • 33
2 votes
1 answer
639 views

I used the "systemfit" function in R to estimate a 2SLS model as it allows to specify the first and second stage separately which is important for my estimation. I need robust standard ...
JJ1214's user avatar
  • 21
1 vote
1 answer
255 views

I am new here. I have a question regarding the anlaytical weights used in ivreghdfe or reghdfe regressions. People usually take aweights in STATA, my question is how we deal with the weight if the ...
anniejerry's user avatar
1 vote
1 answer
129 views

What's the difference? Exogenous vs. Endogenous identifiers.
Dr. T's user avatar
  • 23
2 votes
0 answers
57 views

I use Stata. I build on Standard errors of a two stage least squares regression, Stata to compute manually the standard errors for my model: I cannot use standard packages (ivreg2 etc.) as the second ...
axel365's user avatar
  • 21
1 vote
0 answers
133 views

I am trying to understand the impact in the IV estimate when zero coefficient is obtained in the first stage.
Chris's user avatar
  • 11
1 vote
0 answers
459 views

I have an endogenous categorical variable (exlanatory variable) measured on a Likert scale (from 1-4) and I would like to instrument it via 2sls. I am wondering if this is a theoretically correct ...
DGD_987's user avatar
  • 15
1 vote
1 answer
229 views

I have an instrument, that I want to use with IV 2SLS, to predict my endogenous variable. The scatter plot of my instrument against my endogenous variable looks like this. Using Stata's binscatter, I ...
Xavi's user avatar
  • 31
1 vote
0 answers
361 views

i conducted a two stage least square regression. The coefficients of my first stage are statistically significant, but my second stage is not. How can i interpretate this? My F-Statistic of the second ...
Lola's user avatar
  • 11
6 votes
1 answer
1k views

My question was sparked by the discussion Why is the functional form of the 1st stage in 2SLS not important? I understand that in the first-stage we aim to predict our endogenous variable ($\hat{x}$), ...
An economist's user avatar
1 vote
1 answer
654 views

I'm a little confused as to why we need to go through an entire two-stage regression process to capture the effect of our instrumental variable on our independent variable, and then only use this ...
fruitless fruit juice's user avatar
3 votes
0 answers
111 views

In his book, Statistical Rethinking (2nd edition, p. 137), Richard McElreath states that including parameters with unobserved values, such as residuals, and treating them as if they were perfectly ...
Erik Eliassen's user avatar
2 votes
0 answers
47 views

I am running an analysis of impacts of immigration on natives' votes to anti-immigration parties, across municipalities. The concern in this type of analysis is that location decisions of immigrants ...
Xavi's user avatar
  • 31
2 votes
0 answers
62 views

Recently, I have been reading the paper "Refinancing risk and cash holdings" by Jarrad Harford. This is a simple example of his model: $$y_1 = a_0 + a_1 y_2 + a_2 Z_1 + v$$ $$y_2 = b_0 + b_1 ...
user avatar
2 votes
0 answers
327 views

I have encountered a situation wherein I am trying to ascertain the causal effect of X on Y through an IV approach in a cross-country panel study, but the exclusion restriction is not entirely valid. ...
Yoda's user avatar
  • 31
3 votes
1 answer
155 views

I'm interested in estimating the effects of $X_1$ and $X_2$ on $Y$ in the directed acyclic graph below. $U_1$ and $U_2$ are unobserved confounders. Based on Definition 7.4.1 on p. 248 of Causality ...
bilgelm's user avatar
  • 31
2 votes
1 answer
160 views

Model Let's say that I have a regression as follows: $$ Income_{ti} = B_0 + B_1Education_{ti} + B_2ControlA_{ti} + B_3ControlB_{ti} + u $$ Education is endogenous, and is in turn determined by: $$ ...
Tom's user avatar
  • 538
0 votes
0 answers
1k views

I am estimating a model with two survey questions, which I expect to be endogenous by 2SLS: $$ Outcome_i = B_0 + B_1SurveyQuestionA_i + B_2SurveyQuestionB_i + B_3Control + u$$ I have an instrumental ...
Tom's user avatar
  • 538
3 votes
2 answers
676 views

Focusing solely on the case with a binary endogenous explanatory variable $D$ and binary instrument $Z$ and control variables $X$, Angrist & Pischke 2009 ("Mostly Harmless Econometrics") ...
jrm's user avatar
  • 31
1 vote
0 answers
131 views

I'm looking to use a number of information criteria (BIC, AIC, etc.) for Two Stage Least Squares. Of course all information criteria need a log likelihood - and I'm also aware that for a Log-...
Moritz Schwarz's user avatar
1 vote
0 answers
123 views

I am trying to estimate 2SLS using some simulated data, just to understand the theory behind it. First, I did it with just one endogenous variable ($X$) and one instrument ($Z$). Supposing the classic ...
Oalvinegro's user avatar
1 vote
0 answers
837 views

I am mostly an R user. But since I have not found a way yet to reproduce generalised residuals in R (link), I am using Stata for ...
Tom's user avatar
  • 538
4 votes
0 answers
989 views

I am trying to write R code for the generalised residuals as described in Vella (1993) and also mentioned by Wooldridge (2014). Wooldridge suggests to use these ...
Tom's user avatar
  • 538
1 vote
0 answers
1k views

I am trying to use a Control Function (CF) / Two Stage Residual Inclusion (2SRI) approach, because the modeled relationship that I am trying to estimate is non-linear (my dependent variable has a ...
Tom's user avatar
  • 538
1 vote
1 answer
636 views

For example, when I include $A_i$ as my first instrument variable, I got the causal parameter estimate $=0.0592$ and if I included one more IV, $B_i$, my causal parameter estimate changes to $0.0505$. ...
Edi's user avatar
  • 175
2 votes
0 answers
447 views

I was wondering if the lagged dependent variable can be a valid instrument or not. In my data, policy intervention (x) is made depending on the outcome (y) in the past. (not depending on the effect (b)...
Yendao Su's user avatar
0 votes
0 answers
58 views

Given the following model, $$y_i = a + bx_i +e_i$$ It's known that $Cov(e, x ) \neq 0$, so we are going to use 2SLS method. We have three variables $v_1, v_2, v_3$. What is the formula for the slope $\...
ElonMuskofBadIdeas's user avatar