`SCperf`

computes the bullwhip effect for an stationary ARMA(p,q) demand process and other supply chain performance variables.

1 | ```
SCperf(phi, theta, L = L, SL = 0.95)
``` |

`phi` |
a vector of autoregressive parameters, |

`theta` |
a vector of moving-average parameters, |

`L` |
positive lead-time, |

`SL` |
service level, (default:0.95). |

The bullwhip effect for a stationary ARMA(p,q) demand process is defined as:

*M*

where the *ψ*-weights solve the equations
*ψ(z)θ(z)=φ(z)*. If
*M=1* there is no variance amplification, while
*M>1* means that the bullwhip effect is present. On the
other hand, *M<1* means that the orders are smoothed if
compared with the demand.

Two safety stock measures are presented as well: *SS* and
*SSL=z√{VarDL}*. SSL is calculated using
an estimate of the standard deviation of L periods forecast error
*√{VarDL}* where *\hat{D}_t^L* is an
estimate of the mean demand over L periods after period t.

`SCperf()`

returns a list containing:

`M` |
measure for the bullwhip effect, |

`VarD` |
variance of the demand, |

`VarDL` |
variance of forecasting error for lead-time demand, |

`SS` |
safety stock calculated using the standard deviation of the demand, |

`SSL` |
safety stock calculated using the standard deviation of L periods forecast error, |

`z` |
safety factor. |

Marlene Silva Marchena marchenamarlene@gmail.com

Zhang, X. (2004b). Evolution of ARMA demand in supply chains. Manufacturing and Services Operations Management, 6 (2), 195-198.

Silva Marchena, M. (2010) Measuring and implementing the bullwhip effect under a generalized demand process. http://arxiv.org/abs/1009.3977

1 2 3 4 5 6 7 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.