Under the Mat<U+00E9>rn correlation model, corrHLfit typically performs a optimization over the \(\rho\) and \(\nu\) parameters,
with maximum possible values as set by spaMM.options
.
By default corrHLfit
will estimate correlation parameters by maximizing the objective
value returned by HLCor
calls wherein the dispersion parameters are estimated jointly with fixed effects for given correlation parameters. If dispersion parameters are specified in init.corrHLfit
, they will also be estimated by maximizing the objective
value, and HLCor calls
will not estimate them jointly with fixed effects. This means that in general the fixed effect estimates may vary depending on init.corrHLfit
when any form of REML correction is applied.
Correctly using corrHLfit
for likelihood ratio tests of fixed effects may then be tricky. It is safe to perform full ML fits of all parameters (using HLmethod="ML"
) for such tests (see Examples). The higher level function fixedLRT
is a safe interface for likelihood ratio tests using some form of REML estimation in corrHLfit
.
attr(<fitted object>,"optimInfo")$lower
and ...$upper
gives the lower and upper bounds for optimization of correlation parameters. These are the default values if the user did not provide explicit values. For the adjacency model, the default values are the inverse of the maximum and minimum eigenvalues of the adjMatrix
. For the Mat<U+00E9>rn model, the default values are not so easily summarized: they are intended to cover the range of values for which there is statistical information to distinguish among them.