Usage
BNSjumptest(rdata, IVestimator= "BV", IQestimator= "TP", type= "linear",
logtransform= FALSE, max= FALSE, align.by= NULL, align.period= NULL,
makeReturns = FALSE, ...)
Arguments
rdata
a zoo/xts object containing all returns in period t for one asset.
IVestimator
can be chosen among jump robust integrated variance estimators: BV, minRV, medRV
and corrected threshold bipower variation (CTBV).
If CTBV is chosen, an argument of $startV$, start point of auxiliary estimators in threshold estimation
(Corsi
IQestimator
can be chosen among jump robust integrated quarticity estimators: TP, QP, minRQ and medRQ. TP by default.
type
a method of BNS testing: can be linear or ratio. Linear by default.
logtransform
boolean, should be TRUE when QVestimator and IVestimator are in logarith form. FALSE by default.
max
boolean, should be TRUE when max adjustment in SE. 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.