Austin Fearnley wrote:Fred wrote:
@Austin Well, now that you finally posted more detail it is more understandable. What you are not realizing is that you are leaving orphans behind in A and/or B when the constraint is not happening so your trial numbers don't match up when you do the correlation.
I see no orphans
Sorry, I should have explained that better. Separate the events into two lists each for A and B. You will see that in my code as outA1, outA2 and outB1, outB2. The first lists are events greater than lambda, the second lists are events less than lambda. Now, you will find orphans in the first lists with no matching trial numbers in the corresponding other first list. Because their "partner" went to the second lists.
.