Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

statistics-orderStatistics

order Statistics


Description

Computes order statistic of a 'timeSeries'.

Usage

orderStatistics(x)

Arguments

x

an univariate 'timeSeries' object.

Value

Function orderStatistics returns the order statistic of an univariate 'timeSeries' object. The output is an object of class 'list'.

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, ]

timeSeries

Financial Time Series Objects (Rmetrics)

v3062.100
GPL (>= 2)
Authors
Diethelm Wuertz [aut] (original code), Tobias Setz [cre], Yohan Chalabi [ctb], Martin Maechler [ctb] (<https://orcid.org/0000-0002-8685-9910>)
Initial release
2020-01-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.