r.nil: Nil hypothesis for a correlation

r.nilR 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

rdif.nul, CIrdif

Examples

# From ch. 2 in Cohen et al (2003)
r.nil(.657, 15)

psychometric documentation built on Nov. 6, 2023, 1:06 a.m.