Simulated data list with response variable distributed with 'powered exponential' covariance matrix, with \(\phi=25, \tau=1, \kappa=1, \sigma=1\).
data(gdata)A sample dataset with 1000 observations. It's save as an R's native list, and see the table for description of variables in the gdata list,
| VARIABLE | SIZE | DESCRIPTION |
coords |
\((1000\times 2)\) matrix | 2D location for each observation |
y |
length-\(1000\) vector | response value |
This is the default example data for SAMCrsa.
Below is the code used to generate gdata:
require("geoR")
require("RandomFields")
DataNum=1000
gData=grf(DataNum,grid="irreg",DataNum,DataNum,xlims=c(0,100),ylims=c(0,100),nsim=1,mean=0,
cov.mode="powered.exponential",cov.par=c(1,25),nugget=1,kappa=1)
gdata = list(y=gData$data+.5+rnorm(DataNum), X=rnorm(DataNum), coords=gData$coords)