Using the clustered covariance matrix V from exercise 1:
(a) Compute the HRP allocations.
(b) Compute the CLA allocations.
(c) Compute the IVP allocations.
Given the PnL series on N investment strategies:
(a) Align them to the average frequency of their bets (e.g., weekly observations for strategies that trade on a weekly basis).
(b) Compute the covariance of their returns, V.
(c) Identify the hierarchical clusters among the N strategies.
(d) Plot the clustered correlation matrix of the N strategies.