Stock-market investors expecting smoother sailing ahead after a volatile year have history on their side