|
SSJ V. 2.6. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.charts.XYChart umontreal.iro.lecuyer.charts.XYLineChart umontreal.iro.lecuyer.charts.QQPlot
public class QQPlot
This class implements QQ-plot (or quantile-quantile plot) objects that compare two probability distributions. The data is given as a list of x-coordinates (x1, x2,…, xn), and one is given a reference continuous probability distribution F(x). One first sorts the xi in ascending order, then noted x(i), and plots the points (F-1(pi), x(i)), where i = 1, 2,…, n and pi = (i - 1/2)/n, to see if the data xi comes from the reference distribution F(x). The graph of the straight line y = x is also plotted for comparison.
Constructor Summary | |
---|---|
QQPlot(String title,
String XLabel,
String YLabel,
ContinuousDistribution dist,
double[] X)
Constructs a new QQPlot instance using the points X. |
|
QQPlot(String title,
String XLabel,
String YLabel,
ContinuousDistribution dist,
double[][] data,
int r)
Constructs a new QQPlot instance. |
|
QQPlot(String title,
String XLabel,
String YLabel,
ContinuousDistribution dist,
double[] X,
int numPoints)
Similar to the constructor QQPlot (title, XLabel, YLabel, dist, X) above, except that only the first numPoints of X
are plotted. |
Method Summary |
---|
Methods inherited from class umontreal.iro.lecuyer.charts.XYLineChart |
---|
add, add, add, add, add, getSeriesCollection, setSeriesCollection, setTicksSynchro, toLatex, view, viewBar |
Methods inherited from class umontreal.iro.lecuyer.charts.XYChart |
---|
disableGrid, drawVerticalLine, enableGrid, getChartMargin, getJFreeChart, getTitle, getXAxis, getYAxis, setAutoRange, setAutoRange, setAutoRange00, setChartMargin, setLatexDocFlag, setManualRange, setManualRange, setManualRange00, setprobFlag, setTitle, toLatexFile |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QQPlot(String title, String XLabel, String YLabel, ContinuousDistribution dist, double[] X)
title
- chart title.XLabel
- Label on x-axis.YLabel
- Label on y-axis.dist
- Reference distributionX
- points.public QQPlot(String title, String XLabel, String YLabel, ContinuousDistribution dist, double[] X, int numPoints)
QQPlot
(title, XLabel, YLabel, dist, X) above, except that only the first numPoints of X
are plotted.
title
- chart title.XLabel
- Label on x-axis.YLabel
- Label on y-axis.dist
- Reference distributionX
- point set.numPoints
- number of points to plotpublic QQPlot(String title, String XLabel, String YLabel, ContinuousDistribution dist, double[][] data, int r)
title
- chart title.XLabel
- Label on x-axis.YLabel
- Label on y-axis.dist
- Reference distributiondata
- series of point sets.r
- set of points to plot
|
SSJ V. 2.6. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |