• No results found

och onsdag 16.3 och per e-post tmioulli@abo.fi

N/A
N/A
Protected

Academic year: 2021

Share "och onsdag 16.3 och per e-post tmioulli@abo.fi "

Copied!
3
0
0

Loading.... (view fulltext now)

Full text

(1)

Stokastiska processer vt. 2005

Hemarbete till torsdagen den 24 mars Assignment for Thursday, March 24

Simuleringsprogram

Skriv ett (eller flera) program som du kan anv¨anda f¨or simulering av stokastiska processer under kursens g˚ang. Programmeringsspr˚ak och programpaket valfritt.

Hj¨alp f˚as vid behov av FD Tatiana Myll¨ari som ¨ar antr¨affbar p˚a f¨orel¨asningstid m˚andag 14.3. och onsdag 16.3 och per e-post tmioulli@abo.fi . [P˚aminnelse: F¨orel¨asningarna 14.3. och 16.3. ¨ar inst¨allda.]

Obs! Om du inte har n˚agon som helst erfarenhet av simulering eller generering av slumptal m˚aste du kontakta dr Myll¨ari!

Programmen skall kunna simulera en slumpvandring p˚a heltalen Z och i tv˚a dimensioner, ett ruinproblem och Ehrenfests diffusionsmodell. Var redo att f¨orevisa programutskrifter p˚a timmen 17.3. eller 24.3.

Anv¨and programmet f¨or att experimentellt studera f¨oljande problem:

1. (Fylleristens vandring) L˚at tillst˚andsrummet E vara {0, 1, 2, . . . , 8, 9, 10} d¨ar 0 och 10

¨ar absorberande. Antag att en mycket berusad person startar i tillst˚andet i ∈ E \ {0, 10}

och utf¨or en symmetrisk slumpvandring p˚a E tills han absorberas i 0 eller 10. Uppskatta experimentellt sannolikheten f¨or absorption i 0 som en funktion av starttillst˚andet i, i = 1, 2, 3, . . . 8, 9.

2. (Ehrenfests diffusionsmodell) Best¨am experimentellt den station¨ara f¨ordelningen f¨or Xn.

3. (Tv˚adimensionell symmetrisk slumpvandring) L˚at Xn vara en tv˚adimensionell enkel symmetrisk slumpvandring. Best¨am experimentellt medelavst˚andet fr˚an X1000 till start- punkten.

A simulation program

Write a simulation program (or several simulation programs) to be used for different com- puter experiments throughout the course. Use your favorite programming language or program package.

If you need assistance contact Dr Tatiana Myll¨ari who is available on Monday (March 14) and Wednesday (March 16) 10 - 12 and also by e-mail tmioulli@abo.fi . [Recall that there are no classes March 14 and 16.]

1

(2)

Note: If you have no experience whatsoever with simulation or random number generators you must contact Dr Myll¨ari!

The program (programs) should simulate a random walk on the integers Z and in two dimensions, a ruin problem and the Ehrenfest diffusion model. The program outputs are to be presented in class on March 17 or March 24.

1. (Drunkard’s walk) Let the state space E be {0, 1, 2, . . . , 8, 9, 10} with 0 and 10 absorbing.

Assume that a very drunk person starts in state i ∈ E \ {0, 10} and performs a simple symmetric random walk on E until he is absorbed in 0 or 10. Estimate (by simulation) the probability of absorption in 0 as a function of the initial state i, i = 1, 2, 3, . . . 8, 9.

2. (Ehrenfest’s diffusion model) Determine experimentally the stationary distribution of Xn in Ehrenfest’s diffusion model.

3. (Twodimensional simple symmetric random walk) Let Xn be a twodimensional simple symmetric random walk. Determine experimentally the average distance from X1000 to the starting point.

2

(3)

Stokastisk processer vt. 2005

Hemuppgifter till den 17 mars Exercises for March 17

Uppgifterna ¨ar alla tagna fr˚an kursboken Howard M. Taylor and Samuel Karlin: An Introduction to Stochastic Modeling, 3rd Edition, Academic Press 1998.

All the problems are taken from the text book Howard M. Taylor and Samuel Karlin: An Introduction to Stochastic Modeling, 3rd Edition, Academic Press 1998.

1. Problem 1.1., p. 99 2. Problem 1.2., p. 100 3. Problem 1.4., p. 100 4. Exercise 3.1., p. 112 5. Exercise 3.2., p. 112

Dessutom reserveras tid f¨or genomg˚ang av era simuleringsprogram.

In addition some of your simulation programs will be presented.

3

References

Related documents

Om remissen är begränsad till en viss del av betänkandet, anges detta inom parentes efter remissinstansens namn i remisslistan. En sådan begränsning hindrar givetvis inte

Det som skiljer boken från dessa är Benningas konsekventa exemplifiering av alla tankar med Excel, nå- got som borde tilltala människor som prak- tiserar finans dagligen inom

(In the code, the number n of elements in A is denoted by length[A].) The input numbers are sorted in place: the numbers are rearranged within the array A, with at most a

How the Introduction was referred to and introduced by the teachers of the subjects Some of the students had interpreted from their teachers’ verbal information that the

Perhaps the most successful chapter in this regard is the one on Wordsworth, which offers a thorough investigation of a large number of his later poems, many of which

In this section we will introduce the Wilkinson shift and compare the properties and convergence rate of both shift-strategies in the case for real symmetric tridiagonal

The course on Stochastic Processes (Course code 6733, 5 sv, 7.5 ECTS credits) treats the basics of Markov chains in discrete and continuous time: classification of states,

Av ert egenkontrollprogram ska det framgå vilka rutiner ni och er personal har för att säkerställa att er försäljning av tobaksvaror uppfyller lagens krav.. Det är viktigt