The length of the random walk(s) you want generated
.initial_value
The initial value where the random walks should start
Details
Monte Carlo simulations were first formally designed in the 1940’s while
developing nuclear weapons, and since have been heavily used in various fields
to use randomness solve problems that are potentially deterministic in nature.
In finance, Monte Carlo simulations can be a useful tool to give a sense of
how assets with certain characteristics might behave in the future.
While there are more complex and sophisticated financial forecasting methods
such as ARIMA (Auto-Regressive Integrated Moving Average) and
GARCH (Generalized Auto-Regressive Conditional Heteroskedasticity)
which attempt to model not only the randomness but underlying macro factors
such as seasonality and volatility clustering, Monte Carlo random walks work
surprisingly well in illustrating market volatility as long as the results
are not taken too seriously.
See Also
Other Data Generator:
tidy_fft(),
ts_brownian_motion(),
ts_brownian_motion_augment(),
ts_geometric_brownian_motion(),
ts_geometric_brownian_motion_augment()