Hi,
I was wondering if there would be an easy way to retrieve the average amount of time (in hours or minutes) that a signal stays above a certain limit within time series data. I have added an example data set in the attachment.
I added some preliminary SD limits which i calculated based on the mean baseline of the data.

So what would be the avarge amount of time for the signal to return back below 2SD, 3SD or 5SD?
Thanks.