The U.S. economy remains strapped on a roller-coaster ride, weathering the same highs and lows that marked its performance in recent years: A sharp slowdown early in the year, followed by a surge and then a glide through year’s end.

Smoothing over the volatility reveals an economy that is expanding moderately despite turmoil overseas, a strong dollar and low oil prices.

The...