2. Using Python, construct four portfolios with the following compositions: (1) 30% IBM and 70% KO, (2) 40% IBM and 60% DIS, (3) 80% KO and 20% DIS, and (4) 20% IBM, 40% KO, and 40% DIS. Retrieve daily stock prices from January 1, 2017, to December 31, 2022, and calculate the annualized expected return, annualized volatility, and beta relative to the S&P 500 index for each portfolio using statsmodels for regression analysis.
2. Using Python, construct four portfolios with the following compositions: (1) 30% IBM and 70% KO, (2) 40% IBM and 60% DIS, (3) 80% KO and 20% DIS, and (4) 20% IBM, 40% KO, and 40% DIS. Retrieve daily stock prices from January 1, 2017, to December 31, 2022, and calculate the annualized expected return, annualized volatility, and beta relative to the S&P 500 index for each portfolio using statsmodels for regression analysis.
Essentials Of Investments
11th Edition
ISBN:9781260013924
Author:Bodie, Zvi, Kane, Alex, MARCUS, Alan J.
Publisher:Bodie, Zvi, Kane, Alex, MARCUS, Alan J.
Chapter1: Investments: Background And Issues
Section: Chapter Questions
Problem 1PS
Related questions
Question
None
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
Essentials Of Investments
Finance
ISBN:
9781260013924
Author:
Bodie, Zvi, Kane, Alex, MARCUS, Alan J.
Publisher:
Mcgraw-hill Education,
Essentials Of Investments
Finance
ISBN:
9781260013924
Author:
Bodie, Zvi, Kane, Alex, MARCUS, Alan J.
Publisher:
Mcgraw-hill Education,
Foundations Of Finance
Finance
ISBN:
9780134897264
Author:
KEOWN, Arthur J., Martin, John D., PETTY, J. William
Publisher:
Pearson,
Fundamentals of Financial Management (MindTap Cou…
Finance
ISBN:
9781337395250
Author:
Eugene F. Brigham, Joel F. Houston
Publisher:
Cengage Learning
Corporate Finance (The Mcgraw-hill/Irwin Series i…
Finance
ISBN:
9780077861759
Author:
Stephen A. Ross Franco Modigliani Professor of Financial Economics Professor, Randolph W Westerfield Robert R. Dockson Deans Chair in Bus. Admin., Jeffrey Jaffe, Bradford D Jordan Professor
Publisher:
McGraw-Hill Education