# Within individual independence testing

I have a group of individuals that is independent and identical distributed. Within each individual $i$, one may observe $N_i$ observations. The task is to test whether the within-individual observations are independent or not.

Currently I am considering runs test or rank von Neumann ratio, but I am not confident whether I should use them.