A method for analyzing a temperature of exhaust gas includes calculating
an approximate temperature at least one time by fitting a measured
spectrum to a portion of theoretical spectra defined in association with
a first temperature range using a temperature determined in the an
immediately previous preceding temperature analysis as a reference, and
then determining a calculated temperature by fitting the measured
spectrum to all the theoretical spectra over a second temperature range
that is narrower than the first temperature range, using the approximate
temperature as a reference.