I would also go for
=========
stdize
Output: same as input
Arguments: X (matrix or list)
dfcorr (integer, optional)
dfcorr = 0 (MLE)
dfcorr = 1 (sample standard deviation)
dfcorr = k > 1 (other)
dfcorr = -1 -> centering only
=================
with default k=1. Excellent.
Help remark:
"Returns the standardized version of the data contained in X, scaling
each series/column by the sample standard deviation (dfcorr = 1 by
default). For dfcorr = -1 each series/column is centered around its
sample mean (no scaling)
PS = What about inserting it in the menu? (Add)
Yiannis
Show replies by date