powered by
Fit Brownian motion mixture with Gaussian jumps.
fit_bm_compound_poisson(data, mesh_size, thresholds = NA, jump_quantile = 0.9)
Data to fit (increments).
Time difference of data.
Jump thresholds (Defaults to NA, no filtering).
NA
Quantile above which a data vector is a jump.
List of fitted Generalised Hyperbolic distribution.
# NOT RUN { n <- 10000 delta_time <- 0.01 data <- cbind(ghyp::rghyp(n, ghyp::ghyp()), ghyp::rghyp(n, ghyp::ghyp())) fit_bm_compound_poisson(data = data, mesh_size = delta_time) # }
Run the code above in your browser using DataLab