bullwhip computes the increase of demand
variability for a simple two-stage supply chains
consisting of a single retailer and a single manufacturer using three
forcasting methods: Minimum Mean Square Error (MMSE), Simple Moving
Average (SMA) and Exponential Smoothing (ES) when the demand follows
a known stationary AR(1) stochastic process.
Usage
bullwhip(method, phi, L, p, alpha)
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)
Value
The measure for the bullwhip effect
Details
The bullwhip function has been deprecated and will be made defunct; use
the bullwhipgame package.