Description
Function to compute a GEKS index over a window.
The window size is assumed to be the number of periods available in pervar.
This is not exposed to the user because GEKSIndex calls this
Usage
GEKS_w(x, pvar, qvar, pervar, indexMethod = "tornqvist", prodID,
sample = "matched")