Learn R Programming

SurrogateParadoxTest (version 2.0)

Q: Helper function for monotonicity test

Description

Helper function for monotonicity test; should not be called directly by user.

Usage

Q(r, s, X)

Value

Q

Arguments

r

Index to start summation.

s

Index to end summation.

X

Vector of X values over which to sum.

Author

Emily Hsiao

References

Hall, Peter, and Nancy E. Heckman. "Testing for monotonicity of a regression mean by calibrating for linear functions." Annals of Statistics (2000): 20-39.