simulatedData_withcov: Simulated dataset 1 with covariates

simulatedData_withcovR Documentation

Simulated dataset 1 with covariates

Description

A list of data used for package testing and demos. Both a and logb are simulated on smooth deterministic surfaces depending linearly on two covariates.

Usage

simulatedData_withcov

Format

A list containing the simulation parameters and simulated data on a 20x20 grid:

locs

A 400x2 matrix. First column contains longitudes and second contains latitudes

a

A length 400 vector. GEV location parameters

logb

A length 400 vector. Log-transformed GEV scale parameters

logs

A scalar. Log-transformed GEV shape parameter shared across space

y

A length 400 list of vectors which are observations simulated at each location

beta_a

A length 3 vector containing the regression coefficients for a, with the first element being the intercept, the second element as the coefficient for covariate 1, and the third for covariate 2

beta_b

A length 2 vector containing the regression coefficients for b, with the first element being the intercept and the second element as the coefficient for covariate 1

covariates

A 400x3 design matrix containing the covariates, with the first column being all 1s for intercept


meixichen/SpatialGEV documentation built on Nov. 10, 2024, 12:23 a.m.