Thanks, sts generate does sometimes help but...
Often I want survival at specified time points if no record in my
dataset are at these exact time points then if I used sts generate I
would then have to make a program that 1) keeps only the time points I
want, 2) searches for the closest time point if one doesn't exist that
I want and takes that, or do some sort of calculation between the
closest points higher and lower, which all becomes a bit complicated
>>> "Svend Juul" <[email protected]> 05/06/2007 14:04 >>>
Milly wrote:
It would save me hours of time if I could run sts list and output the
results to a new dataset as strate does.
Looking at the sts ado file I see that Stata just displays local
macros
as it goes along. Would it be possible to add postfile into the ado
file at appropriate points to allow the creation of a new dataset
containing the sts list results?
----------------------------------------------------
I think that -sts generate- does much of what you want.
Hope this helps
Svend
________________________________________________________
Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000 Aarhus C, Denmark
Phone, work: +45 8942 6090
Phone, home: +45 8693 7796
Fax: +45 8613 1580
E-mail: [email protected]
_________________________________________________________
*
* 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/