T_m {SurrogateParadoxTest}R Documentation

Helper function for monotonicity test

Description

Calculates the test statistic

Usage

T_m(m, X, Y)

Arguments

m

m window size

X

Vector of X values

Y

Vector of Y values

Value

stat

Value of the test statistic

stat_vals

Vector of statistics before taking maximum

b_vals

Values of b

Q_vals

Values of Q

Author(s)

Emily Hsiao


[Package SurrogateParadoxTest version 2.0 Index]