Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the quantmod package to download daily prices of the Alibaba stock (ticker is BABA) from Jan 02, 2018 to Dec 31, 2018. Write R

Use the quantmod package to download daily prices of the Alibaba stock (ticker is BABA) from Jan 02, 2018 to Dec 31, 2018. Write R codes for the following tasks.

(a) Find the date with the largest trading volume in the year of 2018.

(b) Calculate the log return for each day based on the adjusted closing price and make a time series plot using the function chartSeries().

(c) Test the normality assumptions on the log returns using the Jarque-Bera test. Also graphically compare the nonparametric density estimate and the best fitted normal density.

(d) Assume a geometric Brownian motion model for the Alibaba stock and estimate the volitality parameter based on daily log returns using the formula presented in the lecture notes. Provide both your R code and the output

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Quantitative Analysis for Management

Authors: Barry Render, Ralph M. Stair, Michael E. Hanna, Trevor S. Ha

12th edition

133507335, 978-0133507331

More Books

Students also viewed these Finance questions