Stockouts and Inventory Investment