Usage
mcmc.fmove(xy,t,fdabasis,tpred=t,QQ="CAR2",a=1,b=1,r=1,q=1,
n.mcmc=100,num.paths.save=10,sigma.fixed=NA)Arguments
xy
A two-column matrix with each row corresponding to the x,y locations
of a telemetry location.
t
A numeric vector of length = nrow(xy), with the i-th entry corresponding
to the time of the i-th telemetry location in xy.
fdabasis
A "basisfd" object, typically resulting from a call to
"create.bspline.basis" in the fda package. Other basis functions
can be used.
tpred
Numeric vector of times to impute the quasi-continuous path.
QQ
The precision matrix of the fda basis coefficients. This can either
be a string, taking on values of "CAR1" or "CAR2", or can be a user
specified matrix (or sparse matrix using the Matrix package) of
dimension equal to the number of basis fun
a
The shape parameter of the inverse gamma prior on the observation
variance.
b
The scale parameter of the inverse gamma prior on the observation
variance.
r
The shape parameter of the inverse gamma prior on the partial sill
parameter of the spline basis coefficients.
q
The scale parameter of the inverse gamma prior on the partial sill
parameter of the spline basis coefficients.
n.mcmc
Number of mcmc iterations to run.
num.paths.save
Number of quasi-continuous path realizations to save. Defaults to
10.
sigma.fixed
Numeric value (or the default NA). If NA, then the observation
variance sigma^2 is estimated using MCMC. If a numeric value, this
is the fixed standard deviation of the observation error.