I have a variable x1 and x2 between January 1 till December 31. When I calculate the correlation between Janaury and June it is positive. When I calculate the correlation between July to December it is positive. But the correlation between Janauary and December is negative. Can it happen?
1 Comment
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/696080-correlation-of-two-variables-over-time-can-this-happen#comment_1212370
Direct link to this comment
https://de.mathworks.com/matlabcentral/answers/696080-correlation-of-two-variables-over-time-can-this-happen#comment_1212370
Sign in to comment.