Newsboy(SCperf)
Newsboy()所属R语言包:SCperf
The Newsboy model
报童模型
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Implements the Newsboy (or Newsvendor) model with normal demand.
实现的的报童(或报童)模型,与正常需求。
用法----------Usage----------
Newsboy(m, sd, p, c, s = 0)
参数----------Arguments----------
参数:m
mean demand during the period,
平均期间的需求,
参数:sd
standard deviation of demand during the period,
标准偏差的需求,在此期间,
参数:c
the unit cost,
的单位成本,
参数:p
the selling price, where p > c
的销售价格,其中p> C
参数:s
the salvage value (default:0), where s < c.
残值(默认值:0),其中,S <C。
Details
详细信息----------Details----------
When the demand is a random variable with normal distribution, the optimal stocking quantity that minimize the expected cost is: Q=m+z*sd, where z, the inverse of the standard normal cumulative density function of the demand, is known as the safety factor and Q - m=z*sd is known as the safety stock.
当需求是一个随机变量,正态分布,最优库存量,最大限度地减少的预期成本是:Q=m+z*sd,其中z,逆标准正态累积密度函数的需求,被称为作为被称为安全库存安全系数和Q - m=z*sd。
Note that the Newsboy problem is not formulated in terms of per unit holding cost h=c-s and penalty cost b=p-c.
需要注意的是报童问题制定的单位持有成本h=c-s和惩罚成本b=p-c。
值----------Value----------
Newsboy() returns a list containing:
Newsboy()返回一个列表,其中包含:
参数:Q
optimal order-up-to quantity,
最优订货的数量,
参数:SS
safety stock,
安全库存,
参数:ExpC
expected cost,
预计成本,
参数:ExpP
expected profit,
预期利润,
参数:CV
coefficient of variation of the demand,
系数的变化的需求,
参数:CR
(p-c)/(p-s)=b/(b+h), critical ratio,
(p-c)/(p-s)=b/(b+h),关键比例,
参数:FR
fill rate, the fraction of demand served from stock,
填充率服务的需求,部分现货,
参数:z
safety factor.
安全系数。
(作者)----------Author(s)----------
Marlene Silva Marchena <a href="mailto:marchenamarlene@gmail.com">marchenamarlene@gmail.com</a>
参考文献----------References----------
Stanford University Press, Stanford, CA.
参见----------See Also----------
EOQ, EPQ, WW
EOQ,EPQ,WW
实例----------Examples----------
# Example Porteus #[例如Porteus#]
# Suppose demand is normally distributed with mean 100 and standard[假设需求是正态分布,均值为100,标准]
# deviation 30. If p = 4 and c = 1, then CR = 0.75 and Q=120.23.[偏离30。如果p = 4,c = 1时,则CR = 0.75和Q = 120.23。]
# Note that the order is for 20.23 units (safety stock) more than the[请注意,顺序是20.23单位(安全库存)超过]
# mean. Note also that ExpC(120.23) = 38.13 and ExpP(120.23)=261.87,[的意思。还要注意的是EXPC(120.23)= 38.13 EXPP(120.23)= 261.87,]
# with FR=0.96.[FR = 0.96。]
Newsboy(100,30,4,1)
# Example Gallego #[加列戈#示例]
# Suppose demand is normal with mean 100 and standard deviation 20. The[假设需求是正常的均值为100,标准差20。 “]
# unit cost is 5, the holding and penalty cost are 1 and 3[单位成本为5,控股的惩罚成本是1和3]
# respectively. From the definition of the holding and penalty[分别。从控股及罚款的定义]
# cost we find that p=4, then CR = 0.75 and Q = 113.49. Notice that the[成本,我们发现,p = 4时,则CR = 0.75和Q = 113.49。请注意,该]
# order is for 13.49 units (safety stock) more than the mean,[订单为13.49单位(安全库存)以上的平均,]
# ExpC(113.49) = 25.42 and ExpP(113.49) = 274.58, with fill rate of[EXPC(113.49)= 25.42,EXPP(113.49)= 274.58,与填充率]
# 97 percent.[97%。]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|