Re: [R-sig-Geo] another covariance matrix question

2013-12-08 Thread Edzer Pebesma


On 12/07/2013 08:18 PM, Hodgess, Erin wrote:
 Hi again.
 
 I have a question about covariance matrices (again)
 
 Suppose we have an exponential model with c=2 and a=3.
 
 Then for
 
 c_{ij} = c exp(-h_{ij}/a),
 when i=j,
 we should have:
 c_{ii} = 2 exp(0) = 2
 
 But shouldn't c_{ii} = 1, please?

No, the covariance matrix has variances on the diagional, the
correlation matrix has 1 on the diagonal.

 
 Thanks,
 Erin
 
 
   [[alternative HTML version deleted]]
 
 ___
 R-sig-Geo mailing list
 R-sig-Geo@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

___
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo


Re: [R-sig-Geo] another covariance matrix question

2013-12-08 Thread Hodgess, Erin
Eeek!  I can't believe it.  Thanks so much!


From: r-sig-geo-boun...@r-project.org [r-sig-geo-boun...@r-project.org] on 
behalf of Edzer Pebesma [edzer.pebe...@uni-muenster.de]
Sent: Sunday, December 08, 2013 2:16 PM
To: r-sig-geo@r-project.org
Subject: Re: [R-sig-Geo] another covariance matrix question

On 12/07/2013 08:18 PM, Hodgess, Erin wrote:
 Hi again.

 I have a question about covariance matrices (again)

 Suppose we have an exponential model with c=2 and a=3.

 Then for

 c_{ij} = c exp(-h_{ij}/a),
 when i=j,
 we should have:
 c_{ii} = 2 exp(0) = 2

 But shouldn't c_{ii} = 1, please?

No, the covariance matrix has variances on the diagional, the
correlation matrix has 1 on the diagonal.


 Thanks,
 Erin


   [[alternative HTML version deleted]]

 ___
 R-sig-Geo mailing list
 R-sig-Geo@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

___
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

___
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo