I am generating some simulated data from a multivariate gaussian distribution with a covariance matrix sigma. To add some noise, I added an identity matrix to the covariance matrix which depicts gaussian white noise.
I then drew some samples from it, calculated the pairwise semivariance as
$\gamma(h)=\frac{1}{2N} \sum{|x_i-x_j|^2}$ where N is the total number of observations that are h distance apart.
Then I fitted a model variogram to it. I found out the nugget to be equal to 1 which makes sense because I added gaussian white noise of variance 1.
However, I then realized that it is the semivariance not variance so I should have got 1/2 i.e 0.5 as nugget isn't it(approx). I am plotting not the variogram but the semi variogram so I am a bit confused.
Suggestions? I am a bit confused. People are using the terms semi variogram and variogram with interchangeability. However, semi variogram is half of variogram. And people are like fitting variogram models(exponential, spherical etc) to the empirical semivariogram.
So I am confused. The graph of empirical semivariogram and variogram is definitely different. Variogram is double of that of semivariogram. So if I fit the model variorum, the sill param should be different as well.