Skip to content
Discussion options

You must be logged in to vote

Given your code, it seems to me that you simulate one realization of the process for different points (months) in time. However, you need to simulate a large number of realizations (e.g. sth. like 100k) in order to build a meaningful average.

Also, you do not really need MC here, you can solve the task analytically (note that the a Wiener process implies a Normal distribution), see: https://en.wikipedia.org/wiki/Normalization_(statistics).

PS: Expect a result slightly above 1% for 12 months.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@erlik-han
Comment options

Answer selected by erlik-han
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants