Question: Use Algorithm 8 to construct several figures such as Fig. 2.4 and observe the extent to which correlated prices trend together (recall that it is

Use Algorithm 8 to construct several figures such as Fig. 2.4 and observe the extent to which correlated prices trend together (recall that it is the increments that are correlated, not the prices themselves). For each run, calculate the correlation between the prices.

Data given in Algorithm 8

inputs: p, om (market volatility) Hs, Os (equity parameters) generate a market scenario: mo, m1, ... De.g.

Figure 2.4:

a 100 96 92 88 84 0 100 Way 200 A falling market trend 300 b 110 100 90 80 70 My D wwww 300 Correlated price

inputs: p, om (market volatility) Hs, Os (equity parameters) generate a market scenario: mo, m1, ... De.g. quarterly prices manually assigned generate preliminary market prices Pi = Pi-1(1 + 0m VdtZi) Zi ~ N(0, 1) calculate the piecewise linear correction l(t) (pp 48) calculate the market prices M = Pi + l(i) back out the market increments W = (M - M-1)/(om dt Mi-1) label AA: generate correlated N(0, 1) increments Y = pW+1-pZ Z ~ N(0,1) generate the correlated stock prices using the Yi Si = Si-1(1 + pdt +0,dtY;)

Step by Step Solution

3.31 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance With Monte Carlo Questions!