Learn R Programming

AATtools (version 0.0.1)

SpearmanBrown: Spearman-Brown corrections for Correlation Coefficients

Description

Perform a Spearman-Brown correction on the provided correlation score.

Usage

SpearmanBrown(
  corr,
  ntests = 2,
  fix.negative = c("nullify", "bilateral", "none")
)

Value

Spearman-Brown-corrected correlation coefficient.

Arguments

corr

To-be-corrected correlation coefficient

ntests

An integer indicating how many times larger the full test is, for which the corrected correlation coefficient is being computed. When ntests=2, the formula will compute what the correlation coefficient would be if the test were twice as long.

fix.negative

Determines how to deal with a negative value. "nullify" sets it to zero, "bilateral" applies the correction as if it were a positive number, and then sets it to negative. "none" gives the raw value.

Details

Correct a correlation coefficient for being based on only a subset of the data.