This invention relates generally to enhancement of accuracy of sensor devices with known transfer functions and the use of information about the response of a sensor to an input parameter to closely estimate the input parameter, and more particularly concerns a system and method for determining a parameter of breathing gas in a patient ventilator from a sensor for the parameter, based upon a known