Knowee
Questions
Features
Study Tools

a. Produce a sample variogram on the interval [0,1] using 20 bins.(0.5 mark)b. Fit the spherical variogram to the sample variogram by using ordinary least squares. Use the initial values (1, 0.5) and nugget = 0.5.(0.5 mark)c.   Consider the location (1, 0.5). Plot locations of the data in black and this location in red in the same image.(0.5 mark)d. Use the kriging method to compute the predicted value and the variance at the point (1, 0.5). Round the answers with 4 decimal places. (0.5 mark)e. Perform a prediction(kriging) on a grid covering the area [0,2]x[0,2].  Plot the result.(0.5 mark)f. Explain the obtained plot.(1 mark)g. To prepare your data for cross-validation, use the R commands> a <- as.data.frame(s256i$data)> s <- SpatialPointsDataFrame(s256i$coords, a, proj4string=CRS(projargs=as.character(NA)), match.ID=TRUE)> v.fit <- as.vgm.variomodel(ols.n)where ols.n is the variogram fitted by the ordinary least squares method.Cross-validate your model by using leave-one-out cross-validation and a bubble plot of the result.(0.5 mark)h. Explain the obtained plot.(1 mark)i. Cross-validate your model by using 10-fold  cross-validation and a bubble plot of the result. Explain the obtained plot. and differences with leave-one-out cross-validation from f and g.(1 mark)j. Optimize the monitoring network using the criterion of minimum mean kriging variances.  Which data point has the maximum mean kriging variance?(0.5 mark)

Question

a. Produce a sample variogram on the interval [0,1] using 20 bins.(0.5 mark)b. Fit the spherical variogram to the sample variogram by using ordinary least squares. Use the initial values (1, 0.5) and nugget = 0.5.(0.5 mark)c.   Consider the location (1, 0.5). Plot locations of the data in black and this location in red in the same image.(0.5 mark)d. Use the kriging method to compute the predicted value and the variance at the point (1, 0.5). Round the answers with 4 decimal places. (0.5 mark)e. Perform a prediction(kriging) on a grid covering the area [0,2]x[0,2].  Plot the result.(0.5 mark)f. Explain the obtained plot.(1 mark)g. To prepare your data for cross-validation, use the R commands> a <- as.data.frame(s256idata)>s<SpatialPointsDataFrame(s256idata)> s <- SpatialPointsDataFrame(s256icoords, a, proj4string=CRS(projargs=as.character(NA)), match.ID=TRUE)> v.fit <- as.vgm.variomodel(ols.n)where ols.n is the variogram fitted by the ordinary least squares method.Cross-validate your model by using leave-one-out cross-validation and a bubble plot of the result.(0.5 mark)h. Explain the obtained plot.(1 mark)i. Cross-validate your model by using 10-fold  cross-validation and a bubble plot of the result. Explain the obtained plot. and differences with leave-one-out cross-validation from f and g.(1 mark)j. Optimize the monitoring network using the criterion of minimum mean kriging variances.  Which data point has the maximum mean kriging variance?(0.5 mark)

...expand
🧐 Not the exact question you are looking for?Go ask a question

Solution

I'm sorry, but as an AI, I'm not able to generate plots or perform calculations. However, I can guide you on how to approach these tasks.

a. To produce a sample variogram, you would first need to have a dataset. Once you have your dataset, you can use the variogram function from the gstat package in R to calculate the variogram. The bins argument can be set to 20.

b. To fit the spherical variogram, you can use the fit.variogram function from the gstat package with the model argument set to "Sph". The initial values and nugget can be set in the vgm function.

c. To plot the locations, you can use the plot function in R. You can plot the data locations in black using the points function and then add the location (1, 0.5) in red using the points function again.

d. To compute the predicted value and the variance at the point (1, 0.5), you can use the krige function from the gstat package. The result can be rounded to 4 decimal places using the round function.

e. To perform a prediction on a grid covering the area [0,2]x[0,2], you can first create a grid using the expand.grid function and then use the krige function to perform the prediction. The result can be plotted using the spplot function from the sp package.

f. The obtained plot would show the predicted values over the grid. The explanation would depend on the specific results.

g. To prepare your data for cross-validation, you can use the provided R commands. The SpatialPointsDataFrame function is used to create a spatial points data frame and the as.vgm.variomodel function is used to convert the fitted variogram to a variogram model.

h. The obtained plot would show the results of the cross-validation. The explanation would depend on the specific results.

i. To perform 10-fold cross-validation, you can use the cv function from the caret package. The explanation would depend on the specific results and differences with leave-one-out cross-validation.

j. To optimize the monitoring network, you can use the optimize function in R. The data point with the maximum mean kriging variance can be found by comparing the variances of the data points.

This problem has been solved

Similar Questions

Use data s256i from the package geoR. This is the simulated data set with the coordinates of data locations and numeric data at them.a. Produce a sample variogram on the interval [0,1] using 20 bins.(0.5 mark)b. Fit the spherical variogram to the sample variogram by using ordinary least squares. Use the initial values (1, 0.5) and nugget = 0.5.(0.5 mark)c.   Consider the location (1, 0.5). Plot locations of the data in black and this location in red in the same image.(0.5 mark)d. Use the kriging method to compute the predicted value and the variance at the point (1, 0.5). Round the answers with 4 decimal places. (0.5 mark)e. Perform a prediction(kriging) on a grid covering the area [0,2]x[0,2].  Plot the result.(0.5 mark)f. Explain the obtained plot.(1 mark)g. To prepare your data for cross-validation, use the R commands> a <- as.data.frame(s256i$data)> s <- SpatialPointsDataFrame(s256i$coords, a, proj4string=CRS(projargs=as.character(NA)), match.ID=TRUE)> v.fit <- as.vgm.variomodel(ols.n)where ols.n is the variogram fitted by the ordinary least squares method.Cross-validate your model by using leave-one-out cross-validation and a bubble plot of the result.

Plot points with top and bottom 5%  mean kriging variance (use different point shapes for top and bottom points).

variogram and how it is used in geospatial statistics

k. Which data point has the second maximal mean kriging variance?(0.5 mark)

e. Perform a prediction(kriging) on a grid covering the area [0,2]x[0,2].  Plot the result.(0.5 mark)f. Explain the obtained plot.

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.