1.2. In MATLAB/SCILAB write a script to use randn and cumsum to generate, say, five realizations of...

Question:

1.2. In MATLAB/SCILAB write a script to use randn and cumsum to generate, say, five realizations of aWiener process—approximate it by taking n = 1000 time steps over 0 < t ≤ 1 . Plot the realizations. Introduce a drift μ and volatility σ and plot realizations of the resultant process; for example, investigate μ ∈ {0,±1,±3} and

σ ∈ {1/3,1,3} .

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: