// Estimates of the errors in the best fit mu, sigma and gamma
this.probPlotStats(2, this.exponentialParam);
// Create instance of PlotGraph
PlotGraph pg = new PlotGraph(data);
int[] points = {4, 0};
pg.setPoint(points);
int[] lines = {0, 3};
pg.setLine(lines);
pg.setXaxisLegend("Exponential Order Statistic Medians");
pg.setYaxisLegend("Ordered Data Values");
pg.setGraphTitle("Exponential probability plot: gradient = " + Fmath.truncate(this.exponentialLine[1], 4) + ", intercept = " + Fmath.truncate(this.exponentialLine[0], 4) + ", R = " + Fmath.truncate(this.exponentialCorrCoeff, 4));
pg.setGraphTitle2(" mu = " + Fmath.truncate(this.exponentialParam[0], 4) + ", sigma = " + Fmath.truncate(this.exponentialParam[1], 4));
// Plot
pg.plot();
this.exponentialDone = true;
this.probPlotDone = true;
}