public class QQPlot extends Plot
| Constructor and Description |
|---|
QQPlot(double[][] points)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getLowerBound()
Returns the lower bound of data.
|
double[] |
getUpperBound()
Returns the upper bound of data.
|
static QQPlot |
of(double[] x)
One sample Q-Q plot to standard normal distribution.
|
static QQPlot |
of(double[] x,
smile.stat.distribution.Distribution d)
One sample Q-Q plot to given distribution.
|
static QQPlot |
of(double[] x,
double[] y)
Two sample Q-Q plot.
|
static QQPlot |
of(int[] x,
smile.stat.distribution.DiscreteDistribution d)
One sample Q-Q plot to given discrete distribution.
|
static QQPlot |
of(int[] x,
int[] y)
Two sample Q-Q plot.
|
void |
paint(Graphics g)
Draws the shape.
|
public QQPlot(double[][] points)
points - the points in the plot. A point (x, y) on the plot
corresponds to one of the quantiles of the second
distribution (y-coordinate) plotted against the
same quantile of the first distribution (x-coordinate).public double[] getLowerBound()
PlotgetLowerBound in class Plotpublic double[] getUpperBound()
PlotgetUpperBound in class Plotpublic static QQPlot of(double[] x)
public static QQPlot of(double[] x, smile.stat.distribution.Distribution d)
public static QQPlot of(int[] x, smile.stat.distribution.DiscreteDistribution d)
public static QQPlot of(double[] x, double[] y)
public static QQPlot of(int[] x, int[] y)