Skip to contents

The mean of X within the strip at y0 is the reverse regression slope times y0.

Usage

StripMean(r, sigma_x, sigma_y, y0)

Arguments

r

correlation, in [-1, 1].

sigma_x

spread of X, >= 0.

sigma_y

spread of Y, > 0.

y0

the y value defining the strip.

Value

list(x, slope).

References

Morin, D. J. (2016). Probability: For the Enthusiastic Beginner. Createspace. Eq (6.74).

Examples

StripMean(0.5, 15, 15, 20)$x
#> [1] 10