Hi,
I am trying to count the number of consecutive negative numbers in a list. I want to know the frequency of those negative numbers only apearing once, the same for those negatives appearing consecutively 2 times, for those 3 times....and so on.
eg.
-5624
-7455
-7846
-6742
-6868
8336
7238
-4544
-395
2425
5629
-6894
-8553
9720
12380
-18341
24394
-25962
24282
21322
-18343
18493
15352
For this I would get:
5 negatives consecutively = 1 time
2 negatives consecutively = 2 times
1 negative = 3 times
Thank you for your help.