Usage
estSpikedCovariance(R, gamma = NA, numOfSpikes = NA, method = c("KNTest", "median-fitting"), norm = c("Frobenius", "Operator", "Nuclear"), pivot = 1, statistical = NA, fit = NA)
Arguments
R
xts object of asset returns
gamma
ratio of varibales/observations. If NA it will be set to
ratio of varibales/observations
numOfSpikes
number of spikes in the spike covariance model.
If missing then it is estimated based on the number of
eigenvalues above the cutoff.
method
KNTest/median-fitting. Default is KNTest
norm
Type of matrix norm that must be calculated. Defaults to Frobenius
pivot
takes values from 1...7. Details can be found in the paper
statistical
Stein/Entropy/Divergence/Affinity/Frechet. Default is set to NA.
when a valid value is set norm and pivot values are ignored
fit
list with 5 elements, cutoff for the bulk of MP distribution,
scaled lambdas, fitted gamma fitted scaling constant and
numOfSpikes