Class definition for the fSD model.
Let X_t
denote the true position of an fBM process at time t
. The Savin-Doyle localization error model describes the measured position Y_n
at time t = n dt
as
where eps_n ~iid N(0,1)
is a Gaussian white noise process. The resulting MSD as a function of tau
and sigma2 = sigma^2
is what gets passed to the csi_model base class to construct the fsd_model
derived class.
subdiff::csi_model
-> fsd_model
phi_names
Kernel parameter names. A subset of (alpha, tau, sigma2)
(see csi_model and fsd_model$initialize()
).
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.
phi
See csi_model.
itrans()
Transform kernel parameters from computational to regular basis.
psi
See csi_model.
get_subdiff()
Transform parameters from computational basis to subdiffusion parameters.
omega
See csi_model.
# simulate data from the fsd model
alpha <- .8
tau <- .1
sigma2 <- .01
dt <- 1/60
N <- 1800
ndim <- 2
Xt <- csi_sim(drift = matrix(0, N-1, ndim),
acf = fsd_acf(alpha, tau, sigma2, dt, N-1),
Sigma = diag(ndim),
X0 = rep(0, ndim))
# create fsd model object
model <- fsd_model$new(Xt = Xt, dt = dt, drift = "linear")
# evaluate loglikelihood
model$loglik(phi = c(alpha = alpha, tau = tau, sigma2 = sigma2),
mu = rep(0, ndim),
Sigma = diag(ndim))
#> [1] 241.5399