Closed lucazav closed 4 years ago
zscore
normalizes each series separately, so the returned values are only valid for the input series individually. DBA modifies the series, so the mean/SD values are no longer valid for the output; if each input series has their own mean/SD values, which ones should be kept for a DBA output that considered, say, 5 of them as input, with 5 different mean/SD pairs? In your case, I imagine you'd have to normalize all series with a given set of values chosen by you (it doesn't have to be z-normalization).
If I run the following code using a list of multivariate time series:
centroids don't keep the mean and sd attributes: