Learn R Programming

kernstadapt

kernstadapt is an R package for adaptive kernel estimation of the intensity of spatio-temporal point processes.

kernstadapt implements functionalities to estimate the intensity of a spatio-temporal point pattern by kernel smoothing with adaptive bandwidth methodology when each data point has its own bandwidth associated as a function of the crowdedness of the region (in space and time) in which the point is observed.

The package presents the intensity estimation through a direct estimator and the partitioning algorithm methodology presented in González and Moraga (2022).

Installation

The stable version on CRAN can be installed using:

install.packages("kernstadapt")

The development version can be installed using devtools:

# install.packages("devtools") # if not already installed
devtools::install_github("jagm03/kernstadapt")
library(kernstadapt)

Main functions

Direct adaptive estimation of the intensity

  • dens.direct() (non-separable)
  • dens.direct.sep() (separable)

Adaptive intensity estimation using a partition algorithm

  • dens.par() (non-separable)
  • dens.par.sep() (separable)

Bandwidths calculation

  • bw.abram.temp() (temporal)

Separability test

  • separability.test()

Copy Link

Version

Install

install.packages('kernstadapt')

Monthly Downloads

195

Version

0.4.0

License

MIT + file LICENSE

Maintainer

Jonatan A González

Last Published

September 26th, 2024

Functions in kernstadapt (0.4.0)

bw.abram.net

Abramson's adaptive bandwidth for networks
dens.net.EqualSplit

Adaptive linear netwokr intensity estimator using the Okabe-Sugihara equal-split algorithms
dens.par.sep

Separable adaptive spatio-temporal intensity estimator
aegiss

Diggle et al.'s data: Non-specific gastrointestinal data
dens.direct.sep

Direct separable adaptive spatio-temporal intensity estimator
dens.par

Non-separable adaptive spatio-temporal intensity estimator
bw.abram.temp

Abramson's adaptive temporal bandwidths
dens.net.heat

Adaptive linear network intensity estimator based on heat kernel
dens.direct

Direct estimation of non-separable adaptive spatio-temporal intensity estimator
separability.test

Separability test for spatio-temporal point processes
dens.par.temp

Adaptive kernel estimate of intensity of a temporal point pattern
santander

Santander earthquakes epicentres
lGCpp

Simulated spatio-temporal log Gaussian Cox point pattern data
amazon

Locations of fires in the Amazon biome.