Calculate the coefficient of variation of order k.
The coefficient of variation (CV) of order \(k\) is defined as
\[\left( \frac{\sigma}{\mu} \right)^{k},\]
where \(\sigma\) is the standard deviation and \(\mu\) is the
mean of the input data.
- Parameters:
- x : array-like
Input time series or data vector.
- k : int, optional
Order of the coefficient of variation. Default is 1.
- Returns:
The coefficient of variation of order \(k\).
- Return type:
float