Evaluate the fit of a certain set of model parameters (theta
), and
get all relevant variables of the model.
daceObjfunc(theta, pars, what = "all")
model parameters to be evaluated
model option list, as created with dacePrepareFit
a string: "all" both the likelihood (f) and the model list (fit) will be returned, "f" and "fit specify to return only those.
A list of two elements (which are NA if what
is specified accordingly)
f
likelihood
fit
also a list list of model variables, with the following elements:
beta
generalized least squares estimate
gamma
correlation factors
sigma2
maximum Likelihood estimate of the process variance
C
Cholesky factor of correlation matrix
Ft
Decorrelated regression matrix
G
From QR factorization: Ft = Q*t(G)