Statalist The Stata Listserver

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

Re: st: logistic regression

From   "meena khan" <>
Subject   Re: st: logistic regression
Date   Mon, 12 Mar 2007 16:11:07 +0000

Thanks for the help


From: "Neil Shephard" <>
Subject: Re: st: logistic regression
Date: Mon, 12 Mar 2007 15:35:06 +0000

On 3/12/07, Neil Shephard <> 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

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

Apologies for any confusion I've caused,

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

Email - /
Website -
Photos -
*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index