Origin Ver. and Service Release (Select Help-->About Origin): 8 Operating System: XP
Hi everyone. I need some help: I am interested in correlating the data between two columns: one has data from the irradiance of the sun and the other one has data of the irradiance on the ground. It seems that there is not a linear relatioship between them (both data sets should have a periodicity of 11 years) and I want to see how the correlation is between them. I believe that there should be a time lag between the two data sets. So how can I use the lag correlation (or cross correlation) and how do I intepret the results? Thanks so much in advance. Take care
To do a Cross Correlation, select the two columns of data and choose Analysis : Signal Processing : Correlation.
Assuming that your X data units is days (which it is if you are using Date values) and that you have several years of data, the cross correlation should produce a (very) roughly sinusoidal form decreasing in amplitude as you move away from zero. The period of the sinusoid should approximate the ~365.24 days in a year. The offset of the minimum or maximum from zero will be the lag in days between the two signals.
If you do an FFT on each of the original signals, you will likely see at least one peak at around 0.002738 Hz which equates to ~ 1/365.25.
To do a Cross Correlation, select the two columns of data and choose Analysis : Signal Processing : Correlation.
Assuming that your X data units is days (which it is if you are using Date values) and that you have several years of data, the cross correlation should produce a (very) roughly sinusoidal form decreasing in amplitude as you move away from zero. The period of the sinusoid should approximate the ~365.24 days in a year. The offset of the minimum or maximum from zero will be the lag in days between the two signals.
If you do an FFT on each of the original signals, you will likely see at least one peak at around 0.002738 Hz which equates to ~ 1/365.25.
First of all truly thank you for your answer! I really appreciate the help! Just one thing: my data are in months covering the period 1960 - 2100 so totally 1692 in number. Is it possible to adjust your answer but in months (not days)? Also, I have to do a FFT in order to see the 11-year solar signal (there should be a total 12.8 solar cycles in these 1692 months (or 141 years), since it's a phenomenon that lasts approximately 11 years (or 132 months). What should I expect in the FFT diagramm. Because it's in Hz... (Does it mean number of repetitions of the phenomenon in the whole 1692 months?). Thanks once again and truly looking forward to your reply.