Method

NumCosmoMathMSetCatalogheidel_diag_by_chain

Declaration [src]

guint
ncm_mset_catalog_heidel_diag_by_chain (
  NcmMSetCatalog* mcat,
  const guint ntests,
  const gdouble pvalue,
  gdouble* wp_pvalue,
  NcmFitRunMsgs mtype
)

Description [src]

Calculates the lowest time $t_m$ where all chains satisfy the Heidelberger and Welch’s convergence diagnostic. The variable ntests control the number of divisions where the test will be calculated, if it is zero the default 10 tests will be used.

Parameters

ntests

Type: const guint

Number of tests.

pvalue

Type: const gdouble

Required p-value.

wp_pvalue

Type: gdouble*

Worst parameter p-value.

The argument will be set by the function.
mtype

Type: NcmFitRunMsgs

NcmFitRunMsgs log level.

Return value

Type: guint

The lowest time $t_m$.