Text this: Mathematical modeling of the interaction between endocrine systems and EEG signals