Description Usage Arguments Value Author(s)
Generate observations from a covariance matrix and add outliers
1 2 | NoisyObservations(numGoodSamples, numOutliers,
covarianceMatrix, shuffle = FALSE)
|
numGoodSamples |
number of observations drawn from the covariance matrix |
numOutliers |
number of outliers added to sample |
covarianceMatrix |
the covariance matrix for the asset returns from which good samples will be drawn |
shuffle |
a boolean suggesting whether order of the twos should be shuffled |
sample a matrix of returns consisting of good and bad sample. Rows are observations, columns are the assets.
Ram Ahluwalia ram@wingedfootcapital.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.