Inventory Transaction History Analyzer, Stock Out and Lost Sales Quantity field calculation

In the Inventory Transaction History Analyzer, does anyone know how are the Stock Out field and Lost Sales Quantity field calculated?