|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--pisgah.BetaCalculatorInfo
BetaCalculatorInfo provides beta specific info for Calculator
| Constructor Summary | |
BetaCalculatorInfo()
Constructor for the BetaCalculatorInfo |
|
BetaCalculatorInfo(double aA,
double aB)
constructor for BetaCalculatorInfo Provides parameters and variables for beta distribution |
|
| Method Summary | |
CalculateAnswer |
calculate()
Description of the Method |
CalculateInverseAnswer |
calculateInverse(int tailChoice)
Description of the Method |
double |
getCdf(double x)
Gets the Cummulative beta probability |
java.lang.String |
getDescription()
Gets the Description attribute of the BetaCalculatorInfo object |
java.lang.String |
getDistributionName()
Gets the distribution name |
double[] |
getDoubleInterval()
Gets the DoubleInterval attribute of the BetaCalculatorInfo object |
double[] |
getDoubleParameters()
Gets the DoubleParameters attribute of the BetaCalculatorInfo object |
java.lang.String |
getHelpPageString()
Gets the HelpPageString of the BetaCalculatorInfo |
int[] |
getIntegerInterval()
Gets the IntegerInterval attribute of the BetaCalculatorInfo object |
int[] |
getIntegerParameters()
Gets the IntegerParameters attribute of the BetaCalculatorInfo object |
int |
getNumberIntegerParameters()
Gets the NumberIntegerParameters attribute of the BetaCalculatorInfo object |
int |
getNumberParameters()
Gets the NumberParameters attribute of the BetaCalculatorInfo object |
java.lang.String[] |
getParameterName()
Gets the ParameterName array {"a", "b"} |
java.lang.String |
getParameters()
Gets the Parameters description for a Beta distribution |
java.lang.String |
getTitle()
Gets the Title attribute for the Beta Calculator |
java.lang.String |
getValues()
Gets the Values attribute of the BetaCalculatorInfo object |
boolean |
isDiscreteDistribution()
Implements CalculatorInfo method |
void |
setData(java.lang.String[] integerParameterString,
java.lang.String[] doubleParameterString,
java.lang.String[] intervalString)
Sets the attributes of the BetaCalculator |
void |
setInverseData(java.lang.String[] integerParameterString,
java.lang.String[] doubleParameterString,
java.lang.String alphaString)
Sets the attributes of the BetaCalculator for inverse calculations |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BetaCalculatorInfo()
public BetaCalculatorInfo(double aA,
double aB)
aA - the a parameter of the distirbution, > -1aB - the b parameter of the distribution, > -1| Method Detail |
public void setData(java.lang.String[] integerParameterString,
java.lang.String[] doubleParameterString,
java.lang.String[] intervalString)
throws InputException
setData in interface CalculatorInfointegerParameterString - not useddoubleParameterString - strings for a, bintervalString - strings for x_1, x_2
InputException - rejects invalid inputs
public void setInverseData(java.lang.String[] integerParameterString,
java.lang.String[] doubleParameterString,
java.lang.String alphaString)
throws InputException
setInverseData in interface CalculatorInfointegerParameterString - not useddoubleParameterString - String[] for parameters a and balphaString - probability for inverse calculation
InputException - rejects invalid inputspublic java.lang.String[] getParameterName()
getParameterName in interface CalculatorInfopublic boolean isDiscreteDistribution()
isDiscreteDistribution in interface CalculatorInfopublic java.lang.String getHelpPageString()
getHelpPageString in interface CalculatorInfopublic java.lang.String getDistributionName()
getDistributionName in interface CalculatorInfopublic int getNumberParameters()
public int getNumberIntegerParameters()
getNumberIntegerParameters in interface CalculatorInfopublic int[] getIntegerParameters()
getIntegerParameters in interface CalculatorInfopublic double[] getDoubleParameters()
getDoubleParameters in interface CalculatorInfopublic int[] getIntegerInterval()
getIntegerInterval in interface CalculatorInfopublic double[] getDoubleInterval()
getDoubleInterval in interface CalculatorInfopublic double getCdf(double x)
getCdf in interface CalculatorInfox - Description of Parameter
public java.lang.String getTitle()
getTitle in interface Descriptionpublic java.lang.String getDescription()
getDescription in interface Descriptionpublic java.lang.String getParameters()
getParameters in interface Descriptionpublic java.lang.String getValues()
getValues in interface Descriptionpublic CalculateAnswer calculate()
calculate in interface CalculatorInfopublic CalculateInverseAnswer calculateInverse(int tailChoice)
calculateInverse in interface CalculatorInfotailChoice - Description of Parameter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||