WASHINGTON — Improved weather conditions following a long winter and improved optimism about the national economy may be the driving forces behind the rise in the National Restaurant Association’s Restaurant Performance Index this past May. The RPI rose to 102.1 in May, up 0.4 percent compared to April and the highest level the index has achieved since May 2012.

“Positive sales results fueled the May increase in the RPI, as nearly two-thirds of restaurant operators said their same-store sales rose above year-ago levels,” said Hudson Riehle, senior vice president of the Research and Knowledge Group for the NRA. “In addition, restaurant operators are increasingly optimistic about continued sales gains in the months ahead, a sentiment that is also showing up in their capital expenditure plans.”

The RPI is comprised of two components, the current situation index and the expectations index. In May, the current situation index stood at 102, up 0.7 percent compared to April. A majority of restaurant operators reported higher same-store sales, with 65 percent reporting a same-store sales gain between May 2013 and May 2014, up from 51 percent in April and the highest proportion since March 2012. Only 19 percent of operators reported a same-store sales decline in May, down from 26 percent who reported similarly in April.

Restaurant operators also reported stronger customer traffic levels in May. Forty-seven percent said they experienced an increase in customer traffic levels between May 2013 and May 2014, while 29 percent reported a decline. In April, 44 percent of operators said their traffic rose from the previous year, while 30 percent reported a decline.

The expectations index stood at 102.2 in May — unchanged from April’s level. Restaurant operators are increasingly optimistic about their sales prospects in the coming months. Fifty percent of restaurant operators expect to have higher sales in six months (compared to the same period in the previous year), up from 46 percent in April and the strongest level in nearly two years. Only 8 percent of restaurant operators expect their sales volume in six months to be lower than it was during the same period in the previous year, down from 11 percent last month.

While the sales outlook is generally positive, restaurant operators’ view of the economy remains somewhat clouded. Twenty-eight percent of restaurant operators said they expect economic conditions to improve in six months, while 15 percent expect the economy to worsen. The remaining 57 percent expect economic conditions in six months to be about the same as they are now.