r.nil {psychometric} | R Documentation |
Nil hypothesis for a correlation
Description
Performs a two-tailed t-test of the H0 that r = 0
Usage
r.nil(r, n)
Arguments
r |
Correlation coefficient |
n |
Sample Size |
Value
Returns a table with 4 elements
- H0:rNot0
correlation to be tested
t |
t value for the H0 |
df |
degrees of freedom |
p |
p value |
Author(s)
Thomas D. Fletcher t.d.fletcher05@gmail.com
References
Cohen, J., Cohen, P., West, S. G., & Aiken, L. S. (2003). Applied multiple regression/correlation analysis for the behavioral sciences (3rd ed.). Mahwah, NJ: Lawrence Erlbaum.
See Also
Examples
# From ch. 2 in Cohen et al (2003)
r.nil(.657, 15)
[Package psychometric version 2.4 Index]