Learn R Programming

SCperf (version 1.1.1)

SSL-deprecated: Safety stock over lead-time

Description

SSL computes the safety stock level over lead-time for three forecasting methods: Minimum Mean Square Error (MMSE), Simple Moving Average (SMA) and Exponential Smoothing (ES) when the demand follows a stationary AR(1) stochastic process.

Usage

SSL(method, phi, L, p, alpha, SL)

Arguments

method

Character string specifing which method to use

phi

A vector of autoregressive parameters

L

A positive lead-time

p

Order to be used in the SMA method

alpha

Smoothing factor to be used in the ES method (0 < alpha < 1)

SL

Service level

Value

Safety stock level over lead-time

Details

The SSL function has been deprecated and will be made defunct; use the bullwhipgame package.

See Also

pkgSCperf-deprecated

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
SSL("MMSE",0.15,2,4,0.7,0.95)

SSL("SMA",0.15,2,4,0.7,0.95)

SSL("ES",0.15,2,4,0.7,0.95) 
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab