Analytic cost and revenue planning