[R] regression - cluster option in STATA - what in R?
Niels Steen Krogh
nielssteenkrogh at zitelab.dk
Tue Jan 29 13:08:55 CET 2008
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: ---------- nielssteenkrogh at zitelab.dk
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
More information about the R-help
mailing list