correl {samplesizeestimator}R Documentation

Sample Size for Testing Correlation Coefficient

Description

Calculates minimum sample size needed to detect at least rho0-rho1 units difference in the hypothesized and reported correlation coefficient for desired level of significance and power

Usage

correl(rho0, rho1, alp, pwr)

Arguments

rho0

magnitude of relationship between the two variables under study, set at null hypothesis

rho1

anticipated magnitude of relationship between the two variables under study

alp

level of significance or accepted level of probability of type I error

pwr

desired level of power

Value

a list object with minimum required sample size along with description for reporting

Author(s)

R. Amala, Scientist-C, ICMR-VCRC, Puducherry & G. Kumarapandiyan, Asst. Prof., Madras Christian College, Chennai

References

Bujang, M. A., & Baharum, N. (2016). Sample size guideline for correlation analysis. World Journal of Social Science, 3(1), 37-46.

Examples

correl(rho0 = 0.5, rho1 = 0.7, alp = 0.05, pwr = 0.8)

[Package samplesizeestimator version 1.0.0 Index]