public enum IntervalType extends java.lang.Enum<IntervalType>
Enum Constant and Description |
---|
proportion_approx |
proportion_exact |
proportion_wald |
sigma |
sigma2 |
xbar_sigmaKnown |
xbar_sigmaUnknown |
Modifier and Type | Method and Description |
---|---|
protected static java.util.List |
convertTo1DArray(double[] oneDArray) |
protected static java.util.List |
convertTo1DArray(double[][] twoDArray) |
abstract double[] |
getConfidenceIntervals() |
int |
getCvIndex() |
double |
getKnownStdDev() |
java.lang.Double |
getLeftCutOffValue() |
static double |
getMaxValueFrom1DArray(double[] dataArray) |
static double |
getMaxValueFrom2DArray(double[][] dataArray) |
double |
getMean() |
static double |
getMinValueFrom1DArray(double[] dataArray) |
static double |
getMinValueFrom2DArray(double[][] dataArray) |
java.lang.Double |
getRightCutOffValue() |
double[] |
getSampleData() |
int |
getSampleSize() |
double |
getStdDev() |
abstract double |
getX_bar() |
double |
scaleProportionData(double ciValue) |
void |
setCutOffValue(java.lang.Double left,
java.lang.Double right) |
void |
setSampleData(double[] input) |
void |
setSampleData(java.lang.String[] input) |
abstract java.lang.String |
toString() |
void |
updateIntervalType(int sampleSize,
int cvIndex,
double[] samples) |
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 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(int sampleSize, int cvIndex, double[] samples)
public final void setSampleData(double[] input)
public final void setSampleData(java.lang.String[] input)
public final double getMean()
public final double getStdDev()
public final double getKnownStdDev()
protected static java.util.List convertTo1DArray(double[][] twoDArray)
protected static java.util.List convertTo1DArray(double[] oneDArray)
public static double getMaxValueFrom2DArray(double[][] dataArray)
public static double getMinValueFrom2DArray(double[][] dataArray)
public static double getMaxValueFrom1DArray(double[] dataArray)
public static double getMinValueFrom1DArray(double[] dataArray)
public final double scaleProportionData(double ciValue)
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()