T_m: Helper function for monotonicity test

View source: R/test-script-2025-01-20.r

T_mR 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


SurrogateParadoxTest documentation built on April 4, 2025, 5:11 a.m.