giddy.directional.Rose

Rose.permute(self, permutations=99, alternative='two.sided')[source]

Generate ransom spatial permutations for inference on LISA vectors.

Parameters
permutationsint, optional

Number of random permutations of observations.

alternativestring, optional

Type of alternative to form in generating p-values. Options are: two-sided which tests for difference between observed counts and those obtained from the permutation distribution; positive which tests the alternative that the focal unit and its lag move in the same direction over time; negative which tests that the focal unit and its lag move in opposite directions over the interval.