Page 1 of 1

How to randomise a data column using Compute?

Posted: Wed Sep 12, 2018 3:02 pm
by Fhas
Hi all,

I am trying to figure out how to randomise a data column for use in further analyses.
This is a common 'surrogate' test for time series analysis.

I can draw random uniform numbers based on 1:NROW and round them, but this obviously doesn't guarantee a clean result. Moreover, it is unclear to me how to use a possible index to reorder the values using compute.

Hop anyone can help, thanks!

Re: How to randomise a data column using Compute?

Posted: Wed Sep 12, 2018 9:18 pm
by jonathon
hi fhas,

you're trying to sample *without* replacement?

that's something i've been meaning to add - hopefully will get to it soon.

cheers

jonathon

Re: How to randomise a data column using Compute?

Posted: Mon Sep 17, 2018 1:47 pm
by Fhas
Indeed, sampling without replacement.
Thanks!