+ Reply to Thread
Results 1 to 2 of 2

Thread: Geometrci random walk

  1. #1
    Points: 4, Level: 1
    Level completed: 7%, Points required for next Level: 46

    Thanked 0 Times in 0 Posts

    Geometrci random walk


    I need help! l

    I need simulate process - geometric random walk for modeling the behavior of the price of a stock over time. state space is 1,02^j with j from -100 to 100. initial price is p(0) = 1. if p(t) = 1,02^100 then p(t+1) = 1,02^99. if p(t) = 1,02^-100, then p(t+1) = 1,02^-99 with probability 0,99, and the price remains unchanged with probability 0,01- our question is: how do we write a code to simulate the process?

    If somebody have some idea I will be really happy!

  2. #2
    TS Contributor
    Points: 22,410, Level: 93
    Level completed: 6%, Points required for next Level: 940

    Thanked 565 Times in 537 Posts

    Re: Geometrci random walk

    You have described the algorithm in details. The remaining issue is how to implement this algorithm/psuedo code to different programming languages.

+ Reply to Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Advertise on Talk Stats