Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: RE: RE: RE: Cluster2


From   "Schaffer, Mark E" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: RE: Cluster2
Date   Wed, 31 Mar 2010 23:22:05 +0100

Yuluen,

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Ma, Yu-Luen
> Sent: 31 March 2010 23:13
> To: [email protected]
> Subject: st: RE: RE: Cluster2
> 
> It looks like I did not download the file correctly.... Could 
> you tell me exactly how you "downloaded" the file and where 
> you saved it? Thanks.
>  
> Yuluen

It might be easier if you use -ivreg2-.  The latest version does 2-way clustering, for OLS as well as IV/GMM.

Cheers,
Mark

> ________________________________
> 
> From: [email protected] on behalf of Martin Weiss
> Sent: Wed 3/31/2010 4:41 PM
> To: [email protected]
> Subject: st: RE: Cluster2
> 
> 
> 
> 
> <>
> 
> So the link for others to download the user-written 
> cluster2.ado would be 
> http://www.kellogg.northwestern.edu/faculty/petersen/htm/paper
> s/se/cluster2.
> ado. I can run made up examples without problems, such as the 
> admittedly nonsensical
> 
> 
> ***
> sysuse auto, clear
> cluster2 trunk  weight  length , fcluster(rep78) tcluster(foreign )
> ***
> 
> So the problem is probably on your end. -set trace on- and 
> see where Stata gets stuck.
> 
> 
> 
> 
> HTH
> Martin
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Ma, Yu-Luen
> Sent: Mittwoch, 31. März 2010 22:50
> To: [email protected]
> Subject: st: Cluster2
> 
> I am trying to apply the cluster as in Mitchell A. Petersen's 
> homepage 
> http://www.kellogg.northwestern.edu/faculty/petersen/htm/paper
> s/se/se_progra
> mming.htm
> <http://www.kellogg.northwestern.edu/faculty/petersen/htm/pape
> rs/se/se_progr
> amming.htm>   But received the error saying:
> 
> unrecognized command:  From
> (error occurred while loading cluster2.ado)
> 
> What I did was saving the cluster2.ado file in my folder 
> where other .ado files are stored, restarting Stata and then 
> running the program. It seems that Stata was able to find the 
> cluster2.ado file, but had difficulty implementing the 
> program. Does anyone have any suggestions? Thank you!
> 
> Yuluen
> 
> *
> *   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/
> 
> 
> *
> *   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/
> 
> 
> 
> *
> *   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index