Thus by extracting the parameter set including the coefficients A and B, reliability of a memory cell can be predicted including the likelihood of degradation in switching ratio, the average lifetime before failure, required reset power drift with cycling, and so on.