# Methods to quantify randomness (or complexity) in a signal

What are the methods through which we can quantify the randomness or complexity in a given signal. I know spectral flatness measure (geometric to arithmetic means) is one way to do it, but what are other common techniques?

• One way is to quantize your signal and compress it. For example, set samples above/below the mean to 1/0. The compression ratio becomes the randomness measure. – John Jan 29 '14 at 9:55
• What do you mean by quantifying randomness? A particular time series is either deterministic or it isn't. Spectral flatness wouldn't have anything to do with whether a signal is stochastic; I can generate a perfectly deterministic signal that has a flat power spectrum. I'm also not sure what you mean by "complexity." Sounds like you're getting at the amount of entropy in your signal, which would be related to its information content. – Jason R Jan 29 '14 at 13:13

If you think as your signal as a single random variable $X$ that is emitting values, then what you want is to calculate the Entropy of the random variable