# splitrel: Split Half-Based Reliability Coefficients In Spiritspeak/AATtools: Reliability and Scoring Routines for the Approach-Avoidance Task

 splitrel R Documentation

## Split Half-Based Reliability Coefficients

### Description

Split Half-Based Reliability Coefficients

### Usage

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

FlanaganRulon(x1, x2, fix.negative = c("none", "nullify", "bilateral"))

RajuCoefficient(x1, x2, prop, fix.negative = c("none", "nullify", "bilateral"))
```

### 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. It should be noted that negative values are not supposed to occur, and there is no commonly accepted way to deal with them when they do occur. `x1` scores from half 1 `x2` scores from half 2 `prop` Proportion of the first half to the complete sample

### Value

Spearman-Brown-corrected correlation coefficient.

### Functions

• `SpearmanBrown()`: Perform a Spearman-Brown correction on the provided correlation score.

• `FlanaganRulon()`: Compute the true reliability using the Flanagan-Rulon formula, which takes into account inequal variances between split halves.

• `RajuCoefficient()`: Compute split-half reliability using the Raju formula, which takes into account unequal split-halves and variances.

covrel

### Examples

```
SpearmanBrown(.5)
FlanaganRulon(a<-rnorm(50),rnorm(50)+a*.5,fix.negative="bilateral")
a<-rnorm(50)
b<-rnorm(50)+a*.5
RajuCoefficient(a,b,prop=.4,fix.negative="bilateral")
```

Spiritspeak/AATtools documentation built on Sept. 1, 2022, 11:22 a.m.