S {SurrogateParadoxTest} | R Documentation |
Helper function
Description
Helper function for monotonicity test.
Usage
S(a, b, r, s, X, Y)
Arguments
a |
Value of a (regression coefficient) |
b |
Value of b (regression coefficient) |
r |
Index to start summation |
s |
Index to end summation |
X |
Vector of X values |
Y |
Vector of Y values |
Value
Mean-squared error
Author(s)
Emily Hsiao
[Package SurrogateParadoxTest version 2.0 Index]