Package org.hipparchus.samples
Class RealDistributionComparison
- java.lang.Object
-
- org.hipparchus.samples.RealDistributionComparison
-
public class RealDistributionComparison extends Object
Displays pdf/cdf for real distributions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RealDistributionComparison.Display
-
Constructor Summary
Constructors Constructor Description RealDistributionComparison()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addCDFSeries(com.xeiam.xchart.Chart chart, RealDistribution distribution, String desc, int lowerBound, int upperBound)
static void
addPDFSeries(com.xeiam.xchart.Chart chart, RealDistribution distribution, String desc, int lowerBound, int upperBound)
static com.xeiam.xchart.Chart
createChart(String title, int minX, int maxX, com.xeiam.xchart.StyleManager.LegendPosition position)
static JComponent
createComponent(String distributionName, int minX, int maxX, String[] seriesText, RealDistribution... series)
static void
main(String[] args)
-
-
-
Method Detail
-
addPDFSeries
public static void addPDFSeries(com.xeiam.xchart.Chart chart, RealDistribution distribution, String desc, int lowerBound, int upperBound)
-
addCDFSeries
public static void addCDFSeries(com.xeiam.xchart.Chart chart, RealDistribution distribution, String desc, int lowerBound, int upperBound)
-
createChart
public static com.xeiam.xchart.Chart createChart(String title, int minX, int maxX, com.xeiam.xchart.StyleManager.LegendPosition position)
-
createComponent
public static JComponent createComponent(String distributionName, int minX, int maxX, String[] seriesText, RealDistribution... series)
-
main
public static void main(String[] args)
-
-