Estimation Helper Functions
functions which provide the theoretical covariance [getCov()] and area [getArea()] for specific models and parameter values
getCov(t1, t2, model, p)
t1
: time 1t2
: time 2model
: the modelp
: vector of the auto-correlation parameters i.e. p = c(tau.z, tau.v)getCov(t1, t2, model, p)
calculates the covariance matrix for different models. mvrnorm2
is a slightly more efficient multivariate normal function.
Useful links