finish statistical test, move forward or backward