|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--pisgah.NegativeBinomialGraphData
Provides data for graphing the pf of a negative binomial distribution
| Constructor Summary | |
NegativeBinomialGraphData(int aR,
double aP,
int aI0,
int aI1)
constructs NegativeBinomialGraphData |
|
| Method Summary | |
int[] |
getBinLabels()
Gets the integer labels for the bins. |
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 NegativeBinomialGraphData(int aR,
double aP,
int aI0,
int aI1)
NegativeBinomialGraphData
aR - is the integer parameter of the distribution (number of successes)aP - is the probability of a 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()
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 | ||||||||