Skip to content
VestaDocs home

Variography

Fit a variogram model in Vesta Online: choose the variable, build the experimental variogram, let Vesta fit the model, save it and reuse it in kriging.

Online9 min readUpdated Nov 2026

Variography measures how a variable’s similarity decays with distance and fits a model to that decay. The fitted model, a variogram, is what kriging uses to weight observations. This walk-through uses the Well-water arsenic sample (186 wells), copied into a new project. It fits a variogram to the arsenic values with the defaults at the Guided level, saves it, reads the result and then picks the saved model in kriging. It also sets the model by hand, adds a leave-one-out cross-validation and switches anisotropy on at Full control, then restores Auto-fit and turns anisotropy off before saving. Other options (the Automatic guidance level, a Trend, the Indicator and Compositional value types and Manual lag mode) are described from Vesta’s own text and were not walked.

  1. Open the sample projectOpen a project that holds your point data. This walk uses a copy of the Well-water arsenic sample, so the sample itself stays untouched. Its dataset Salt Lake County wells has 186 wells.
  2. Choose VariographyChoose Analyze, then Describe spatial structure, then Variography. The flow has seven steps: Analysis, Variable, Experimental, Model, Anisotropy, Save and Summary.
  3. Choose the dataset and the variableUnder Dataset choose Salt Lake County wells, and under Variable choose Arsenic (µg/L). Leave the value type on Continuous. Choose Next: Experimental.
  4. Set the lagsOn Experimental, leave the estimator on Traditional and the lag count at 20. The plot beside the settings shows the experimental points, the fitted curve and a dashed line for the sample variance, and refits as you change a setting.
  5. Choose the modelOn Model, leave the family on Auto, which tries Spherical, Exponential and Cubic and keeps the best fit. Leave Nested structures at 2. The model is saved under the name in Variogram name, by default the variable's name followed by Variogram.
  6. Or set the model by handTo set the fit yourself, clear Auto-fit model, sills & ranges on Model. At Guided, the default level, the Nugget field and one card per structure, with its type, sill and range, appear, starting from the last fit, and the fit numbers beside the plot follow what you enter. This walk sets the nugget to 300.
  7. Turn auto-fit back onTick Auto-fit model, sills & ranges again. The hand-set nugget no longer shows beside the plot.
  8. Add a cross-validationTo check the fitted model against the data, tick Compute leave-one-out cross-validation on Model. Vesta holds each observation back in turn, predicts it from the rest with the fitted model and adds the mean error, RMSE and RMSSE to the report and summary. It makes the run longer on large datasets. This walk leaves it ticked through the save.
  9. Check for anisotropyOn Anisotropy, leave Include anisotropy off for one range in every direction. This walk leaves it off first.
  10. Or turn anisotropy onTick Include anisotropy and raise the guidance level to Full control. Lags & bins and a Specification appear. Auto-detect fits the direction and ranges from the data and reports what it detected, with a confidence and a direction; here it reports no significant anisotropy. Choose Manual to enter the azimuth of the major axis, one value for every structure, and each structure's major and minor ranges, or drag the round handle on the ellipse to set the azimuth; dragging it due east set the Azimuth field near 90. With anisotropy on, the plot shows the experimental points in four directions.
  11. Turn anisotropy off againClear Include anisotropy and return the guidance level to Guided before you save.
  12. Save the variogramChoose Save variogram. The fit runs on the server, and the Summary step lists what was saved: the variogram model, a report and an analysis summary, plus the cross-validation results when Compute leave-one-out cross-validation is ticked.
  13. Open the result workspaceChoose Open in workspace. The result workspace opens with the analysis summary, the variogram plot, the variogram map and the fit summary.
  14. Read the summaryUse Focus on the summary panel to read it full width. It describes the fitted model, its parameters and the relative nugget effect.
  15. Use the model in krigingStart Kriging, choose the same variable and, on the Variogram step, choose Use a saved model. Pick the saved model from the Variogram model list. Kriging reuses it without refitting.
VariableThe Variography Variable step with Salt Lake County wells and Arsenic chosen, the Continuous value type selected and the dataset facts beside them
Step 2 of 7: the dataset, the variable and the value type. The panel on the right counts the dataset's objects, numeric variables and time steps.

