a_b_hat {SurrogateParadoxTest}R Documentation

Helper function

Description

Helper function for monotonicity test

Usage

a_b_hat(r, s, X, Y)

Arguments

r

Index to start summation.

s

Index to end summation.

X

Vector of X values.

Y

Vector of Y values.

Value

a_hat

Numeric value of a_hat

b_hat

Numeric value of b_hat

Author(s)

Emily Hsiao


[Package SurrogateParadoxTest version 2.0 Index]