pearson2pistar: Pearson to pi* Conversion

View source: R/pearson2pistar.R

pearson2pistarR Documentation

Pearson to pi* Conversion

Description

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).

Usage

	pearson2pistar(coeff)

Arguments

coeff

value of Pearson product-moment correlation coefficient to be converted.

Details

The relationship between pi* and Pearson r is:

pi* = 1 - ((1-abs(r))/(1+abs(r)))^(1/2)

Value

Value of pi* corresponding to the supplied value of Pearson product-moment correlation coefficient.

Author(s)

Juraj Medzihorsky

References

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.

See Also

cor pistar.bvn

Examples

    pearson2pistar(0.5)

    curve(pearson2pistar, from=-1,
          xlab=expression(rho), 
          ylab=expression(pi^symbol("*")))


jmedzihorsky/pistar documentation built on June 4, 2022, 9:58 a.m.