Objects with a missing value are left out of every pair, not zero-filled. The value type sets how continuity is measured:

Value typeWhat it models
ContinuousA measured quantity, such as a concentration.
IndicatorThe continuity of a categorical or binary variable: the presence of each category.
Compositional (logratio)A group of variables that are parts of a whole, modeled together in logratio space. It needs a variable group in the dataset.

The Trend choice, below the value type, is for universal kriging. With a trend chosen, Vesta removes the trend before the variogram is computed, so the model describes the residuals, and universal kriging adds the same trend back when it predicts.

Experimental & fitted variogramThe experimental variogram plot of Arsenic with its fitted curve, a dashed variance line and a legend reading Experimental, Model and Variance, with the fit numbers below
Points are the lag bins, the curve is the fitted model and the dashed line marks the sample variance. Below the plot: the model, the fitted nugget, sill and range, the lag count and number of objects, and R-squared.

Each point is one lag bin: the mean semivariance of every pair whose distance falls in it. Long-range lags carry few pairs and are the noisiest, so they should not drive the fit. The estimators include Traditional, Standardized and Weighted; Weighted needs a weight variable. The plot is recomputed on the server on every change, so it shows the current fit, not a preview of it.

By default Vesta chooses the lag width from the extent of the data; the lag width becomes a control when you raise the guidance level to Full control. The Spatio-temporal option turns the variogram into a space-time surface, with both plots in 3D over spatial and temporal lag. It needs data at more than one time: the wells carry a single time, so it cannot be used here.

ModelThe Variography Model step with Auto selected among Auto, Spherical, Exponential and Cubic, Nested structures set to 2, the Auto-fit box and the Variogram name field, with the fitted plot beside them
Step 4 of 7: Auto, Spherical, Exponential or Cubic, the number of nested structures and the name the model is saved under. The fit in the right column is Cubic, with an R-squared of 0.8447.

Spherical reaches its sill at the range, Exponential approaches it, and Cubic is smooth near the origin. Each nested structure adds a sill and a range. Vesta sets each structure’s partial sill and range from the fit. R-squared weighs the fitted curve against the points; a tighter fit is not automatically better, so do not over-fit noisy long-range lags.

With Auto-fit model, sills & ranges ticked, Vesta fits the nugget and each structure’s sill and range. Clearing the box overrides that fit: a Nugget field and a card per structure, with Type, Sill and Range, appear, starting from the last fit, and the model uses the values you enter. The walk showed these fields at Guided, the default level.

Model, set by handThe Variography Model step at the Guided level with Auto-fit model, sills and ranges cleared, a Nugget field set to 300 and a Structure 1 card with Type Cubic, Sill and Range
Auto-fit cleared at Guided: the Nugget field and a card per structure appear below the model settings. Here the nugget is 300, and the fit numbers beside the plot follow it.
Model, cross-validationThe Variography Model step with the Compute leave-one-out cross-validation box ticked under Cross-validation, with its note about the mean error, RMSE and RMSSE
The Cross-validation box on the Model step, ticked. It is available at Guided.

Leave-one-out cross-validation holds each observation back in turn and predicts it from the rest with the fitted model, then adds the mean error, RMSE and RMSSE to the report and summary. It makes the run longer on large datasets. It is not available for a space-time model, a compositional model or a cross-variogram, and the box says so when that is the case. On the arsenic wells it reported a mean error of -0.216, an RMSE of 41.959 and an RMSSE of 0.908. Read them as the summary does: the mean error should be close to 0, a smaller RMSE is better, and an RMSSE near 1 means the model states its uncertainty about right. The Summary step lists the cross-validation among what was saved.

AnisotropyThe Variography Anisotropy step with Include anisotropy unticked, a note that Vesta decides the rest at this guidance level, and the fitted variogram beside it
Step 5 of 7: anisotropy is off, so the model has one range in every direction. The last step before saving shows Save variogram.

With anisotropy on, the step adds Lags & bins and, at Full control, a Specification, and the pairs are split across four directions. Auto-detect detects the direction during the fit and shows a Detected card with a confidence and a direction; Re-detect anisotropy from data refits. In this run it reported a confidence of 0% and no significant anisotropy. Manual gives you the Azimuth of major axis, in degrees clockwise from north (0 to 180), and a major and a minor range for each structure.

