Quantifying the depth of anesthesia based on brain activity signal modeling