Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

From the web, download the daily stock price of Hong Kong Stock Exchange for one year(Note: You can download it from Yahoo Finance) (a) Plot

From the web, download the daily stock price of Hong Kong Stock Exchange for one year(Note: You can download it from Yahoo Finance)

(a) Plot out the daily prices, can you detect any trend?

(b) Construct the return series from these prices and plot the histogram of the return series. Does it look like a normal curve? What does the q-q normal plot on this set of data tell us?

Comment: I have tried using R-studio to complete the task. However, I am not really familiar with R-studio and as a result I may need to ask for some help in this question. R-studio codes written is as below:

library(readr)

df<-X0388_HK <- read_csv("C:/Users/user/Desktop/0388.HK.csv")

head(df)

install.packages("ggplot2")

library(ggplot2)

data(X0388_HK)

ggplot(data=df,aes(x=Date,y=Close) )+

geom_line()+

geom_point()

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

WebAssign For College Algebra With Applications For Business And Life Sciences

Authors: Ron Larson

2nd Edition

1337768278, 9781337768276

More Books

Students also viewed these Mathematics questions

Question

=+46. Monthly gas prices, part 3. Using the data from Exercise

Answered: 1 week ago

Question

Technology

Answered: 1 week ago

Question

Population

Answered: 1 week ago