Trend analysis explained