[R-sig-Geo] Error gstat function krigeST

Edzer Pebesma edzer.pebesma at uni-muenster.de
Sun Aug 3 11:14:52 CEST 2014


Dear Francesco, there are several reasons why this could happen. The
first one I would look at is whether you have duplicate observations,
meaning observations that share exactly the same spatial and temporal
coordinate. Let me know if it helped,

On 07/31/2014 05:45 PM, Francesco Tonini wrote:
> Dear all,
> 
> I am working with an hourly dataset of air temperature, recorded at ~200
> stations over a relatively small area. I chose a space-time variogram
> (e.g. sum-metric) to fit my data and am now trying to make predictions
> over my same stations in order to fill NA (missing value) gaps. When
> using the krigeST() function over daily aggregated data everything seems
> to go smooth but when I use it at the original hourly resolution I
> always get the following error:
> 
> Error in chol.default(A)
> the leading minor of order 68 is not positive definite
> 
> I googled it and found that it is related to a matrix not being
> completely positive-definite. However, I am not sure why this happens
> and was wondering if any of you know a way of fixing this (a workaround
> to avoid it).
> 
> Thanks!
> Francesco
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Heisenbergstraße 2, 48149 Münster, Germany. Phone: +49 251
83 33081 http://ifgi.uni-muenster.de GPG key ID 0xAC227795

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20140803/4706ce51/attachment.bin>


More information about the R-sig-Geo mailing list