程序中的准简单计算

时间:2017-01-27 19:34:39

标签: algorithm math computation

我不知道是否应该在mathSE或stackoverflow中发布它,但因为它涉及代码和一些基本算法,所以我去了。

我的问题来自于我必须根据这篇文章做的一个程序:

Article

问题在于我似乎无法分配或理解一些变量以及它们如何适合,我个人认为这是非常草率的数学和一些严谨的统计数据可能会使本文受益,但那只是我。

无论如何,这是我用于计算的伪代码/算法,它可以工作:

        /* Algorithm
         * 
         * 1 Avg amount of sales - cupon face value
         * 85 - 75 = 10 Additional $
         * 
         * 2 Nbr cupons sold * redemption percentage (percentage Of Cupons Sold)
         * 3000 * 85 = 2550 Number of tickets redemeed
         * 
         * 3 Nbr cupons sold * sale price * percent taken by groupon
         * 3000 * 35 * .50 = 52500 Groupon money limit goal
         * 
         * 4 Nbr of tickets redeemed * Additional $
         * 2550 * 10 = 25500 Additional money spent by customer
         * 
         * 
         * 5 additional money spent by customer + grupon money limit 
         * 25500 + 52500 =  78000 Gross income
         * 
         * Expenses
         * 
         * 6 Nbr of tickets redeemed * avg amount sold * percent of incremental Cost Sales
         * 2550 * 85 * 40 =  86700 Total expense
         * 
         * 7 Nbr of tickets redeemed / Avg amount of cupons purchased by customers (number cupons purchased by custormers)
         * 2550 / 2 = 1275 Nbr customers
         * 
         * 8 Nbr customers * percent of existing customers (cuponsUsersAlreadyCustomers)
         * 1275 * 0.60 = 765 amount of new customer (Standard deviation of average customer per population)
         * 
         * 9 SD of avg customer per population * Percentage of new customer who returned (percent cupon user who become customers)
         * 765 * 0.10 = 76.5 new repeat customer avg
         * 
         * 10 Net cost / Avg new repeat customer
         * 8700 / 76 = 114 Amount paid for each new regular
         * 
         */

问题是,60%来自哪里?它是固定值吗?我的意思是技术上40%+ 10%是50%,40%是老客户。第二个:

“7。将您的业务晋升至900,000人的广告价值是什么 - 这是Groupon芝加哥名单上的数字 - 即使他们不购买优惠券?$ 1,000广告价值。”

为什么我需要那个?我的意思是我已经在比较每个新客户会花费我多少Groupon和传统广告为什么那里?在计算的一部分中我需要它吗?

这是一个很好的项目,但文档中的人如何解释数学真的很奇怪!

1 个答案:

答案 0 :(得分:1)

60%来自“现有客户使用的4. 40%”的假设。隐含似乎是假设“每个客户购买的平均优惠券数量”在新客户和现有客户之间没有显着差异。这没有明确提及,但由于2,550是兑换优惠券的数量,百分比乘以2,550 / 2(假定与这些优惠券相关的客户数量),这似乎是一个必要的假设。

编辑:抱歉,我忽略了您的第二个问题。仅在收入中提到1,000美元,但不包括在费用计算中。从理论上讲,你可以从成本中减去它,但这只是合理的,如果你已经花了这笔钱用于广告,那么它可能被视为交易的外部成本。然而,谨慎地提及这个额外的好处(除了新客户之外你还可以获得),但仍然认为它是成本的一​​部分,因为它肯定需要付费。