etas.object {ETAS} | R Documentation |
Class of Fitted ETAS Models
Description
A class etas
to represent a fitted ETAS model.
The output of etas
.
Details
An object of class etas
represents an ETAS model
that has been fitted to a spatio-temporal point pattern (catalog)
of earthquakes. It is the output of the model fitter, etas
.
The class etas
has methods for the following
standard generic functions:
generic | method | description |
print | print.etas
| print details |
Author(s)
Abdollah Jalilian jalilian@razi.ac.ir
See Also
etas
,
Examples
# fitting the ETAS model to an Iranian catalog
data(iran.quakes)
summary(iran.quakes)
# fitting the ETAS model to an Iranian catalog
# preparing the catalog
iran.cat <- catalog(iran.quakes, time.begin="1973/01/01",
study.start="1986/01/01", study.end="2016/01/01",
lat.range=c(26, 40), long.range=c(44, 63), mag.threshold=5)
print(iran.cat)
## Not run:
plot(iran.cat)
## End(Not run)
# setting initial parameter values
param0 <- c(0.46, 0.23, 0.022, 2.8, 1.12, 0.012, 2.4, 0.35)
# fitting the model
## Not run:
iran.fit <- etas(iran.cat, param0=param0)
## End(Not run)
[Package ETAS version 0.6.1 Index]