|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--pisgah.HypergeometricGraphData
Provides data for graphing the pf of a Hypergeometric distribution
| Constructor Summary | |
HypergeometricGraphData(int aN,
int aR,
int an,
int aI0,
int aI1)
constructs HypergeometricGraphData |
|
| Method Summary | |
int[] |
getBinLabels()
Gets the integer labels for the bins (may be shifted for Hypergeometric) |
int |
getHighX()
Gets the upper bound (inclusive) for the viewport. |
int |
getHighXInterval()
Gets the lower bound (inclusive) for the probability interval |
int |
getLowX()
Gets the lower bound (inclusive) for the distribution. |
int |
getLowXInterval()
Gets the lower bound (inclusive) for the probability interval |
float |
getMaxProbability()
Gets the maximum probability for scaling |
float[] |
getProbability()
Gets the probability of each value |
java.lang.String |
getTitleString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HypergeometricGraphData(int aN,
int aR,
int an,
int aI0,
int aI1)
HypergeometricGraphData
aN - is the population size (positive integer)aR - is the "special" population size (positive integer <= N)an - is the sample size (positive integer <=N)aI0 - is the left end of the probability intervalaI1 - is the right end of the probability interval| Method Detail |
public int[] getBinLabels()
getBinLabels in interface PfPlotablepublic float[] getProbability()
getProbability in interface PfPlotablepublic float getMaxProbability()
getMaxProbability in interface PfPlotablepublic int getLowX()
getLowX in interface PfPlotablepublic int getHighX()
getHighX in interface PfPlotablepublic int getLowXInterval()
getLowXInterval in interface PfPlotablepublic int getHighXInterval()
PfPlotable
getHighXInterval in interface PfPlotablepublic java.lang.String getTitleString()
getTitleString in interface PfPlotable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||