MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

variogram

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42000] variogram
  • From: civnrn at hotmail.com (Rees)
  • Date: Mon, 16 Jun 2003 03:57:10 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Given the following  dataset:

x         y      T  
2.9	0.876	0.138
2.5	0.188	0.214
4.7	2.716	2.119
4.2	2.717	2.685
4.2	3.739	0.031
2.1	1.534	1.534
2.4	2.078	0.267
5.8	3.324	1.670



I want to formulate the variogram: ie the square difference
1/2[T(x,y)-T(x,y)']**2 for all measurement pairs.  For the above 8
measurements there are (n(n-1))/2 = 28 such pairs.


so for T=0.138, the first step is to compute:

0.138-0.214 then 0.138-2.119 then 0.138-2.685....then 0.138-1.670

the next step is:
0.214-2.119 then 0.214-2.685 etc [BUT NOT 0.214-0.138]

Is it possible to program this in mathematica?  Thanks in advance.

Cheers

Rees


  • Prev by Date: Re: System of ODE
  • Next by Date: Re: Mathematica doesn't start??
  • Previous by thread: Re: remote display of mathematica error
  • Next by thread: Re: variogram