Learn R Programming

ERPeq (version 0.1.0)

invgammacp: Probabilistic estimation of earthquake recurrence interval using inverse gamma distribution

Description

Computes the probability of an earthquake within a specified time "r" and elapsed time "te".

Usage

invgammacp(fit, r, te)

Value

A numeric value

Arguments

fit

Fit is the fitinvgamma object. See ?fitinvgamma for details.

r

The specified time in which the probability of an earthquake is desired to be calculated.

te

Elapsed time since the last earthquake

References

Pasari, S. and Dikshit, O. (2014). Impact of three-parameter Weibull models in probabilistic assessment of earthquake hazards. Pure and Applied Geophysics, 171, 1251-1281.

Examples

Run this code
fit=fitinvgamma(c(1,1),data=data_earthquake_7)
invgammacp(fit,r=2,te=5)

Run the code above in your browser using DataLab