ConvergenceSummary extends AbstractObservable implements Summary { public double getScaleReduction() { return d_convergence; } ConvergenceSummary(MCMCResults results, Parameter parameter);  ConvergenceSummary(double convergence); boolean getDefined(); double getScaleReduction(); static final String PROPERTY_PSRF; }
@Test public void testResultsCalculatedOnAvailable() { ConvergenceSummary cs = new ConvergenceSummary(d_results, d_parameters[0]); d_results.makeSamplesAvailable(); double convergence = GelmanRubinConvergence.diagnose(d_results, d_parameters[0]); assertEquals(convergence, cs.getScaleReduction(), 0.0); }