Home prices in 20 U.S. cities rose at a slower pace in the year ended in October, putting the market on better footing heading into 2015.

The S&P/Case-Shiller index of property values increased 4.5 percent from October 2013, the smallest gain in two years, after rising 4.8 percent in the year ended in September, a report from the group showed Tuesday in New York. The median projection of 24 economists surveyed by Bloomberg called for a 4.4 percent advance. Nationally, prices rose 4.6 percent after a 4.8 percent gain in the year ended in September.