countJumps | R Documentation |
Counts the number of jumps X_n >= a (and the other respective events) for some jump-threshold a for different periods
countJumps( prices, jump_thresh = 0.01, return_type = "arithmetic", side = "down", period = "weekly" )
prices |
the time-series of close prices |
jump_thresh |
the jump-threshold (positive) |
return_type |
the return type "log" or "arithmetic |
side |
the side of the jump: "up", "down" or "both" |
period |
the period, "daily", "weekly", "monthly", "quarterly", "yearly" |
time-series of counts per period
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.