Estimation and inference in the linear-quadratic inventory model