Displaying 1 result from an estimated 1 matches for "clusterreg".
Did you mean:
clustering
2008 Jan 29
0
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...