Method

NumCosmoMathStatsVecmax_ess_time

Declaration [src]

NcmVector*
ncm_stats_vec_max_ess_time (
  NcmStatsVec* svec,
  const guint ntests,
  gint* bindex,
  guint* wp,
  guint* wp_order,
  gdouble* wp_ess
)

Description [src]

Calculates the time $t_m$ that maximizes the Effective Sample Size (ESS). The variable ntests control the number of divisions where the ESS will be calculated, if it is zero the default 10 tests will be used.

Parameters

ntests

Type: const guint

Number of tests.

bindex

Type: gint*

Time index of the best ESS’s.

The argument will be set by the function.
wp

Type: guint*

Worst parameter index.

The argument will be set by the function.
wp_order

Type: guint*

Worst parameter AR fit order.

The argument will be set by the function.
wp_ess

Type: gdouble*

Worst parameter ESS.

The argument will be set by the function.

Return value

Type: NcmVector

A NcmVector containing the best ess.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.