Calculate average daily activity pattern