[R] Tetrachoric correlation in R vs. stata

From: Janet Rosenbaum <jrosenba_at_rand.org>
Date: Sat 24 Jun 2006 - 03:42:12 EST

I hope someone here knows the answer to this since it will save me from delving deep into documentation.

Based on 22 pairs of vectors, I have noticed that tetrachoric correlation coefficients in stata are almost uniformly higher than those in R, sometimes dramatically so (TCC=.61 in stata, .51 in R; .51 in stata, .39 in R). Stata's estimate is higher than R's in 20 out of 22 computations, although the estimates always fall within the 95% CI for the TCC calculated by R.

Do stata and R calculate TCC in dramatically different ways? Is the handling of missing data perhaps different? Any thoughts?

Btw, I am sending this question only to the R-help list.

Thanks,

Janet


This email message is for the sole use of the intended recip...{{dropped}}



R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jun 24 04:58:34 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 24 Jun 2006 - 08:14:38 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.