Hello Everyone!
I have a question about the cluster() function. I am using a twin data set for running some analyses and I would like to control for non-independence of observations (as most of my participants have someone related to them in my sample) - I think the cluster(famid) funtion (famid to indicate which participants are related) is the correct command to use for this, right? However, I can get it to run only for a regression, e.g. regress variable1 variable2, cluster(famid). What I wanted to run is an ANOVA with a Scheffe post-hoc, e.g. one-way variable1 variable2, scheffe; but it seems like I can't use the cluster() function with this? Any idea how I could get this to run? OR how I could work around this? Thank you very much for your help!
I have a question about the cluster() function. I am using a twin data set for running some analyses and I would like to control for non-independence of observations (as most of my participants have someone related to them in my sample) - I think the cluster(famid) funtion (famid to indicate which participants are related) is the correct command to use for this, right? However, I can get it to run only for a regression, e.g. regress variable1 variable2, cluster(famid). What I wanted to run is an ANOVA with a Scheffe post-hoc, e.g. one-way variable1 variable2, scheffe; but it seems like I can't use the cluster() function with this? Any idea how I could get this to run? OR how I could work around this? Thank you very much for your help!
Comment