Statalist The Stata Listserver


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

Re: st: logistic regression


From   "Neil Shephard" <nshephard@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: logistic regression
Date   Mon, 12 Mar 2007 15:35:06 +0000

On 3/12/07, Neil Shephard <nshephard@gmail.com> wrote:
The logistic cluster option would be appropriate if your cases and
controls have been matched on an additional trait such as age or sex
(in which case you would add -, cluster(age)- to the above command).
More on this is given in the book Clayton & Hills (1993) "Statistical
Models in Epidemiology" OUP (I don't have it to hand, but I think its
chapter 29).
Further reflection on what I wrote earlier (and reading the -man-
pages) indicates that my above suggestion as to the use of the
-cluster()- option is completely wrong.

If you do have matched cases and controls then you would need an
additional column which indicates which group individuals belong to.
Thus in your given data example if person 1 is matched to person 2
then there should be a additional column that indicates this as group
1.  (If person 3 and 4 are matched then they would form group 2 and so
on).

You then specify the variable that indicates which group pairs belong
to in the -cluster()- option.

Apologies for any confusion I've caused,

Neil
--
"Every great advance in natural knowledge has involved the absolute
rejection of authority."  - Thomas H. Huxley

Email - nshephard@gmail.com / neilshep@cyllene.uwa.edu.au
Website - http://slack.ser.man.ac.uk/
Photos - http://www.flickr.com/photos/slackline/
*
*   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