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]

RE: st: RE: RE: RE: RE: Cluster2


From   "Ma, Yu-Luen" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: RE: RE: RE: Cluster2
Date   Thu, 1 Apr 2010 15:37:37 -0500

Thanks, Joao. It worked!

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Joao Ricardo F. Lima
Sent: Thursday, April 01, 2010 3:31 PM
To: [email protected]
Subject: Re: st: RE: RE: RE: RE: Cluster2

Yuluen,

type - update all- and after -update swap- to update your Stata to 10.1.

Then,

. version
version 10.1


To see if its all right

HTH,

Joao Lima


2010/4/1 Ma, Yu-Luen <[email protected]>:
> Thanks, Mark. I copied the cluster2.ado but had some issue implementing it. While I had version 10, I have updated it all. But when I use ivreg2, I still receive the following message:
>
> this is version 10.0 of Stata; it cannot run version 10.1 programs
>     A free update to version 10.1 is available; type update and follow the instructions, or visit http://www.stata.com/support/updates.  If you are not connected to the
>     Internet, you can contact StataCorp to obtain the latest version.
> (error occurred while loading ivreg2.ado)
> r(9);
>
> Yuluen
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Schaffer, Mark E
> Sent: Wednesday, March 31, 2010 5:22 PM
> To: [email protected]
> Subject: st: RE: RE: RE: Cluster2
>
> 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/
>
> *
> *   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/
>



-- 
----------------------------------------
Joao Ricardo Lima, D.Sc.
Professor
UFPB-CCA-DCFS
Fone: +5538387264913
Skype: joao_ricardo_lima
----------------------------------------

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index