Performes the two-sample test, for the 3D case, for a pair of angular measurements to determine if they could belong to the same population (event).
dir_2sample_test_3D(d1, i1, d2, i2, conf.level = 0.95)
d1 | A vector of dip direction measurements in degrees for sample 1 |
---|---|
i1 | A vector of dip measurements in degrees for sample 1 |
d2 | A vector of dip direction measurements in degrees for sample 2 |
i2 | A vector of dip measurements in degrees for sample 2 |
conf.level | Confidence level for the F-statistic calculation and p-value interpretation (Default is 0.95) |
A list with the F-statistic, the critical value of F, the degrees of freedom, the p-value, and the interpretation of these values
Borradaile, G. (2003). Statistics of Earth Science Data. Springer.
d1 = c(12,18,22,15,10,20) i1 = c(42,40,48,30,42,30) d2 = c(111.7,109.2,185.1,83.1,235.2,226.7) i2 = c(40.4,31.4,25.9,26.2,27,31.5) dir_2sample_test_3D(d1, i1, d2, i2)#> $f #> [1] 12.54 #> #> $fcrit #> [1] 3.49 #> #> $df1 #> [1] 2 #> #> $df2 #> [1] 20 #> #> $p_value #> [1] 0.000295 #> #> $interpretation #> [1] "Reject H0 and conclude that the two samples could not come from the same population with the same mean direction and mean dip angle" #>