Dear,
I'm trying to create surrogate data to do the tPAC analysis. I've searched the forum and found people with a similar problem. And for them, changing the windowsize fixed the problem. However, I keep getting this error, no matter what windowsize I use:
Best,
Monica