Cross-sample entropy statistic as a measure of complexity