Hello everyone,
I have two data series (two columns, ~600 rows long each; one is the monthly closing price of a stock index and the other is a macroeconomic indicator) and I'm looking to find out some information between them (the lead/lag times).
I need to figure out how to:
- determine where each series peaks and troughs (there are many peaks and troughs)
- determine the lead/lag time between these peaks and troughs. i.e. when series one peaks series two peaks X months later (each row represents a month)
I am absolutely stumped as to how to do this!
Thanks!
Henry
I have two data series (two columns, ~600 rows long each; one is the monthly closing price of a stock index and the other is a macroeconomic indicator) and I'm looking to find out some information between them (the lead/lag times).
I need to figure out how to:
- determine where each series peaks and troughs (there are many peaks and troughs)
- determine the lead/lag time between these peaks and troughs. i.e. when series one peaks series two peaks X months later (each row represents a month)
I am absolutely stumped as to how to do this!
Thanks!
Henry