Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

If the log - prices follow a random walk log ( St ) = log ( St 1 ) + Wt , then the returns

If the log-prices follow a random walk log(St)=log(St1)+Wt
, then the returns are described as
rt=\mu +\sigma Zt,ZtN(0,1).
For this exercise, it is useful to isolate the random term, also called the normalized return,
Zt=rt\mu \sigma .
Note how we simply have to rewrite the equation for rt
to get to Zt
.
In our model, we assume \mu ,\sigma
to be the parameters driving the process. In reality, we do not know their exact values; therefore, we estimate them from the data, using np.mean and np.std.
Plot a histrogram of the daily normalized returns of Apple, Microsoft, and Tesla shares. Use the following bins: np.linspace(-5,5,50). In the same figure, plot the normal distribution with zero mean and unit variance, that is N(0,1)
.
How well do the figures agree? What conclusions do you draw?

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

Describe how facial expressions influence our feelings.

Answered: 1 week ago

Question

Which form of proof do you find most persuasive? Why?

Answered: 1 week ago