Confidence : how winning streaks and losing streaks begin and end