Compares two striated tool-mark profiles by the deterministic Chumbley
score (Chumbley et al. 2010; Hadler and Morris 2018): each profile is
trimmed and detrended by its lowess smooth, the pair of windows of
wopt points with the largest correlation fixes the shift, and windows
of wval points at that shift are compared with windows at other
shifts by a standardised Wilcoxon rank-sum statistic.
Value
A named numeric vector: nsame, ndiff (window pairs used),
u (the statistic) and p (its upper normal tail; NaN when either
set is empty).
References
Chumbley, L. S., Morris, M. D., Kreiser, M. J. et al. (2010). Validation of tool mark comparisons obtained using a quantitative, comparative, statistical algorithm. Journal of Forensic Sciences, 55(4), 953-961. doi:10.1111/j.1556-4029.2010.01424.x
Hadler, J. R. and Morris, M. D. (2018). An improved version of a tool mark comparison algorithm. Journal of Forensic Sciences, 63(3), 849-855. doi:10.1111/1556-4029.13640