ETAS

Modeling Earthquake Data Using the ETAS Model

https://github.com/jalilian/etas

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Modeling Earthquake Data Using the ETAS Model

Basic Info
  • Host: GitHub
  • Owner: jalilian
  • Language: C++
  • Default Branch: master
  • Size: 4.4 MB
Statistics
  • Stars: 29
  • Watchers: 4
  • Forks: 10
  • Open Issues: 0
  • Releases: 0
Created over 10 years ago · Last pushed almost 2 years ago
Metadata Files
Readme

README.md

CRAN_Status_Badge CRAN_Download_Count R Build Status Dependencies License Last Commit <!-- badges: end -->

ETAS model

An earthquake catalog is a chronologically ordered list of time, coordinates of epicenter, magnitude and focal depth of all recorded earthquakes with magnitudes greater than or equal to a certain threshold that occurred inside or in the vicinity of a geographical region during a specified time period. Among different proposed models, the epidemic type aftershock sequence (ETAS) model is the most widely used statistical model to describe the underlying process that generates an earthquake catalogs.

The space-time version of the ETAS model is a spatio-temporal marked point process model. It is a semi-parametric model that describes the background and triggering seismic activities in a geographical region and can be used for earthquake declustering. However, estimation of the ETAS model parameters is computationally challenging. The 'ETAS' package fits the ETAS model to an earthquake catalog. The etas function in the package is based on a C port of a Fortran program by Jiancang Zhuang, Yosihiko Ogata and their colleagues.

Installation

To install the package from CRAN, run the following in R: R install.packages('ETAS')

You can also install the current version of the package on GitHub by running: R require(remotes) install_github('jalilian/ETAS')

If remotes is not installed, you should first run:

R install.packages('remotes')

Vignette

Jalilian, A. (2019). ETAS: An R Package for Fitting the Space-Time ETAS Model to Earthquake Data. Journal of Statistical Software, 88(CN 1), 1-39. DOI:10.18637/jss.v088.c01

Parallel computing

Computations of the conditional intensity function, the log-likelihood function, declustering probabilities and the Davidon-Fletcher-Powell algorithm for optimization are all written in C code. As of version 0.3, a new C++ code is implemented using the Rcpp package which allows multi-thread parallel computing on multi-core processors with OpenMP and suported platforms. The argument nthreads in etas function determines the number of threads to be used in the parallel region of the code. If nthreads = 1 (the default), then a serial version of the C++ code carries out the computations. The detectCores function in parallel package can be consulted to find out the overall number of available threads on a given machine: R parallel::detectCores() Parallel computing (nthreads > 1) reduces the computation time for large earthquake catalogs. However, resource usage and limitations should be considered when setting nthreads.

Owner

  • Name: Abdollah Jalilian
  • Login: jalilian
  • Kind: user
  • Location: Kermanshah, Iran
  • Company: Razi University

GitHub Events

Total
  • Watch event: 6
  • Fork event: 1
Last Year
  • Watch event: 6
  • Fork event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 215
  • Total Committers: 5
  • Avg Commits per committer: 43.0
  • Development Distribution Score (DDS): 0.428
Past Year
  • Commits: 41
  • Committers: 2
  • Avg Commits per committer: 20.5
  • Development Distribution Score (DDS): 0.024
Top Committers
Name Email Commits
jalilian a****n@g****m 123
Abdollah Jalilian s****j@g****m 79
ajalilian a****n@g****m 6
rubak r****k@m****k 4
ajalilian j****n@r****r 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 1
  • Total pull requests: 4
  • Average time to close issues: almost 2 years
  • Average time to close pull requests: 4 days
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • chenyu-lii (1)
Pull Request Authors
  • rubak (4)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 342 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 1
  • Total versions: 14
  • Total maintainers: 1
cran.r-project.org: ETAS

Modeling Earthquake Data Using 'ETAS' Model

  • Versions: 14
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 342 Last month
Rankings
Forks count: 8.8%
Stargazers count: 13.4%
Dependent packages count: 18.3%
Average: 19.1%
Dependent repos count: 24.2%
Downloads: 30.7%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.3.0 depends
  • graphics * depends
  • maps * depends
  • stats * depends
  • utils * depends
  • Rcpp * imports
  • fields * imports
  • goftest * imports
  • lattice * imports
  • spatstat.core * imports
  • spatstat.geom * imports
  • spatstat.random * imports
.github/workflows/R-CMD-check2.yml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
  • r-lib/actions/setup-tinytex v2 composite