Description Usage Arguments Value Examples
Auxiliar function. It computes a random walk, that is used to generate sensibility. In other words, its results are used as themultiplier of real demand. A value os 1.1 means for instance that the demand is 1.1 bigger than projected.
1 2 | random_walk(start_value, num_years = 33, mu = 0, sd = 0.05,
beta = 1)
|
start_value |
A number. First point of the series. |
num_years |
A number |
mu |
A number |
sd |
A number |
beta |
A number. Effect of past step on the next step. |
a vector of simulated random walk times series of size equal to num_years
1 | random_walk(start_value = 1.3, mu = 0, sd = .05)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.