Class definition for the fBM model.
Fractional Brownian motion X_t is the only (zero-mean) continuous stationary increments (CSI) Gaussian process having mean square displacement (MSD) function given by the power law
with subdiffusion exponent 0 < alpha < 2. The resulting MSD as a function of alpha is what gets passed to the csi_model base class to construct the fbm_model derived class.
subdiff::csi_model -> fbm_model
phi_namesKernel parameter names. In this case, the character string alpha. See csi_model.
Inherited methods
subdiff::csi_model$drift()subdiff::csi_model$fisher()subdiff::csi_model$fit()subdiff::csi_model$get_omega()subdiff::csi_model$get_vcov()subdiff::csi_model$initialize()subdiff::csi_model$itrans_full()subdiff::csi_model$loglik()subdiff::csi_model$msd()subdiff::csi_model$nlp()subdiff::csi_model$nu_hat()subdiff::csi_model$resid()subdiff::csi_model$sim()subdiff::csi_model$trans_full()
trans()Transform kernel parameters from regular to computational basis.
phiSee csi_model.
itrans()Transform kernel parameters from computational to regular basis.
psiSee csi_model.
get_subdiff()Transform parameters from computational basis to subdiffusion parameters.
omegaSee csi_model.
# simulate data from the fbm model
alpha <- .8
dt <- 1/60
N <- 1800
ndim <- 2
Xt <- csi_sim(drift = matrix(0, N-1, ndim),
acf = fbm_acf(alpha, dt, N-1),
Sigma = diag(ndim),
X0 = rep(0, ndim))
# create fbm model object
model <- fbm_model$new(Xt = Xt, dt = dt, drift = "linear")
# evaluate loglikelihood
model$loglik(phi = c(alpha = alpha),
mu = rep(0, ndim),
Sigma = diag(ndim))
#> [1] 859.9225