output estimated cost statistics to statfile