The behavior of estimations of the optimal inventory level is analyzed. Two models are studied. The demands follow unknown probability distribution function. The included density functions are estimated and a plug-in rule is suggested for computing estimates of the optimal levels. Two search algorithms are proposed and compared using Monte Carlo experiments. .