I am estimating the lifetables for a certain group, e.g. people
diagnosed with cancer type i living in county c in year t ;
This can be done by:
ltable time_in_months, by (i c t)
However Stata tells me:
"by(): too many variables specified"
It only works out when I include just one variable in the brackets of
the by command.
Does anyone know a solution for this problem?
Thanks a lot!!
Johannes
Thanks Paul.
I will calculate the life tables for a certain group with ltable;
However, how can I tell Stata to calculate life tables for a certain
group? In my example it would be the survival function for people
diagnosed with cancer type i living in county c. Is there any by command
or similar in Stata?
Thanks a lot!
Best,
Johannes
E. Paul Wileyto schrieb:
There is not complete overlap, but look up help for survival analysis on
st
sts test
stcox
streg
and for generalized linear models and GEE in
xt
xtgee
glm
There are many commands in many flavors in xt.
P
Johannes Schoder wrote:
Dear all,
Does anyone know the equivalent command of SAS of PROCLIFEREG, PROC
LIFETEST, and PROC GENMOD for STATA?
Thanks a lot!!
Johannes
*
* 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/