powered by
Expected profit from a newsvendor model based on a poisson distribution.
EPP_singleperiod(quantity, lambda, p, c, g, b, na.rm = TRUE)
numeric,quantity to be ordered during season.
numeric, mean of the demand based on poisson distribution.
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 expected profit from a newsvendor model based on poisson distribution.
calculating expected profit for a newsvendor model. based on assumed poisson distribution demand.
# NOT RUN { EPP_singleperiod(quantity=40149,lambda= 32000,p=24,c=10.9,g=7,b=0,na.rm=TRUE) # }
Run the code above in your browser using DataLab