Anisotropy, ManualThe Variography Anisotropy step at Full control with Manual selected, the Azimuth of major axis field and the Ranges per structure card with a major range, a minor range and an Isotropic box
Manual: one azimuth for every structure, and a major and a minor range for each.
SummaryThe Variography Summary step listing the saved variogram model, report and analysis summary, two What to check cards and the result workspace with its four panels
Step 7 of 7: what was saved, what to check and the result workspace the run created.

Variography creates a saved model, a report and a summary, not variables. A model fitted on the values serves Simple and Ordinary kriging; a residual model, fitted with a trend, serves universal kriging with the same trend. Either is reused without refitting.

The What to check cards flag the two things to look at first. In this run, the range of 43,451 is larger than the maximum lag distance of 28,967, which means the fit is extrapolating the far tail. The nugget is 7.1% of the sill.

Remove results removes what this run created and nothing else, by restoring the project version it replaced. Only one analysis of yours runs at a time: if another is still running when you save, the step says so, and you can try again when it has finished.

Variogram ResultThe Variogram Result workspace with the analysis summary, the variogram plot with its dashed Variance line, the variogram map and the Variogram fit card reading Cubic, 7.1%, 43,451 m and 0.845
The analysis summary, the variogram plot, the variogram map and the fit summary. The fit card gives the model, the relative nugget effect, the key range and the goodness of fit.
Variogram Model SummaryThe Variogram Model Summary at full width: one Cubic structure after two were started, the nugget, sill, range, effective range and RNE, the model equation and the parameter list
The summary describes the whole fitted model. Here the fit started from 2 nested structures and dropped one that had no partial sill, leaving 1 Cubic structure.
ParameterWhat it means
NuggetVariation at zero distance: measurement error, or structure finer than the sampling.
SillThe level at which the model levels off: the nugget plus every partial sill. It is the model's estimate of the total variance.
RangeThe distance at which the model reaches its sill. Pairs closer than the range are spatially correlated; pairs farther apart are effectively independent. For Exponential, use the effective range.
Effective rangeFor models that approach the sill gradually (Exponential), the distance at which about 95% of the sill is reached. For Spherical and Cubic it equals the range.
Relative nugget effect (RNE)The share of the total sill that comes from the nugget.

The sill is fitted to the experimental points, so it can differ from the sample variance, which the plot draws as the dashed Variance line. In this run the sill is 3,001 and the dashed line sits near 2,150. The semivariance is still rising at the largest lag, well above the dashed line, so the fitted range lies beyond the data and the fitted sill sits above the sample variance. Semivariance that keeps climbing past the sample variance often signals a trend; if one is plausible, fit a residual variogram with a Trend and use universal kriging.

When the fit leaves a structure with no partial sill, that structure adds nothing to the model, so Vesta drops it and the summary says so. This run started from 2 nested structures and kept 1.

RNEWhat it indicates
Below 25%Strong spatial structure: most variance is explained by spatial correlation rather than random noise or measurement error.
25% to 75%Moderate spatial dependence: a mix of spatially structured signal and unstructured noise.
Above 75%Weak spatial dependence: most variability is micro-scale heterogeneity or measurement error.

A large nugget means measurement error or structure finer than the sampling, and kriging on such a model smooths heavily. A range near or past the maximum lag means the fit is extrapolating the far tail, so treat the range as uncertain; at Full control you can set a wider lag width.

Kriging · VariogramThe Kriging Variogram step with Use a saved model selected and the Arsenic variogram chosen from the list, with the panel reading Fitted on the values, Found in project 1, Fitted by Variography
In kriging, Use a saved model lists the project's fitted models. The panel says what the chosen model was fitted on and how many the project holds.

A variogram is fitted once and reused. Nothing on the kriging Variogram step recomputes it, so to change its range, sill or nugget, go back to Variography, or choose Fit a model here, which fits one inside the kriging run. See Kriging for the rest of that flow.

  • Interpolate with the saved model: Kriging.
  • Run the full path from import to result: Quickstart.
Was this page helpful?
© 2026 BioMedware, Inc. · docs.vestastats.comWebsiteAcademyDesktop docsPrivacyAccessibility