Article View: comp.dsp
Article #1654A question about SVD
From: Tom Holroyd
Date: Sun, 07 Apr 1991 19:35
Date: Sun, 07 Apr 1991 19:35
24 lines
1460 bytes
1460 bytes
I'm doing principle components analysis of some multi-channel
timeseries. I'm using SVD (from Numerical Recipes) on the matrix
whose rows represent the timeseries from each channel. In other words,
if I have 5 channels and 100 points in my timeseries, I get a matrix
with 5 rows and 100 columns. Actually my timeseries is much longer
than this, and so I'm using windows of a few hundred points, and sliding
along, doing SVD.
My problem is that my components (for example the top component, the one
with the largest eigenvalue) change sign arbitrarily from window to
window. This is because from SVD's point of view,
T T
U.w.V = -U.w.-V
and I can't tell why it picks positive for one window and negative for
the next. Worse yet is that it may do this for one channel and not
for another, i.e. channel one could flip from one window to the next
and channel two might not.
Is there a way to control this?
Tom Holroyd
Center for Complex Systems
Florida Atlantic University
tomh@bambi.ccs.fau.edu
Technical Details
Message-ID:
<5LT2Z2w163w@shark.cs.fau.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!uflorida!cs.fau.edu!tomhShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!uflorida!cs.fau.edu!tomh From: tomh.bbs@shark.cs.fau.edu (Tom Holroyd) Newsgroups: comp.dsp Subject: A question about SVD Message-ID: <5LT2Z2w163w@shark.cs.fau.edu> Date: 7 Apr 91 19:35:39 GMT Sender: bbs@cs.fau.edu (Waffle BBS) Organization: Florida Atlantic University Lines: 24