QuantilePG-constructor {quantspec} | R Documentation |
Create an instance of the QuantilePG
class.
Description
The parameter type.boot
can be set to choose a block bootstrapping
procedure. If "none"
is chosen, a moving blocks bootstrap with
l=length(Y)
and N=length(Y)
would be done. Note that in that
case one would also chose B=0
which means that getPositions
would never be called. If B>0
then each bootstrap replication would
be the undisturbed time series.
Usage
quantilePG(
Y,
frequencies = 2 * pi/lenTS(Y) * 0:(lenTS(Y) - 1),
levels.1 = 0.5,
levels.2 = levels.1,
isRankBased = TRUE,
type = c("clipped", "qr"),
type.boot = c("none", "mbb"),
B = 0,
l = 0,
method = c("br", "fn", "pfn", "fnc", "lasso", "scad"),
parallel = FALSE
)
Arguments
Y |
A |
frequencies |
A vector containing frequencies at which to determine the quantile periodogram. |
levels.1 |
A vector of length |
levels.2 |
A vector of length |
isRankBased |
If true the time series is first transformed to pseudo
data [cf. |
type |
A flag to choose the type of the estimator. Can be either
|
type.boot |
A flag to choose a method for the block bootstrap; currently
two options are implemented: |
B |
number of bootstrap replications |
l |
(expected) length of blocks |
method |
method used for computing the quantile regression estimates.
The choice is passed to |
parallel |
a flag to allow performing parallel computations, where possible. |
Value
Returns an instance of QuantilePG
.