mstk.analyzer.series.block_average

mstk.analyzer.series.block_average(series, n_block=5)

Calculate the block average, standard deviation and their standard errors

Parameters:
  • series (Series) – Time series

  • n_block (int) – Number of blocks to use

Returns:

ave_err_std_err – It returns two tuple. The first one is the mean of average of each block and the standard error of this mean. The second one is the mean of standard deviation of each block and the standard error of this mean.

Return type:

tuple of tuple of float