Empirical Dynamic Quantile for Visualization of High-Dimensional Time Series
Empirical Dynamic Quantile for Visualization of High-Dimensional Time Series
Compute empirical dynamic quantile (EDQ) for a given probability "p" based on the weighted algorithm proposed in the article by Peña, Tsay and Zamar (2019).
edqts(x, p =0.5, h =30)
Arguments
x: T by k data matrix: T data points in rows with each row being data at a given time point, and k time series in columns.
p: Probability, the quantile series of which is to be computed. Default value is 0.5.
h: Number of time series observations used in the algorithm. The larger h is the longer to compute. Default value is 30.
Returns
The column of the matrix x which stores the "p" EDQ of interest.