Package jdistlib.inference
Class McmcDiagnostics
java.lang.Object
jdistlib.inference.McmcDiagnostics
Rank-normalized R-hat, bulk/tail ESS, MCSE, and sampler diagnostics.
-
Method Summary
Modifier and TypeMethodDescriptionstatic McmcDiagnosticReportanalyze(String[] names, ChainResult... chains) static McmcDiagnosticReportanalyze(ChainResult... chains) static doublenestedRankNormalizedRHat(double[][] chains, int[] superchainIds) Rank-normalized and folded nested R-hat, matching the robust ordinary diagnostic.static doublenestedRHat(double[][] chains, int[] superchainIds) Nested R-hat for chains grouped by common-initialization superchain IDs.
-
Method Details
-
nestedRHat
public static double nestedRHat(double[][] chains, int[] superchainIds) Nested R-hat for chains grouped by common-initialization superchain IDs. -
nestedRankNormalizedRHat
public static double nestedRankNormalizedRHat(double[][] chains, int[] superchainIds) Rank-normalized and folded nested R-hat, matching the robust ordinary diagnostic. -
analyze
-
analyze
-