Hi, I am a Stata beginner.
I want to use xtivreg2 to do a 2SLS estimation with two way fixed effect and clustering error. My data is already in the panel setting.
Endogenous variable: chinapeindDE
Instrument: chinainapeindUK
#xtivreg2 cta lntotal_assets lntotal_assetsquar cfta LnNoE salegrowth leverage PriGdp markcapGdp Growth i.year (chinapeindDE=chinapeindUK),fe vce(cluster nace)#
Then the output is factor-variable operators not allowed
I wonder are there any other command that allows me to do the estimation with two way fixed effect and cluster error at "nace "level?
Related Posts with 2SLS with two-way fixed effect and clustered error.
Analyzing the dataHi. I have a dataset with neary one million individuals and their hospitalizations (> 1 hospitali…
What is the relationship between sample size and Type I error?Dear clever statistics people, I am writing a paper using a RD-design on three different data sets.…
Decission between fixed and random effectsHello, i should perform panelregressions with industry and year fixed effetcs. The F test shows i s…
Control and Instrument VariablesHello, If have got an ecometric question regarding the 2sls approach. Is it appropriate to use a v…
Graph with several years.Hi, I am trying to illustrate some data in which I want to show the number of deaths per month acros…
Subscribe to:
Post Comments (Atom)
0 Response to 2SLS with two-way fixed effect and clustered error.
Post a Comment