Models and time series analysis for anaesthesia