|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--pisgah.BinomialGraphData
Provides data for graphing the pf of a binomial distribution
| Constructor Summary | |
BinomialGraphData(int aN,
double aP,
int aI0,
int aI1)
constructs BinomialGraphData |
|
| Method Summary | |
int[] |
getBinLabels()
Gets the integer labels for the bins (same as index for binomial) |
int |
getHighX()
Gets the upper bound (inclusive) for the distribution. |
int |
getHighXInterval()
Gets the upper 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()
Gets the title string of the binomial graph |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BinomialGraphData(int aN,
double aP,
int aI0,
int aI1)
BinomialGraphData
aN - is the integer parameter for the binomial (number of trials)aP - is the probability of successaI0 - 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()
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 | ||||||||