Question: Use RStudio to perform the calculations for the homework assignment. Data set sic 9 7 in Rpackage gstat includes the rainfall measurements of a specific
Use RStudio to perform the calculations for the homework assignment.
Data set sic in Rpackage gstat includes the rainfall measurements of a specific day in Switzerland at locations. After loading the data set, there should be two point pattern shapefiles: sicobs contains coordinates and rainfall for stations and sicfull has coordinates and rainfall for all stations. There is also a spatial grid dataframe called demstd. This contains the elevation of a bounding box that covers all of Switzerland.
The goal of the homework is to create a spatial interpolation of rainfall across the demstd grid based on the stations in sicobs. You should validate the interpolation results on the remaining stations.
HINT: Create a validation data set by stating with sicfull and removing any control points including in sicobs:
sicvalid sicfulliselementsicfull$ID sicobs$ID F
QUESTION:
Using the sic data set, fit an inverse distance weighting interpolation using inverse distance weighting powers of idp and Which idp results in an interpolation most closely matches the validation data set? Show numerical and written justification.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
