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 at the end of May, 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: Cluster2


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: RE: RE: Cluster2
Date   Thu, 1 Apr 2010 00:25:42 +0200

Well, I right-clicked the link and saved the file to my "personal" folder along Stata's adopath.
Note you can check whether Stata can see the program via -which cluster2-...
HTH
Martin

-original message-
Subject: st: RE: RE: Cluster2
From: "Ma, Yu-Luen" <yma@ilstu.edu>
Date: 01-04-2010 00:18

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

________________________________

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/papers/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/papers/se/se_progra
mming.htm
<http://www.kellogg.northwestern.edu/faculty/petersen/htm/papers/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/


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