View source: R/prices.GBM.cor.R
prices.GBM.cor | R Documentation |
Get parameter files from efforts-abm folder
prices.GBM.cor(N, S0, mu, sigma, cor.mat)
N |
Number of days in the path. |
S0 |
The initial price of the asset. |
mu |
Drift or average daily continuously compounded returns. |
sigma |
Volatility or standard deviation of daily continuously compounded returns. |
cor.mat |
The correlation matrix of the daility contiuously compounded returns. |
Creates a matrix of correlated daily price paths using Geometric Brownian Motion.
A matrix of simulated daily price paths of length N having the same number of assets as in the mu and sigma vectors. Note that mu and sigma must have the same dimensions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.