forum.alglib.net http://forum.alglib.net/ |
|
example of corrr1d http://forum.alglib.net/viewtopic.php?f=2&t=114 |
Page 1 of 1 |
Author: | kimon [ Mon Nov 08, 2010 3:49 pm ] |
Post subject: | example of corrr1d |
I cannot find any example of cross correlation analysis using alglib::corrr1d. On my first attempt it seems that the results need to be normalized using some factor. Could it be? Thanks Kimon |
Author: | Sergey.Bochkanov [ Mon Nov 08, 2010 5:03 pm ] |
Post subject: | Re: example of corrr1d |
That depends on problem you want to solve. Discrete cross-correlation is just a sum of products, without any normalization factor. But if your data are actually values of some function sampled with some interval, then you may need to multiply cross-correlation coefficient by some scaling factor which is proportional to the sampling step. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |