Did you REALLY try RSiteSearch("tetrachoric") before sending your email?
Kjetil On Fri, Apr 2, 2010 at 7:25 PM, HAKAN DEMIRTAS <demir...@uic.edu> wrote: > Hi, > > Is there any R library/package that calculates tetrachoric correlations from > given marginals and Pearson correlations among ordinal variables? > > Inputs to polychor function in polycor package are either contingency tables > or ordinal data themselves. I am looking for something that takes marginal > distributions and Pearson correlation as inputs. > > For example, Y1=(1,2,3) with P(Y1=1)=0.3, P(Y1=2)=0.5, P(Y1=3)=0.2 and > Y2=(1,2) with P(Y2=1)=0.6, P(Y2=2)=0.4, and corr(Y1,Y2)=0.5 (Pearson > correlation among ordinal variables) > > How do I calculate the tetrachoric correlation here? > > Thanks, > Hakan Demirtas > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.