public class QQPlot extends Plot
Constructor and Description |
---|
QQPlot(double[] x)
Constructor of one sample Q-Q plot to standard normal distribution.
|
QQPlot(double[] x,
smile.stat.distribution.Distribution d)
Constructor of one sample Q-Q plot to given distribution.
|
QQPlot(double[] x,
double[] y)
Constructor of two sample Q-Q plot.
|
QQPlot(int[] x,
smile.stat.distribution.DiscreteDistribution d)
Constructor of one sample Q-Q plot to given distribution.
|
QQPlot(int[] x,
int[] y)
Constructor of two sample Q-Q plot.
|
Modifier and Type | Method and Description |
---|---|
void |
paint(Graphics g)
Draw the component with given graphics object.
|
static PlotCanvas |
plot(double[] x)
Create a plot canvas with the one sample Q-Q plot to standard normal
distribution.
|
static PlotCanvas |
plot(double[] x,
smile.stat.distribution.Distribution d)
Create a plot canvas with the one sample Q-Q plot to given distribution.
|
static PlotCanvas |
plot(double[] x,
double[] y)
Create a plot canvas with the two sample Q-Q plot.
|
static PlotCanvas |
plot(int[] x,
smile.stat.distribution.DiscreteDistribution d)
Create a plot canvas with the one sample Q-Q plot to given distribution.
|
static PlotCanvas |
plot(int[] x,
int[] y)
Create a plot canvas with the two sample Q-Q plot.
|
getID, getToolBar, getToolTip, setID
public QQPlot(double[] x)
public QQPlot(double[] x, smile.stat.distribution.Distribution d)
public QQPlot(int[] x, smile.stat.distribution.DiscreteDistribution d)
public QQPlot(double[] x, double[] y)
public QQPlot(int[] x, int[] y)
public void paint(Graphics g)
Shape
public static PlotCanvas plot(double[] x)
x
- a sample set.public static PlotCanvas plot(double[] x, smile.stat.distribution.Distribution d)
x
- a sample set.d
- a distribution.public static PlotCanvas plot(double[] x, double[] y)
x
- a sample set.y
- a sample set.public static PlotCanvas plot(int[] x, smile.stat.distribution.DiscreteDistribution d)
x
- a sample set.d
- a distribution.public static PlotCanvas plot(int[] x, int[] y)
x
- a sample set.y
- a sample set.