Niels Steen Krogh
2008-Jan-29 12:08 UTC
[R] regression - cluster option in STATA - what in R?
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
Reasonably Related Threads
- centile reference chart / clildren growth chart - what package/method to use
- problem in installing R packages on linux
- sorting with criteria that are "out of order"
- howto improve sharpeness of fonts in a jpg-image produced by R ?
- logististic regression (GLM). How to get 95 pct. confidence limits?
