I have a dataset like the following
Id week class treatment
1 0 2 a
1 8 3 a
1 12 3 a
2 0 3 b
2 8 3 b
2 12 4 b
3 0 3 a
3 8 3 a
3 12 2 a
I would like to cross tabulate treatment against class at week 12, ~but~
only for those patients in class 3 at week 0. I am not sure how to achieve
the last criteria.
Any suggestions gratefully received.
Richard Pitman
*
* 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/