Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: cluster with multiple groups


From   "Schaffer, Mark E" <M.E.Schaffer@hw.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: cluster with multiple groups
Date   Sat, 6 Mar 2010 20:57:16 -0000

Fabio,

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu 
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Fabio Zona
> Sent: 06 March 2010 20:53
> To: statalist@hsphsun2.harvard.edu
> Subject: st: cluster with multiple groups
> 
> Dear statalist
> when I use the cluster option, can I cluster around more than 
> one variable? For instance:
> 
> 
> command y x z ..., cluster(var1 var2 var3)

ivreg2, available from ssc in the usual way, supports 2-way clustering.

Cheers,
Mark

> 
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 


-- 
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index