Usage
rOWCov(rdata, cor = FALSE, align.by = NULL, align.period = NULL,
makeReturns = FALSE, seasadjR = NULL, wfunction = "HR", alphaMCD = 0.75,
alpha = 0.001, ...)
Arguments
rdata
a $(M x N)$ matrix/zoo/xts object containing the $N$
return series over period $t$, with $M$ observations during $t$.
cor
boolean, in case it is TRUE, the correlation is returned. FALSE by default.
align.by
a string, align the tick data to "seconds"|"minutes"|"hours".
align.period
an integer, align the tick data to this many [seconds|minutes|hours].
makeReturns
boolean, should be TRUE when rdata contains prices instead of returns. FALSE by default.
seasadjR
a $(M x N)$ matrix/zoo/xts object containing
the seasonaly adjusted returns. This is an optional argument.
wfunction
determines whether
a zero-one weight function (one if no jump is detected based on $d_{t,i}$ and 0 otherwise)
or
Soft Rejection ("SR") weight function is to be used.
By default a zero-one weight function (wfunction = "HR") is used.
alphaMCD
a numeric parameter, controlling the size of
the subsets over which the determinant is minimized.
Allowed values are between 0.5 and 1 and
the default is 0.75. See Boudt et al. (2008) or the covMcd
function in the
robustbase package.
alpha
is a parameter between 0 en 0.5,
that determines the rejection threshold value
(see Boudt et al. (2008) for details).