edu.ucla.stat.SOCR.experiments.util
Enum IntervalType

java.lang.Object
  extended by java.lang.Enum<IntervalType>
      extended by edu.ucla.stat.SOCR.experiments.util.IntervalType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<IntervalType>

public enum IntervalType
extends java.lang.Enum<IntervalType>

Rahul Gidwani - UCLA Statistics


Enum Constant Summary
asy_MLE
           
proportion_approx
           
proportion_exact
           
proportion_wald
           
sigma
           
sigma2
           
xbar_sigmaKnown
           
xbar_sigmaUnknown
           
 
Method Summary
 double[] BootStrapData2SigleArray()
           
 double[][] getBootStrapData(int trialIndex)
           
 double[] getBootStrapMeans()
           
 double[] getBootStrapPHat()
           
 int getBootStrapSize()
           
 java.lang.String getBootStrapSizeString()
           
 double[] getBootStrapVariance()
           
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 setBootStrap(boolean flag)
           
 void setBootStrapSize(int b)
           
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

xbar_sigmaKnown

public static final IntervalType xbar_sigmaKnown

xbar_sigmaUnknown

public static final IntervalType xbar_sigmaUnknown

proportion_wald

public static final IntervalType proportion_wald

proportion_approx

public static final IntervalType proportion_approx

proportion_exact

public static final IntervalType proportion_exact

sigma

public static final IntervalType sigma

sigma2

public static final IntervalType sigma2

asy_MLE

public static final IntervalType asy_MLE
Method Detail

values

public static IntervalType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (IntervalType c : IntervalType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IntervalType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

setBootStrap

public void setBootStrap(boolean flag)

updateIntervalType

public void updateIntervalType(Distribution distribution,
                               int nTrials,
                               int sampleSize,
                               int cvIndex)

sampleData

public final void sampleData()

getBootStrapData

public double[][] getBootStrapData(int trialIndex)

getMeans

public final double[] getMeans()

getBootStrapMeans

public double[] getBootStrapMeans()

getStdDev

public final double[] getStdDev()

getBootStrapVariance

public final double[] getBootStrapVariance()

getKnownStdDev

public final double[] getKnownStdDev()

scaleProportionData

public final double scaleProportionData(double ciValue)

getNTrials

public int getNTrials()

getSampleSize

public int getSampleSize()

getBootStrapSize

public int getBootStrapSize()

getBootStrapSizeString

public java.lang.String getBootStrapSizeString()

setBootStrapSize

public void setBootStrapSize(int b)

getSampleData

public double[][] getSampleData()

setCutOffValue

public void setCutOffValue(java.lang.Double left,
                           java.lang.Double right)

getLeftCutOffValue

public java.lang.Double getLeftCutOffValue()

getRightCutOffValue

public java.lang.Double getRightCutOffValue()

getCvIndex

public int getCvIndex()

getBootStrapPHat

public double[] getBootStrapPHat()

BootStrapData2SigleArray

public double[] BootStrapData2SigleArray()

toString

public abstract java.lang.String toString()
Overrides:
toString in class java.lang.Enum<IntervalType>

getConfidenceIntervals

public abstract double[][] getConfidenceIntervals()

getX_bar

public abstract double[] getX_bar()