Time series discrimination using the AR metric