1. An automatic analyzer comprising: a storage mechanism for storing approximate expressions for a change in a measured value with time, each of the approximate expression being associated with a corresponding test item or specimen; a parameter optimizing mechanism for optimizing a parameter of the approximate expressions stored in the storage mechanism so as to be associated with an actually measured value; and a determining mechanism for determining presence of an abnormality based on the parameter optimized by the parameter optimizing mechanism.