Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72764

-xtivreg2 and two-way clustering

$
0
0
Hi,

I am using -xtivreg2 from SSC in Stata/MP 12.1 for Windows (64-bit x86-64).

-xtivreg2 version: 1.0.17 19Feb2015

Code:

xtset id year
xi: xtivreg2 depvar l.depvar x1 x2 i.region i.year , fe robust cluster (id region-year)

I get the error message "cluster(): too many variables specified. r(103);".

1. -xtivreg2 with two way clustering was working perfectly well this morning before I downloaded -ivreg2
2. -xtivreg2 with two way clustering still works perfectly well on my other desktop
3. I have uninstalled and re-installed both -xtivreg2 and -ivreg2
4. I have tried to eliminate the robust option

Would somebody be able to help?

Thank you very much.


Viewing all articles
Browse latest Browse all 72764

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>