Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 5 [15 marks] A random walk, also known as a stochastic or random process, can be described by a path that consists of a

image text in transcribedimage text in transcribed

Problem 5 [15 marks]

A random walk, also known as a stochastic or random process, can be described by a path that consists of a succession of random steps on some mathematical space such as the integers. A Gaussian random walk is a random walk where the random steps are normally distributed with some mean ? and some variance ?2. For this problem, we will consider Gaussian random walks, i.e. random walks with steps that come from the standard normal distribution. We can define the state Sn of the random walk at step n as follows:

n Sn = ?Xi, Xi ? N(0,1), i = 1,...,n

i=1 (a) Write a simulation in R to approximate the expected distance from the starting point, E?|Sn|?,

for n = 10, 20, . . . , 100. Use at least N =10,000 replications for each value of n. [5 marks]

2

(b) IdentifythedistributionofSn,andgivea95%confidenceintervalfor|Sn|,forn=10,20,...,100. [5 marks]

(c) Write a simulation in R to verify your theoretical confidence intervals in part (b). Use at least N =10,000 replications for each value of n. [5 marks]

image text in transcribedimage text in transcribed
Problem 5 [15 marks] A random walk, also known as a stochastic or random process, can be described by a path that consists of a succession of random steps on some mathematical space such as the integers. A Gaussian random walk is a random walk where the random steps are normally distributed with some mean ,u and some variance 02. For this problem, we will consider Gaussian random walks, i.e. random walks with steps that come from the standard normal distribution. We can dene the state 8,, of the random walk at step 11 as follows: 11. SH:ZX,-, X,~N(0,1), 2': 1,...,n i=1 (a) Write a simulation in R to approximate the expected distance from the starting point, E (|Sn|), for n = 10, 20, . . . , 100. Use at least N 210,000 replications for each value of n. [5 marks] (b) Identify the distribution of Sn, and give a 95% confidence interval for | Sn), for n = 10, 20, . .., 100. [5 marks] (c) Write a simulation in R to verify your theoretical confidence intervals in part (b). Use at least N =10,000 replications for each value of n. [5 marks]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Entrepreneurship

Authors: Andrew Zacharakis, William D Bygrave

5th Edition

1119563097, 9781119563099

Students also viewed these Mathematics questions