Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: stegen command and the package installation


From   "Parimon, Tanyalak" <tparimon@fhcrc.org>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: RE: stegen command and the package installation
Date   Wed, 9 Jun 2004 10:32:18 -0700

Hi Nick & Tom

I have installed the package of J. Weesie. Stata still rejected my command
as the below message;

Data are st/Stata 6 and not st/Stata 5.
You are running the old Stata 5 version of st.
We provide it so that researchers may reproduce old analyses.
If you do not mean to be running the old system, type

       . version 6

if you do mean to be running the old system, type

       . version 5
       stset ...                       fill in the dots with old syntax)

When you are done, type

       . version 6

****My understanding is that I have to go back to use the st-command of
version 5, as Tom has recommended. I would get another problem? How to do
so?

The technical support person suggested me using -stsplit- command, but it
did not work for me given a huge database.

-----Original Message-----
From: Nick Cox [mailto:n.j.cox@durham.ac.uk]
Sent: Wednesday, June 09, 2004 9:53 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: RE: stegen command and the package installation


Let's back track. -stegen- is a user-written 
command. You installed -stegen- from the StataCorp 
website files for Stata Technical Bulletin 35, 
published in January 1998. In Stata terms, that
is a long time ago. That version of -stegen- was 
written for Stata version 5. What's important here is 
that in Stata 6 the survival analysis commands
were changed substantially. 

. findit stegen 

shows that Jeroen Weesie, the author, has a more 
up-to-date version of -stegen- written for Stata version 
6, which is on his own website. That, possibly, may work 
with survival features in version 8. If not, then you will need to come 
back to the list and say precisely what you want to do. 

More generally, the fact that you are using version 8 
doesn't mean that you can use all previous user-written 
programs. You can use most, but not all. A few are 
broken by changes in Stata since they were written 
or for other reasons. 

Nick 
n.j.cox@durham.ac.uk 

Parimon, Tanyalak

> I have a quick question about "stegen" command. I have 
> learned that I have
> download the analysis package from the web-site, therefore, I did by
> installing from ssa111. But stata did not take my command. It 
> kept on saying
> that "Data are st/Stata 6 and not st/Stata 5.You are running 
> the old Stata 5
> version of st." I do not understand what that meant since I 
> have been using
> stata version 8 all along.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index