Professional Documents
Culture Documents
Task 1 - Build a workbook that allows the user estimate expected returns and the variance
covariance for 10 assets using a factor model approach.
E(R ) 𝑌 = 𝛼 + 𝛽1 𝐹1 + 𝛽2 𝐹2 + 𝛽3 𝐹3 + 𝜀
E(VCV ) 𝛽′ ∙ Σ𝑓𝑎𝑐𝑡𝑜𝑟 ⋅ 𝛽
Σ𝑓𝑎𝑐𝑡𝑜𝑟 EWMA approach
User inputs:
• The user can choose between two factor model configurations: (a) just F1 or (b) F1, F2 and
F3 simultaneously;
• Sample size for beta estimation (same for each asset, input can be 6 months, 12 months, 24
months, 36 months, 48 months or 60 months);
• λ in de EWMA model.
Task 2 – Create a “sensitivity analysis” sheet in the same workbook. This sheet is populated by a
Macro.
Write a macro that allows the user to get the expected return vector over different model input
combinations (factor model configuration, sample size for beta estimations and λ). Meaning that,
the user presses a button and the macro runs the model for different model input configurations
and saves the expected return vector.