Qalpha | R Documentation |
Q^{\alpha}
Estimates Q-alpha using the first k
elements of a time series.
Qalpha(x, alpha = 0.8)
x |
numeric vector. |
alpha |
quantile. Numeric value in (0, 1] |
\hat{Q}^{\alpha}_{1:k} = U_{1:k}^{-1}(\alpha) = \inf\{x | \alpha \leq U_{1:k}(x)\},
where U_{1:k}
is the empirical distribtion function of |x_i - x_j|, \, 1 \leq i < j \leq k
.
Numeric vector of Q^{\alpha}
-s estimated using x[1], ..., x[k]
, k = 1, ..., n
, n
being the length of x
.
x <- rnorm(10)
Qalpha(x, 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.