A non-transitory computer readable medium for storing program for causing a computer to execute processing of a method of monitoring pain of an object being estimated based on brainwave data of the object being estimated, the computer having a processor and a memory, the method comprising:
- a) reading out, by the processor, from the memory a plurality of groups of the brainwave data respectively corresponding to a plurality of levels of stimulations, wherein each group of brainwave data are measured by using an electroencephalograph;
- b) dividing each group of brainwave data into subgroups each having a first predetermined time frame and obtaining a temporal change of mean values of respective subgroups of the brainwave data, wherein each of the mean values is calculated in the first predetermined time frame;
- and
- c) evaluating or monitoring a level of pain of the object being estimated from the brainwave data based on the temporal change of the mean values.