Trough all the paper we assume that we have two series of pairs: O=(o_{\textrm{i}},d_{i})_{i=0}^{n} (orders) and S=(q{i},d{i})_{i=0}^{n} (stock movements) each pair up to n-1 is composed of a quantity and a date and represents a log in our inventory archive. the last pair has 0 for quantity by convention and the date is the last day for the time interval under consideration. For simplicity we assume that we have only one article in stock, so if we have the following logs for the period 1-10 January:
| 32 items in stock. | 1 Jan |
| Ordered 100 items. | 3 Jan |
| 20 items sold. | 4 Jan |
| 100 items arrived. | 6 Jan |
| 15 items sold. | 6 Jan |
then we have the following series: O=\{(0,1-\textrm{jan}),(100,3-\textrm{jan}),(-100,6-\textrm{jan}),(0,10-jan)\} and S=\{(32,1-\textrm{jan}),(-20,4-\textrm{jan}),(100,6-\textrm{jan}),(-15,6-\textrm{jan}),(0,10-jan)\} we also denote with t the time interval.
| Next | ||
| Base statistics |