rGbmSingle {RMOPI} | R Documentation |
Simulate a single stock price series
Description
Simulate an univariate series following Geometric Brownian Motion (GBM).
Usage
rGbmSingle(len, start = 100, mu = 0.01, sigma = 0.02)
Arguments
len |
the length |
start |
the start position |
mu |
the |
sigma |
the |
Value
a simulated univariate GBM series
Examples
rGbmSingle(100)
[Package RMOPI version 1.1 Index]