程序代写代做 Excel Homework II – R

Homework II – R

• Read the historical price data of SPY and TLT from SPY.csv and TLT.csv
• Calculate the average return, std of both ETFs and their covariance and correlation.
• Draw the efficient frontier of portfolios given the two risky assets.
• Implement Q3 in the Excel Quiz using R.