Monitoring the depth of anesthesia using Autoregressive model and Sample entropy