public enum IntervalType extends java.lang.Enum<IntervalType>
Enum Constant and Description |
---|
asy_MLE |
proportion_approx |
proportion_exact |
proportion_wald |
sigma |
sigma2 |
xbar_sigmaKnown |
xbar_sigmaUnknown |
Modifier and Type | Method and Description |
---|---|
abstract double[][] |
getConfidenceIntervals() |
int |
getCvIndex() |
double[] |
getKnownStdDev() |
java.lang.Double |
getLeftCutOffValue() |
double[] |
getMeans() |
int |
getNTrials() |
java.lang.Double |
getRightCutOffValue() |
double[][] |
getSampleData() |
int |
getSampleSize() |
double[] |
getStdDev() |
abstract double[] |
getX_bar() |
void |
sampleData() |
double |
scaleProportionData(double ciValue) |
void |
setCutOffValue(java.lang.Double left,
java.lang.Double right) |
abstract java.lang.String |
toString() |
void |
updateIntervalType(Distribution distribution,
int nTrials,
int sampleSize,
int cvIndex) |
static IntervalType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntervalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntervalType xbar_sigmaKnown
public static final IntervalType xbar_sigmaUnknown
public static final IntervalType proportion_wald
public static final IntervalType proportion_approx
public static final IntervalType proportion_exact
public static final IntervalType sigma
public static final IntervalType sigma2
public static final IntervalType asy_MLE
public static IntervalType[] values()
for (IntervalType c : IntervalType.values()) System.out.println(c);
public static IntervalType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void updateIntervalType(Distribution distribution, int nTrials, int sampleSize, int cvIndex)
public final void sampleData()
public final double[] getMeans()
public final double[] getStdDev()
public final double[] getKnownStdDev()
public final double scaleProportionData(double ciValue)
public int getNTrials()
public int getSampleSize()
public double[][] getSampleData()
public void setCutOffValue(java.lang.Double left, java.lang.Double right)
public java.lang.Double getLeftCutOffValue()
public java.lang.Double getRightCutOffValue()
public int getCvIndex()
public abstract java.lang.String toString()
toString
in class java.lang.Enum<IntervalType>
public abstract double[][] getConfidenceIntervals()
public abstract double[] getX_bar()