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: Cluster2


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

I have resolved the problem! Thanks everyone!



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Martin Weiss
Sent: Wednesday, March 31, 2010 5:26 PM
To: [email protected]
Subject: RE: st: RE: RE: Cluster2

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" <[email protected]>
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: [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/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: [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/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/

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