A method for administering a gas containing oxygen to a patient. The method includes: measuring an oxygen-dependent physiological parameter in the patient determining an optimal gas delivery parameter based on the oxygen-dependent physiological parameter and administering the gas to the patient in accordance with the optimal gas delivery parameter. In some embodiment of the invention, the method also includes monitoring the oxygen-dependent physiological parameter.