Method

NumCosmoMathStatsVecget_autocorr_tau

Declaration [src]

gdouble
ncm_stats_vec_get_autocorr_tau (
  NcmStatsVec* svec,
  guint p,
  const guint max_lag
)

Description [src]

Calculates the integrated autocorrelation time for the parameter p using all rows of data.

If max_lag is 0 or larger than the current number of items than it use the current number of items as max_lag.

Parameters

p

Type: guint

Parameter id.

max_lag

Type: const guint

Max lag in the computation.

Return value

Type: gdouble

The integrated autocorrelation time of the whole data.