How to randomise a data column using Compute?
Posted: Wed Sep 12, 2018 3:02 pm
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!
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!