std#

skfda.exploratory.stats.std(X, correction=1)[source]#
skfda.exploratory.stats.std(X, correction=1)
skfda.exploratory.stats.std(X, correction=1)

Compute the standard deviation of all the samples in a FData object.

\[\text{std}_X(t) = \sqrt{\frac{1}{N-\text{correction}} \sum_{n=1}^{N}{\left(X_n(t) - \overline{X}(t)\right)^2}}\]
Parameters:
  • X (F) – Object containing all the samples whose standard deviation is wanted.

  • correction (int) – degrees of freedom adjustment. The divisor used in the calculation is N - correction, where N represents the number of elements. Default: 0.

Returns:

Standard deviation of all the samples in the original object, as a functional data object with just one sample.

Return type:

F