This function calculates the pvalue for the Utsu's test from 2 values of b and 2 sample sizes.
1  utcomp(b1, n1, b2, n2)

b1 
bvalue 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 
bvalue 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) 
The formula is given in Utsu's (1992, 1999).
utcomp
returns the pvalue of the Utsu's test for the comparison of 2 bvalues.
Daniel Amorese
Utsu, T. (1992) Introduction to seismicity, Surijishingaku (Mathematical Seismology), Inst. Statis. Math, 34, (VII), 139157, (in Japanese).
Utsu, T. (1999) Representation and analysis of the earthquake size distribution: a historical review and some new approaches, Pure appl. Geophys., 155, 509535
BBootComp
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)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.