View source: R/AJ_09_variation.R
AJ_09_variation | R Documentation |
Calculate sigma_hat according to Ait-Sahalia & Jacod (2009) "Estimating the degree of activity of jumps in high frequency data"
AJ_09_variation(DATA, k = 3, p = 4, gamma = 2, a = 10)
DATA |
A data.table with structure as provided in the example. |
k |
The degree of subsampling the frequency in the multipower variation. Defaults to 3. |
p |
The power for computing the multipower variation. Defaults to 4. |
gamma |
Value >1 for amplifying the truncation. Defaults to 2. |
a |
The level of truncation expressed in terms of numbers of stdev of the continuous part. Defaults to 10. |
Returns the variation estimation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.