IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v052i04.html
   My bibliography  Save this article

lgcp: An R Package for Inference with Spatial and Spatio-Temporal Log-Gaussian Cox Processes

Author

Listed:
  • Taylor, Benjamin M.
  • Davies, Tilman M.
  • Rowlingson, Barry S.
  • Diggle, Peter J.

Abstract

This paper introduces an R package for spatial and spatio-temporal prediction and forecasting for log-Gaussian Cox processes. The main computational tool for these models is Markov chain Monte Carlo (MCMC) and the new package, lgcp, therefore also provides an extensible suite of functions for implementing MCMC algorithms for processes of this type. The modeling framework and details of inferential procedures are first presented before a tour of lgcp functionality is given via a walk-through data-analysis. Topics covered include reading in and converting data, estimation of the key components and parameters of the model, specifying output and simulation quantities, computation of Monte Carlo expectations, post-processing and simulation of data sets.

Suggested Citation

  • Taylor, Benjamin M. & Davies, Tilman M. & Rowlingson, Barry S. & Diggle, Peter J., 2013. "lgcp: An R Package for Inference with Spatial and Spatio-Temporal Log-Gaussian Cox Processes," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 52(i04).
  • Handle: RePEc:jss:jstsof:v:052:i04
    DOI: http://hdl.handle.net/10.18637/jss.v052.i04
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v052i04/v52i04.pdf
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v052i04/lgcp_1.01.tar.gz
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v052i04/v52i04.R
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v052i04/v52i04.rda
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v052i04/GBR_adm1.RData
    Download Restriction: no

    File URL: https://www.jstatsoft.org/index.php/jss/article/downloadSuppFile/v052i04/GBR_adm2.RData
    Download Restriction: no

    File URL: https://libkey.io/http://hdl.handle.net/10.18637/jss.v052.i04?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Alexandre Rodrigues & Peter J. Diggle, 2010. "A Class of Convolution‐Based Models for Spatio‐Temporal Processes with Non‐Separable Covariance Structure," Scandinavian Journal of Statistics, Danish Society for Theoretical Statistics;Finnish Statistical Society;Norwegian Statistical Association;Swedish Statistical Association, vol. 37(4), pages 553-567, December.
    2. Tilman M. Davies & Martin L. Hazelton, 2013. "Assessing minimum contrast parameter estimation for spatial and spatiotemporal log‐Gaussian Cox processes," Statistica Neerlandica, Netherlands Society for Statistics and Operations Research, vol. 67(4), pages 355-389, November.
    3. Davies, Tilman M. & Hazelton, Martin L. & Marshall, Jonathan. C, 2011. "sparr: Analyzing Spatial Relative Risk Using Fixed and Adaptive Kernel Density Estimation in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 39(i01).
    4. Bowman, Adrian & Crawford, Ewan & Alexander, Gavin & Bowman, Richard W, 2007. "rpanel: Simple Interactive Controls for R Functions Using the tcltk Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 17(i09).
    5. Pebesma, Edzer, 2012. "spacetime: Spatio-Temporal Data in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 51(i07).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. David Payares-Garcia & Javier Platero & Jorge Mateu, 2023. "A Dynamic Spatio-Temporal Stochastic Modeling Approach of Emergency Calls in an Urban Context," Mathematics, MDPI, vol. 11(4), pages 1-28, February.
    2. Brown, Patrick E., 2015. "Model-Based Geostatistics the Easy Way," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i12).
    3. Davies, Tilman M. & Bryant, David, 2013. "On Circulant Embedding for Gaussian Random Fields in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 55(i09).
    4. Taylor, Benjamin M. & Davies, Tilman M. & Rowlingson, Barry S. & Diggle, Peter J., 2015. "Bayesian Inference and Data Augmentation Schemes for Spatial, Spatiotemporal and Multivariate Log-Gaussian Cox Processes in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i07).
    5. Athanasios C. Micheas & Jiaxun Chen, 2018. "sppmix: Poisson point process modeling using normal mixture models," Computational Statistics, Springer, vol. 33(4), pages 1767-1798, December.
    6. Matthew Quick, 2019. "Multiscale spatiotemporal patterns of crime: a Bayesian cross-classified multilevel modelling approach," Journal of Geographical Systems, Springer, vol. 21(3), pages 339-365, September.
    7. Gabriel, Edith & Rowlingson, Barry S. & Diggle, Peter J., 2013. "stpp: An R Package for Plotting, Simulating and Analyzing Spatio-Temporal Point Patterns," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 53(i02).
    8. Taylor, Benjamin M. & Rowlingson, Barry S., 2017. "spatsurv: An R Package for Bayesian Inference with Spatial Survival Models," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 77(i04).
    9. Pebesma, Edzer & Bivand, Roger & Ribeiro, Paulo Justiniano, 2015. "Software for Spatial Statistics," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i01).
    10. Tang, Jinjun & Zhao, Chuyun & Liu, Fang & Hao, Wei & Gao, Fan, 2022. "Analyzing travel destinations distribution using large-scaled GPS trajectories: A spatio-temporal Log-Gaussian Cox process," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 599(C).

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Pebesma, Edzer & Bivand, Roger & Ribeiro, Paulo Justiniano, 2015. "Software for Spatial Statistics," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i01).
    2. Mariana Oliveira & Luís Torgo & Vítor Santos Costa, 2021. "Evaluation Procedures for Forecasting with Spatiotemporal Data," Mathematics, MDPI, vol. 9(6), pages 1-27, March.
    3. Hengl, Tomislav & Roudier, Pierre & Beaudette, Dylan & Pebesma, Edzer, 2015. "plotKML: Scientific Visualization of Spatio-Temporal Data," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i05).
    4. Bakar, Khandoker Shuvo & Sahu, Sujit K., 2015. "spTimer: Spatio-Temporal Bayesian Modeling Using R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 63(i15).
    5. Lixin Li & Xiaolu Zhou & Marc Kalo & Reinhard Piltner, 2016. "Spatiotemporal Interpolation Methods for the Application of Estimating Population Exposure to Fine Particulate Matter in the Contiguous U.S. and a Real-Time Web Application," IJERPH, MDPI, vol. 13(8), pages 1-20, July.
    6. Christoph Lambio & Tillman Schmitz & Richard Elson & Jeffrey Butler & Alexandra Roth & Silke Feller & Nicolai Savaskan & Tobia Lakes, 2023. "Exploring the Spatial Relative Risk of COVID-19 in Berlin-Neukölln," IJERPH, MDPI, vol. 20(10), pages 1-22, May.
    7. Davies, Tilman M. & Jones, Khair & Hazelton, Martin L., 2016. "Symmetric adaptive smoothing regimens for estimation of the spatial relative risk function," Computational Statistics & Data Analysis, Elsevier, vol. 101(C), pages 12-28.
    8. D'Angelo, Nicoletta & Adelfio, Giada & Mateu, Jorge, 2023. "Locally weighted minimum contrast estimation for spatio-temporal log-Gaussian Cox processes," Computational Statistics & Data Analysis, Elsevier, vol. 180(C).
    9. Roger S. Bivand, 2021. "Progress in the R ecosystem for representing and handling spatial data," Journal of Geographical Systems, Springer, vol. 23(4), pages 515-546, October.
    10. David O'Donnell & Alastair Rushworth & Adrian W. Bowman & E. Marian Scott & Mark Hallard, 2014. "Flexible regression models over river networks," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 63(1), pages 47-63, January.
    11. Xie, Yihui, 2013. "animation: An R Package for Creating Animations and Demonstrating Statistical Methods," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 53(i01).
    12. Marcus Groß & Ulrich Rendtel & Timo Schmid & Sebastian Schmon & Nikos Tzavidis, 2017. "Estimating the density of ethnic minorities and aged people in Berlin: multivariate kernel density estimation applied to sensitive georeferenced administrative data protected via measurement error," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 180(1), pages 161-183, January.
    13. Akimitsu Inoue, 2016. "Density estimation based on pointwise mutual information," Economics Bulletin, AccessEcon, vol. 36(2), pages 1138-1148.
    14. repec:jss:jstsof:36:i13 is not listed on IDEAS
    15. Martin Meermeyer, 2014. "LinRegInteractive: An R Package for the Interactive Interpretation of Linear Regression Models," Schumpeter Discussion Papers SDP14014, Universitätsbibliothek Wuppertal, University Library.
    16. Liu, Jialuo & Chu, Tingjin & Zhu, Jun & Wang, Haonan, 2021. "Semiparametric method and theory for continuously indexed spatio-temporal processes," Journal of Multivariate Analysis, Elsevier, vol. 183(C).
    17. Hutniczak, Barbara & Münch, Angela, 2018. "Fishermen's location choice under spatio-temporal update of expectations," Journal of choice modelling, Elsevier, vol. 28(C), pages 124-136.
    18. de Iaco, Sandra, 2017. "The cgeostat Software for Analyzing Complex-Valued Random Fields," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 79(i05).
    19. Fernando A. Campos & Linda M. Fedigan, 2014. "Spatial ecology of perceived predation risk and vigilance behavior in white-faced capuchins," Behavioral Ecology, International Society for Behavioral Ecology, vol. 25(3), pages 477-486.
    20. Bolin, David & Lindgren, Finn, 2013. "A comparison between Markov approximations and other methods for large spatial data sets," Computational Statistics & Data Analysis, Elsevier, vol. 61(C), pages 7-21.
    21. Meyer, Sebastian & Held, Leonhard & Höhle, Michael, 2017. "Spatio-Temporal Analysis of Epidemic Phenomena Using the R Package surveillance," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 77(i11).

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:052:i04. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F. Baum (email available below). General contact details of provider: http://www.jstatsoft.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.