Basically what I want to do if for Maple to create a random walk based on the following information.
Input variables would be the starting value of the walk, a fixed increment by which the value can either increase or decrease, p - the probability of an increase (where 1-p is the probability of a decrease) and the total number of steps/days etc... to apply this over. So basically at each point I want the program to decide whether to increase or decrease (by a fixed amount) based on the probabilities.
Is this possible?
Any help would be much appreciated.
I have some vague knowledge of maple its just the how to apply the increase/decrease according to the probabilties that is confusing.