View source: R/pearson2pistar.R
| pearson2pistar | R Documentation | 
pearson2pistar is used to convert Pearson product-moment correlation
coefficient into the pi* mixture index of fit using the 
relationship between them described by Rudas, Clogg, and Lindsay (1994).
pearson2pistar(coeff)
coeff | 
 value of Pearson product-moment correlation coefficient to be converted.  | 
The relationship between pi* and Pearson r is:
pi* = 1 - ((1-abs(r))/(1+abs(r)))^(1/2)
Value of pi* corresponding to the supplied value of Pearson product-moment correlation coefficient.
Juraj Medzihorsky
Rudas, T., Clogg, C. C., Lindsay, B. G. (1994) A New Index of Fit Based on Mixture Methods for the Analysis of Contingency Tables. Journal of the Royal Statistical Society. Series B (Methodological), Vol. 56, No. 4, 623-639.
cor
pistar.bvn
    pearson2pistar(0.5)
    curve(pearson2pistar, from=-1,
          xlab=expression(rho), 
          ylab=expression(pi^symbol("*")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.