First time poster here.
Guys I am really struggling with a code that will be able to roll correlation for multiple assets in SAS.
I.e. I want to create rolling correlation (based on asset returns) for each of the stocks in the S&P100. I have the data and know how to compare say stock 1 and stock 2, but any idea of how to do it for all constituents?
I realize this output would be quite massive, but I am just quite stuck on this code.
Guys I am really struggling with a code that will be able to roll correlation for multiple assets in SAS.
I.e. I want to create rolling correlation (based on asset returns) for each of the stocks in the S&P100. I have the data and know how to compare say stock 1 and stock 2, but any idea of how to do it for all constituents?
I realize this output would be quite massive, but I am just quite stuck on this code.