idi: Average intermittent demand interval of each series.
cv2: Squared coefficient of variation of the non-zero demands.
level: Mean level of the non-zero demands. If NULL, then a random level in [10,100] is selected.
Returns
series: A data matrix containing all the generated series.
References
This simulator assumes that non-zero demand arrivals follow a bernoulli distribution and the non-zero demands a negative binomial distribution. Petropoulos F., Makridakis S., Assimakopoulos V. & Nikolopoulos K. (2014) "'Horses for Courses' in demand forecasting", European Journal of Operational Research, Vol. 237, No. 1, pp. 152-163