SpearmanBrown: Spearman-Brown corrections for Correlation Coefficients

Description Usage Arguments Details Value

View source: R/AATtools.R

Description

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

Usage

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

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.

Value

Spearman-Brown-corrected correlation coefficient.


AATtools documentation built on July 1, 2020, 8:45 p.m.