powered by
calculating expected profit for a newsvendor model based on critical ratio.
MPN_singleperiod(mean, standerddeviation, p, c, g, b, na.rm = TRUE)
numeric,Expected demand of the SKU during season.
numeric, standard deviation of the SKU during season.
numeric,selling price of the SKU
numeric,cost of the SKU
numeric,,salvage or discounted value if sold after season,if there is no salvage , zero is placed in the argument.
numeric, peanlity cost of not satisfying demand if any, if not, zero is placed in the argument.
A logical indicating whether missing values should be removed
a dataframe that contains calculations of the maximum expected profit from a newsvendor model based on normal distribution.
calculating expected profit for a newsvendor model. based on assumed normal distribution demand.
# NOT RUN { MPN_singleperiod(mean= 32000,standerddeviation= 11000,p=24,c=10.9,g=7,b=0,na.rm=TRUE) # }
Run the code above in your browser using DataLab