utcomp: p-value for the Utsu's test

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This function calculates the p-value for the Utsu's test from 2 values of b and 2 sample sizes.

Usage

1
utcomp(b1, n1, b2, n2)

Arguments

b1

b-value from the first sample

n1

size of the first sample (number of data above or equal to the threshold magnitude in the first data set)

b2

b-value from the second sample

n2

size of the second sample (number of data above or equal to the threshold magnitude in the second data set)

Details

The formula is given in Utsu's (1992, 1999).

Value

utcomp returns the p-value of the Utsu's test for the comparison of 2 b-values.

Author(s)

Daniel Amorese

References

Utsu, T. (1992) Introduction to seismicity, Surijishingaku (Mathematical Seismology), Inst. Statis. Math, 34, (VII), 139-157, (in Japanese).

Utsu, T. (1999) Representation and analysis of the earthquake size distribution: a historical review and some new approaches, Pure appl. Geophys., 155, 509-535

See Also

BBootComp

Examples

1
2
# Utsu's \emph{p}-value for the comparison of 2 \emph{b}-values in the Santa Paula area.
utcomp(0.97,366,0.77,1161)

Example output

[1] 0.0002978243

GRTo documentation built on May 2, 2019, 6:46 a.m.