Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


tectonicr (version 0.4.6)

norm_chisq: Normalized Chi-Squared Test for Circular Data

Description

A quantitative comparison between the predicted and observed directions of σHmax is obtained by the calculation of the average azimuth and by a normalized χ2 test.

Usage

norm_chisq(obs, prd, unc)

Value

Numeric vector

Arguments

obs

Numeric vector containing the observed azimuth of σHmax, same length as prd

prd

Numeric vector containing the modeled azimuths of σHmax, i.e. the return object from model_shmax()

unc

Uncertainty of observed σHmax, either a numeric vector or a number

Details

The normalized χ2 test is Normχi2==i=1M(αiαpredictσi)2i=1M(90σi)2 The value of the chi-squared test statistic is a number between 0 and 1 indicating the quality of the predicted σHmax directions. Low values (0.15) indicate good agreement, high values (>0.7) indicate a systematic misfit between predicted and observed σHmax directions.

References

Wdowinski, S., 1998, A theory of intraplate tectonics. Journal of Geophysical Research: Solid Earth, 103, 5037-5059, doi: 10.1029/97JB03390.

Examples

Run this code
data("nuvel1")
PoR <- subset(nuvel1, nuvel1$plate.rot == "na") # North America relative to
# Pacific plate
data(san_andreas)
point <- data.frame(lat = 45, lon = 20)
prd <- model_shmax(point, PoR)
norm_chisq(obs = c(50, 40, 42), prd$sc, unc = c(10, NA, 5))

data(san_andreas)
prd2 <- PoR_shmax(san_andreas, PoR, type = "right")
norm_chisq(obs = prd2$azi.PoR, 135, unc = san_andreas$unc)

Run the code above in your browser using DataLab