Calculate how long supply will last weighted on more recent trends

20 Views Asked by At

Suppose there’s a known quantity of some discrete items and timestamps of them consumed until now. How do I calculate the most accurate estimate on how long the supply will last putting more weight on more recent rates of consumption?