Learn R Programming

GRTo (version 1.3)

utcomp: p-value for the Utsu's test

Description

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

Usage

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)

Value

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

Details

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

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

Run this code
# 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)

Run the code above in your browser using DataLab