Skip to main content
Log in

A non-homogeneous Poisson process geostatistical model with spatial deformation

  • Original Paper
  • Published:
AStA Advances in Statistical Analysis Aims and scope Submit manuscript

Abstract

In this paper, we propose a geostatistical model for the counting process using a non-homogeneous Poisson model. This work aims to model the intensity function as the sum of two components: spatial and temporal. The spatial component is modeled using a Gaussian process in which the covariance structure is assumed to be anisotropic. Anisotropy is incorporated by applying a spatial deformation approach. The temporal component is modeled in such a way that its behavior concerning time has the structure of a Goel process. The inferences for the proposed model are obtained from a Bayesian perspective. The parameter estimation is obtained using Markov Chain Monte Carlo methods. The proposed model is adjusted to a set of real data, referring to the rain precipitation in 29 monitoring stations, distributed in the states of Maranhão and Piauí, in the northeast region of Brazil, in 31 years, from 01/01/1980 to 12/31/2010. The objective is to estimate the frequency of rain that exceeded a certain threshold.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

References

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fidel Ernesto Castro Morales.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendices

The code of the model proposed

In this appendix, we show how to implement the model in the software R Core Team (2019). We developed the Metropolis–Hastings steps in Sect. 4. We highlight that to execute the instructions described in this appendix, the user must have some experience with the software R. Although in this appendix the program is used with extreme rain data in Maranhão and Piauí, it can be adapted for any other data set. Before starting to explain how to run the code, create a folder named Model in the directory C and download data.RData, Function.R, and Main.R in this one. The file data.RData has the calendar times when extreme rains occurred for each the monitoring stations distributed in the states of Maranhão and Piauí, and the geographical coordinates of each monitoring station. The Function.R file is the script of the functions that are necessary to run the MCMC method. Finally, the file Main.R contains the script of the main program; in this file the user determines the number of iterations, burn-in, jumps, and the values of the hyperparameters of the prior distributions of the parameters.

1.1 Steps

1.1.1 Step 1

In the first step, the user opens the data.RData file. There are several ways to do this, one of which is to use the following command.

figure a

Once the previous command has been executed, the user has access to the extreme rainfall data and the geographical coordinates of the locations. The extreme rainfall data are recorded in the matrix “data,” and the geographical coordinates are recorded in the matrix “site.” If the user runs the command in the R console will appear

figure c

In the ith column of the matrix, “data” recorded the calendar times of the extreme rain corresponding to the ith monitoring station. The number of rows in the matrix “data” is equal to the maximum of the frequencies of extreme rainfall that occurred at the monitoring stations. The number of columns in the matrix “data” is equal to the number of monitoring stations.

1.1.2 Step 2

In this step, the user loads the functions to carry out the algorithm by executing the following command

figure d

1.1.3 Step 3

In this stage, the user determines the number of iterations, burn-in, and hyperparameters of the prior distributions of the parameters. These specifications are stored in Main.R.

figure e

For example, in the previous script, the user has determined 350000 iterations, burn-in 250000, and prior distributions \(\beta \sim G(0.001,0.001)\), \(\alpha \sim G(0.001,0.001)\).

1.1.4 Step 4

Finally, the user runs the MCMC algorithm using the following command

figure f

Output

At the end of running the algorithm, the user will have access to the chains produced by the MCMC method. In the following, we show the output produced by the algorithm:

  • Malpha is a vector that has samples of the posterior distribution of \(\alpha \).

  • Mbeta is a vector that has samples of the posterior distribution of \(\beta \).

  • Mb is a vector that has samples of the posterior distribution of \(\phi \).

  • Mv is a matrix that has samples of the posterior distribution of v’s.

  • MPsi is a matrix that has samples of the posterior distribution of \(\varPsi \).

  • MW is a matrix that has samples of the posterior distribution of W.

  • MD1 is a matrix that has samples of the posterior distribution of the component of x in the space D.

  • MD2 is a matrix that has samples of the posterior distribution of the component of y in the space D.

The user has the statistical and graphical tools of R to perform inferential analysis on the parameters of the model. For example, the user can use the coda package (Plummer et al. 2006) for performing the posterior distribution convergence diagnosis. Likewise, the user can use packages graphics (R Core Team 2019) and maptools (Bivand and Lewin-Koh 2019) to graph the surfaces of extreme rainfall frequency and variance surface. Finally, we present the code in R to graph the variance surface.

figure g

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Morales, F.E.C., Vicini, L. A non-homogeneous Poisson process geostatistical model with spatial deformation. AStA Adv Stat Anal 104, 503–527 (2020). https://doi.org/10.1007/s10182-020-00373-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10182-020-00373-6

Keywords

Navigation