这个Assignment是用R语言预测股票走势
Assignment 1
1. Use the attached data of daily equity prices given by the Shanghai Composite
Index,
a) Calculate the mean annualized return since 2000
b) Calculate the annualized volatility since 2000
c) Calculate the skewness and kurtosis over the same period. Is there evidence
of fat tail?
d) Test the efficient market hypothesis by looking at the first 10
autocorrelations. What do you conclude?
e) Test for volatility clustering by looking at the first 10 autocorrelations of
squared returns.
2. Calculate annualized historical volatilities for each day over the whole sample
period. Do it once with monthly window and again with annual window.
a) Which has the greatest differences between high and low volatility?
b) Which has the biggest mean, standard deviation and kurtosis? (Use the
common sample)
c) Draw the histograms of volatilities.
d) What events correspond to these volatilities?
3. Calculate the exponentially weighted annualized volatilities using .06 and .02
as weights.
a) Plot these series on the same graph and attach it.
b) What is the maximum volatility over this sample period and when does it
occur?
4. If a tax were put on stock market transactions, it would probably substantially
reduce trading. What do you expect it to do to volatility of individual stocks and
stock indices? Explain.

EasyDue™ 支持PayPal, AliPay, WechatPay, Taobao等各种付款方式!
E-mail: easydue@outlook.com 微信:easydue
EasyDue™是一个服务全球中国留学生的专业代写公司
专注提供稳定可靠的北美、澳洲、英国代写服务
专注提供CS、统计、金融、经济、数学等覆盖100+专业的作业代写服务