search for: clustvar

Displaying 3 results from an estimated 3 matches for "clustvar".

Did you mean: cluster
2013 Oct 15
1
cluster option in stata for random intercept model in the R language?
...ata. We fit a random intercept model to the data (decisions clustered in participants) and get closely the same results in stata (using xtreg re) and R (using the lme4 or multilevel package). Now in stata, there is an additional option for the regression to control for clustering; the vce(cluster clustvar) option, which changes the standard errors quite a bit. (see http://www.stata.com/support/faqs/statistics/standard-errors-and-vce-cluster-option/ or http://www.stata.com/manuals13/xtxtreg.pdf). Unfortunately I don't understand what this 'correction' does and why it yields different res...
2017 Mar 22
3
GLM con clusters
Gracias a todos por sus respuestas, perdón si no fui muy claro. Lo que intento replicar es un análisis realizado en Stata, tengo que hacer los mismos cálculos pero en el r. En Stata lo que se hizo fue: xi: logistic i.coord i.v11_sexo, vce (cluster red) *Vce (cluster clustvar) especifica que los errores estándar permiten la correlación intragrupo, relajando el requisito habitual de que las observaciones sean independientes. Es decir, las observaciones son independientes entre grupos (grupos) pero no necesariamente dentro de los grupos. * http://www.stata.com/manuals13/r...
2017 Mar 22
3
GLM con clusters
Buenas tardes, desde Uruguay, quiero realizar una regresión logística,con la función GLM, pero ademas quiero designarle a las observaciones clusters. La idea es decirle al programa que las observaciones corresponden a diferentes clusters. Saludos! Sebastián. [[alternative HTML version deleted]]