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.
Counting frequency of specific and missing stringsI have a series of variables with dates in string format, including a mis of M/DD/YY, MM-DD-YY, MM/D…
Interpreting ivreg2 resultsDear Statlisters, Someone recommended me to run an ivreg2 on stata. However, I am quite new to the …
F statistic (& testparm) after a clustered FEHello Question 1: If I am running this model: xtreg dv iv1 iv2 iv3 i.year cluster(country), fe a…
ologit and factor notation - problem with interpretationI have a questionnaire where the dependent variable has 10 ordered responses and there are various i…
invalid 'Mylastname' while executing foreachDear Statalist, I am working with an around 30 years' data from an annual survey. Each year-wave is…
Subscribe to:
Post Comments (Atom)
0 Response to 2SLS with two-way fixed effect and clustered error.
Post a Comment