View source: R/ldhmm-simulate_abs_acf.R
ldhmm.simulate_abs_acf | R Documentation |
This utility simulates the auto-correlation. The first few lag of ACF should match the ACF from the market data fairly well. This is a major validation of a successful HMM. Be aware this is a CPU intensive calculation. It uses the multi-core functionality.
ldhmm.simulate_abs_acf(object, n = 10000, lag.max = 5, debug = FALSE)
object |
an ldhmm object that can supply m, param.nbr and stationary. |
n |
a positive integer specifying number of observations to simulate. |
lag.max |
a positive integer, specifying number of lags to be computed. |
debug |
logical, specifying to print progress message or not. Default is |
a vector of ACF
Stephen H. Lihn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.