Skip to content
Prev 4846 / 29559 Next

OCK in gstat and co-located [SEC=UNCLASSIFIED]

Hi Jin, you're not the first to run into this one; read the fit.lmc 
documentation.

fit.lmc fits partial sill matrices that may have perfect correlation 
among variables. To avoid so, you could instead of
Jin.Li at ga.gov.au wrote:
...
try:
mud.ock.fit = fit.lmc(x, mud.ock, correct.diagonal = 1.01)

or a larger value. This gets the correlation down to say .99 instead of 
1.0; 1.0 is allowed (I believe) for a LMC, but then you run into trouble 
when the secondary variable is collocated with the first.

There's also ways of avoiding predict.gstat to do this check, but that 
might lead to trouble further down the pipeline.
--
Edzer