|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--pisgah.GammaGraphData
Provides data for graphing the pdf of a Gamma distribution with pdf
c*Math.exp((alpha-1)*Math.log(x))*Math.exp(-1*x/beta)
| Field Summary |
| Fields inherited from interface pisgah.PdfPlotable |
BOTH_TAILS, LEFT_TAIL, RIGHT_TAIL |
| Constructor Summary | |
GammaGraphData()
|
|
GammaGraphData(float aAlpha,
float aBeta,
float aX0,
float aX1)
constructs GammaGraphData |
|
GammaGraphData(float aAlpha,
float aBeta,
float aX0,
float aX1,
boolean aInverseSelected,
int aTailChoice)
constructs GammaGraphData |
|
| Method Summary | |
float |
getHighX()
Gets the upper bound for the viewport. |
java.awt.geom.Point2D.Float |
getHighXInterval()
|
float |
getHighY()
|
float |
getLowX()
Gets the lower bound for the distribution. |
java.awt.geom.Point2D.Float |
getLowXInterval()
|
float |
getLowY()
|
java.awt.geom.Point2D.Float[] |
getPlotPoints()
|
int |
getTailChoice()
|
java.lang.String |
getTitle()
|
java.lang.String |
getXAxisLabel()
|
boolean |
isInverseSelected()
|
void |
reset()
|
void |
setInverseSelected(boolean aInverseSelected)
|
void |
setTailChoice(int aTailChoice)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GammaGraphData()
public GammaGraphData(float aAlpha,
float aBeta,
float aX0,
float aX1)
GammaGraphData
aAlpha - is alpha parameter (x^(a-1): a > 0)aBeta - is the beta parameter ( e^(-x/b): b> 0)aX0 - is the left end of the probability intervalaX1 - is the right end of the probability interval
public GammaGraphData(float aAlpha,
float aBeta,
float aX0,
float aX1,
boolean aInverseSelected,
int aTailChoice)
GammaGraphData
aAlpha - is alpha parameter (x^(a-1): a > 0)aBeta - is the beta parameter ( e^(-x/b): b> 0)aX0 - is the left end of the probability intervalaX1 - is the right end of the probability intervalaInverseSelected - sets the inverse modeaTailChoice - sets the tailChoice in inverse mode| Method Detail |
public java.awt.geom.Point2D.Float[] getPlotPoints()
getPlotPoints in interface PdfPlotablepublic float getLowX()
public float getHighX()
public float getLowY()
getLowY in interface PdfPlotablepublic float getHighY()
getHighY in interface PdfPlotablepublic java.awt.geom.Point2D.Float getLowXInterval()
getLowXInterval in interface PdfPlotablepublic java.awt.geom.Point2D.Float getHighXInterval()
getHighXInterval in interface PdfPlotablepublic java.lang.String getXAxisLabel()
getXAxisLabel in interface PdfPlotablepublic java.lang.String getTitle()
getTitle in interface PdfPlotablepublic void reset()
reset in interface PdfPlotablepublic boolean isInverseSelected()
isInverseSelected in interface PdfPlotablepublic void setInverseSelected(boolean aInverseSelected)
public int getTailChoice()
getTailChoice in interface PdfPlotablepublic void setTailChoice(int aTailChoice)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||