2

I use R and the gstat package to construct variograms of temperature, and I would like to ask If anyone knows what weighting scheme does the gstat package use to fit a model to the sample variogram?

2

It depends on the fit.method chosen in the function fit.variogram. If you use:

  • fit.method = 0, no fit
  • fit.method = 1, weights are equal to Nj
  • fit.method = 2, weights are equal to Nj / {γ(hj)}2
  • fit.method = 5, REML (restricted maximum likelyhood)
  • fit.method = 6, no weights (OLS = Ordinary Least Squares)
  • fit.method = 7, Nj / hj2

Please see this:

  • Table 4.2: values for fit in the Gstat user's manual
  • Details section in the fit.variogram documentation

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.