reliabilityOfDifferenceScore {petersenlab}R Documentation

Reliability of Difference Score.

Description

Estimate the reliability of a difference score.

Usage

reliabilityOfDifferenceScore(x, y, reliabilityX, reliabilityY)

Arguments

x

Vector of one variable that is used in the computation of difference score.

y

Vector of second variable that is used in the computation of the difference score.

reliabilityX

The reliability of the x variable.

reliabilityY

The reliability of the y variable.

Details

Estimates the reliability of a difference score.

Value

Reliability of the difference score that is computed from the difference of x and y.

See Also

Other reliability: repeatability()

Examples

v1 <- rnorm(1000, mean = 100, sd = 15)
v2 <- v1 + rnorm(1000, mean = 1, sd = 15)
reliabilityOfDifferenceScore(x = v1, y = v2,
 reliabilityX = .7, reliabilityY = .8)

[Package petersenlab version 1.0.0 Index]