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.
How to best illustrate trends/distributions of many data points?Hi everyone, I have a lot of data from an experiment and would like to find the best way to display…
Interpretation of interaction term with ologit regressionHi all, I have a question about the interpretation of my results, regarding a moderator in an ologi…
Coding for three groups - cases, controls , and other diseases - What a dilemma!Hi Statalist, I am new her but I have learned a lot from you so far, so thank you all. I am using …
negative constant value for binary outcomeI am using the xtivreg command for a binary outcome, but the constant that Stata is producing is neg…
Time dummies in xtabond and xtdpdsysHi, I made three year dummies. One is for 2005-2006, second is for 2007-2013 and third is for 2014-…
Subscribe to:
Post Comments (Atom)
0 Response to 2SLS with two-way fixed effect and clustered error.
Post a Comment