Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Comparing US and International Stock ETFs Please download daily data ( 2 0 1 9 - 2 0 2 3 ) from Yahoo
Comparing US and International Stock ETFs Please download daily data from Yahoo Finance using the below codes and calculate the daily simple returns. We use VTI for the US bond and VXUS for the ExUS international stock ETF portfolios. You need to practice your R codes for answering the below questions.
libraryquantmod # install.packagesquantmod if needed
getSymbolsVTI from to
getSymbolsVXUS from to
# calculate the simple returns
VTI VTI$VTI.Adjusted; VXUS VXUS$VXUS.Adjusted
L lengthVTI
rtnVTI asnumericVTIasnumericVTIL
rtnVXUS asnumericVXUSasnumericVXUSL
a What are the maximum and minimum returns for VTI and VXUS, respectively?
b Could you plot the histograms for VTI and VXUS, respectively? Do they look like normal distributions?HINT: use hist and set breaks
c What are the percentages of observations within two standard deviations from the average for VTI and VXUS, respectively? Do we have a coverage for the regression fit? HINT: we use to approximate for the confidence interval.
d Could you plot the cumulative returns for these two ETFs in the same figure with different colors.HINT: check codes on the notes
e Please run a simple regression for VXUS on VTI, report the coefficients, plot the scatter plot with the fitted regression line. Please provide a short summary for explaining the regression results. HINT: check codes on the notes
f Finally, please run a simple regression for VTI on VXUS, and report the coefficients. What is the difference between this model and the previous one?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started