EstimatedVariogramModel
EstimatedVariogramModel[{loc1val1,loc2val2,…}]
estimates the best variogram function from values vali given at locations loci.
EstimatedVariogramModel[{loc1,loc2,…}{val1,val2,…}]
generates the same result.
EstimatedVariogramModel[…,"model"]
estimates the best parameters of the variogram function specified by "model".
EstimatedVariogramModel[…,{"model",params}]
estimates the non-numeric parameters in params.
Details and Options
- Variogram model is also known as variogram and semivariogram.
- EstimatedVariogramModel fits a model to the spatial field data and returns a VariogramModel.
- VariogramModel is typically used as a local model of spatial dependence when predicting values of a spatial field, as in SpatialEstimate.
- The variogram for a spatial process at locations and is given by . It is a measure of how quickly the process varies spatially.
- When a process is weakly stationary, then the variogram depends only the difference of locations, i.e. . And when the process is isotropic, it only depends on the distance between locations .
- Typical examples of spatial field data that is stationary and isotropic together with the corresponding variogram.
- With automatic settings, this is all that is needed, but if you want to provide detailed control over the variogram model there are further aspects to understand. The two main issues are the range and level of smoothing.
- The range for the variogram indicates how far the dependence on nearby points extends. A larger range variogram will correspond to a slower varying field.
-
- The range of the variogram controls the distance at which points influence the range of prediction of values in SpatialEstimate.
- The smoothness of the prediction is affected by the so-called spatial noise variance of the variogram, which is the value at the origin. It corresponds to adding a white noise model, e.g. measurement errors or true discontinuities in data such as a gold nugget.
- The size of the spatial noise variance controls the level of smoothing of values in SpatialEstimate. In particular, with a nonzero noise variance, the resulting surface will not interpolate the given values but instead approximate them.
- The locations loci can have the forms:
-
{p1,…,pd} geometrical locations GeoPosition[…],GeoPositionENU[…],… geographical locations - The values vali can have the forms:
-
ci scalar value Quantity[ci,"unit"] scalar quantity - The models need to satisfy consistency conditions to be a valid spatial variogram. It must be a non-negative function and satisfy the conditionally negative definite condition for all weights wi such that and locations pi. The valid model families can be grouped into tables with similar features, and these are enumerated in VariogramModel.
- The following options can be given:
-
SpatialNoiseLevel Automatic specify the noise variance in the model SpatialTrendFunction Automatic specify the global trend model
Examples
open allclose allBasic Examples (2)
Scope (2)
Options (3)
SpatialNoiseLevel (1)
Specify noise level using SpatialNoiseLevel:
Estimate variogram model assuming zero noise level:
SpatialTrendFunction (2)
Specify trend function using SpatialTrendFunction:
Estimate variogram model assuming constant trend:
Estimate variogram model assuming linear trend:
Look at data with a linear trend:
Without detrending, the variogram is well fit by an unbounded model:
Removing the large scale trend gives us a better idea of the micro scale variation:
Applications (2)
Estimate a variogram model for SpatialPointData:
Compute the BinnedVariogramList to get an idea of which model family to choose:
Fit a few asymptotic variogram models:
Visualize the fit of the variogram models to the binned variogram of the data:
Out of the four models, Matern fits best and could be used for spatial estimation:
Use fit residuals to choose the best variogram model:
Compute the weighted sum of residuals from the fit:
Visualize the fit of variogram models to the binned variogram of the data:
Choose the model with the smallest weighted sum of residuals and use it to compute spatial estimate:
Text
Wolfram Research (2021), EstimatedVariogramModel, Wolfram Language function, https://reference.wolfram.com/language/ref/EstimatedVariogramModel.html.
CMS
Wolfram Language. 2021. "EstimatedVariogramModel." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EstimatedVariogramModel.html.
APA
Wolfram Language. (2021). EstimatedVariogramModel. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EstimatedVariogramModel.html