orderStatistics {timeSeries} | R Documentation |
Order statistics
Description
Computes the order statistics of a "timeSeries"
object.
Usage
orderStatistics(x)
Arguments
x |
a |
Details
orderStatistics
computes the order statistics for each column of a
"timeSeries"
object. The output is a named list with the order
statistics for each column in a separate component.
Value
a named list, in which each component is an
univariate "timeSeries"
containing the order statistics of the
corresponding column of the input time series.
Examples
## Load Swiss Pension Fund Benchmark Data -
setRmetricsOptions(myFinCenter = "GMT")
X <- LPP2005REC[, "SPI"]
colnames(X)
## Compute 1% Order Statistics -
N <- round(0.01*nrow(X))
N
OS <- orderStatistics(X)[[1]]
OS[1:N, ]
[Package timeSeries version 4032.109 Index]