Patient variables impacting hospital costs from 2008 to 2010