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

st: Generating a nested case-control study


From   "Cornelia Zekveld" <czekveld@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Generating a nested case-control study
Date   Wed, 09 Feb 2005 13:41:49 +0000

Dear statalisters,


I have an occupational cohort (n=866, cases=222) and would like to generate cases and controls from the data. I'd like to have as many controls as possible, with the two requirements:

1) The control must have been employed when the employee became a case (risk set sampling)
2) The control must have started employement around the same time as the case (up to 6 months before but not after).

It is also OK to use, as a control, someone who becomes a case at a later time.


I have come across the command -sttocc- but it only takes care of the first requirement. I do not know how to incorporate the second constraint into the command.

Are there other stata commands that I'm not aware of that will be of help here?

Also, I want to know whether -sttocc- samples the controls with replacement?
It seems to be the case sine I have set the option number(#) to 30, just to see what happens and it was possible to generate 30 controls for each case - which seems odd given the cohort sample size.

Is it possible that a subject can be a control for more than one case? Is there anything wrong with this?

Any help will be greatly appreciated!!

Thank you,
Cornelia

_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now! http://toolbar.msn.co.uk/

*
* 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