My phd-student works in stata using cluster option in a regression model like
this example:
(from link: http://www.ats.ucla.edu/stat/stata/faq/clusterreg.htm)
"""
/* model 2 -- same as svy: regress with psu */
regress math homework, cluster(schid)
"""
I need to put som extra "blinded" data into the same model using R.
This "cluster" option. Is there something in R for this?
/Thanks
Niels Steen Krogh
Konsulent
ZiteLab ApS
Mail: ---------- [EMAIL PROTECTED]
Telefon: ------- +45 38 88 86 13
Mobil: --------- +45 22 67 37 38
Adresse: ------- ZiteLab ApS
---------------- Solsortvej 44
---------------- dk - 2000 F.
--- og ---
---------------- ZiteLab ApS
---------------- Refshalevej 110a
---------------- dk - 1432 københavn k
Web: ----------- www.zitelab.dk
CVR: ----------- 29178364
Bank: ---------- Sparbank Vest
Ejer: ---------- ZSRK Group Holding
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.