Runs a basic implementation of the "NW" function with the "K2_Biweight" kernel, just as a proof-of-concept.
pcoriaccel_NW_basic(Xb, Y, xb, y_seq, h)
Xb
: a vector (expected to be about 500 elements)Y
: a vector (same size as Xb
)xb
: a vectory_seq
: a vectorh
: a scalar, the bandwidth of kernelA matrix of the same size as xb
by y_seq
.