Package: SpatialGEV 1.0.1

Meixi Chen

SpatialGEV: Fit Spatial Generalized Extreme Value Models

Fit latent variable models with the GEV distribution as the data likelihood and the GEV parameters following latent Gaussian processes. The models in this package are built using the template model builder 'TMB' in R, which has the fast ability to integrate out the latent variables using Laplace approximation. This package allows the users to choose in the fit function which GEV parameter(s) is considered as a spatially varying random effect following a Gaussian process, so the users can fit spatial GEV models with different complexities to their dataset without having to write the models in 'TMB' by themselves. This package also offers methods to sample from both fixed and random effects posteriors as well as the posterior predictive distributions at different spatial locations. Methods for fitting this class of models are described in Chen, Ramezan, and Lysy (2024) <doi:10.48550/arXiv.2110.07051>.

Authors:Meixi Chen [aut, cre], Martin Lysy [aut], Reza Ramezan [ctb]

SpatialGEV_1.0.1.tar.gz
SpatialGEV_1.0.1.tar.gz(r-4.5-noble)SpatialGEV_1.0.1.tar.gz(r-4.4-noble)
SpatialGEV.pdf |SpatialGEV.html
SpatialGEV/json (API)

# Install 'SpatialGEV' in R:
install.packages('SpatialGEV', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • CAsnow - Gridded monthly total snowfall in Canada from 1987 to 2021.
  • ONsnow - Monthly total snowfall in Ontario, Canada from 1987 to 2021.
  • simulatedData - Simulated dataset 1
  • simulatedData2 - Simulated dataset 2

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.98 score 19 scripts 153 downloads 9 exports 7 dependencies

Last updated 6 months agofrom:994ab3daba. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-linux-x86_64OKNov 02 2024

Exports:grid_locationkernel_expkernel_maternmatern_pc_priorsim_cond_normalspatialGEV_fitspatialGEV_modelspatialGEV_predictspatialGEV_sample

Dependencies:evdlatticeMatrixmvtnormRcppRcppEigenTMB

A Guide to the SpatialGEV Package

Rendered fromSpatialGEV-vignette.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2024-06-10
Started: 2022-04-05