Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: specify groups within a group


From   "Lucy Shum" <[email protected]>
To   <[email protected]>
Subject   st: specify groups within a group
Date   Fri, 8 Dec 2006 17:41:00 +1100

Hi all, could anybody advise on how to specify in STATA, analysis of
specific groups within a category? That is, if I have a category called
events_mastitis - there are 7 different groups meaning there are animals
that experienced between 1 - 7 episodes of mastitis within a lactation. Say
if I only want STATA to analyze, tabulate, create graphs of.., say Group 1
and 5 only. How do I go about doing that?

Also, using the example above, how do I go about writing a command so that
STATA compares the survival estimates of these 7 groups? Logrank? Is there a
modified procedure that deals with comparison of greater than 2 groups?
Please advise.

Many thanks!



Lucy Shum




*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index