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

st: Clustering vs. Indicator variables in a Logit

From   [email protected]
To   [email protected]
Subject   st: Clustering vs. Indicator variables in a Logit
Date   Mon, 8 Nov 2004 10:59:45 -0500

Hello All,

I understand that clustering specifies that observations be independent
across groups while allowing for changes in variance within a group.  My
question is how is this different than controlling for a group with  an
indicator (0/1) variables.

For example, If my data contains patient data for 12 hospitals and my LHS
variable is (0/1) for recovery and my RHS variables include characteristic
variables, treatment type, etc.  What is the difference between clustering
on hospital or creating an indicator variable for each hospital?

Thanks in advance for any commentary,

David J. Bernstein, Ph.D.
[email protected]

*   For searches and help try:

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