Find the maximum likelihood estimate of the nugget
optimize_nugget(
X,
y,
V,
lower = 0.001,
upper = 0.999,
tol = .Machine$double.eps^0.25,
debug = FALSE,
ncores = NA
)
maximum likelihood nugget estimate
numeric (double) nxp matrix
numeric (double) nx1 column vector
numeric (double) nxn matrix
lower boundary for nugget search
upper boundary for nugget search
desired accuracy of nugget search
logical: debug mode?
an optional integer indicating how many CPU threads to use for matrix calculations.
Finds the maximum likelihood nugget estimate via mathematical optimization.
To maximize efficiency, optimize_nugget()
is implemented entirely
in C++. Optimization takes place via a C++ version of the fmin
routine
(Forsythe et al 1977). Translated from http://www.netlib.org/fmm/fmin.f
The function LogLikGLS()
is optimized for nugget
. Once the
LogLikGLS()
functionality is absorbed by fitGLS()
, it will
be used instead.
?stats::optimize()