首页 > > 详细

辅导data留学生、Java,Python程序语言讲解、辅导c/c++ 讲解R语言编程|讲解留学生Prolog

Homework assignment 1

Instruction: Review the class materials, and then go over the detailed step by step example provided on the course website, titled “Lesson1_Rcodes”, using the data provided in “Lesson1_datafile”. Read carefully the questions, and submit the assignment through the Blackboard Drop off slot for Homework 1 this week.

1.Download the daily prices for the period January 1, 2000 to December 31, 2018, for the following stocks (these are the company names, and the stock identifiers, known as tickers, are in parenthesis, which is what you will need to use to download the data): Apple (AAPL), IBM (IBM), Microsoft (MSFT), Intel (INTC), Amazon (AMZN), and JPMorgan Chase & Co. (JPM).
a.For each stock, calculate the daily simple return.
b.For each stock, calculate the daily log return.
c.For each stock, calculate the annual return (hint: this can be done in several ways, and you can check what happens when you download the data on a year by year basis).

2.Prepare a summary table, that for each stock will have the following information: mean, standard deviation, skewness and kurtosis – for the simple return, and for the log return. Thus, since there are 5 stocks, you should prepare a table that has a total of 8 rows, and 5 columns.

3.What is the daily return of the portfolio made up of these five stocks? What is the average, standard deviation, skewness and kurtosis of the portfolio return?

4.Follow the example provided in “lesson1_Rcodes” to test whether the daily simple return and log return time series, of each stock separately, and that of the portfolio, follow a normal distribution.

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!