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]

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


From   "Joao Ricardo F. Lima" <jricardofl@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: RE: RE: RE: Cluster2
Date   Thu, 1 Apr 2010 17:31:24 -0300

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 <yma@ilstu.edu>:
> 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: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Schaffer, Mark E
> Sent: Wednesday, March 31, 2010 5:22 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: RE: RE: RE: Cluster2
>
> Yuluen,
>
>> -----Original Message-----
>> From: owner-statalist@hsphsun2.harvard.edu
>> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Ma, Yu-Luen
>> Sent: 31 March 2010 23:13
>> To: statalist@hsphsun2.harvard.edu
>> 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: owner-statalist@hsphsun2.harvard.edu on behalf of Martin Weiss
>> Sent: Wed 3/31/2010 4:41 PM
>> To: statalist@hsphsun2.harvard.edu
>> 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: owner-statalist@hsphsun2.harvard.edu
>> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Ma, Yu-Luen
>> Sent: Mittwoch, 31. März 2010 22:50
>> To: statalist@hsphsun2.harvard.edu
>> 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/


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