hex
Enum DGLM.Family

java.lang.Object
  extended by java.lang.Enum<DGLM.Family>
      extended by hex.DGLM.Family
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DGLM.Family>
Enclosing class:
DGLM

public static enum DGLM.Family
extends java.lang.Enum<DGLM.Family>


Enum Constant Summary
binomial
           
gamma
           
gaussian
           
poisson
           
tweedie
           
 
Field Summary
 double[] defaultArgs
           
 DGLM.Link defaultLink
           
 double tweedieVariancePower
           
 
Method Summary
 double deviance(double yr, double ym)
          Per family deviance computation.
 double mustart(double y)
           
 java.lang.String toString2()
           
static DGLM.Family valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DGLM.Family[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 double variance(double mu)
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

gaussian

public static final DGLM.Family gaussian

binomial

public static final DGLM.Family binomial

poisson

public static final DGLM.Family poisson

gamma

public static final DGLM.Family gamma

tweedie

public static final DGLM.Family tweedie
Field Detail

defaultLink

public DGLM.Link defaultLink

defaultArgs

public final double[] defaultArgs

tweedieVariancePower

public double tweedieVariancePower
Method Detail

values

public static DGLM.Family[] 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 (DGLM.Family c : DGLM.Family.values())
    System.out.println(c);

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

valueOf

public static DGLM.Family 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

mustart

public double mustart(double y)

variance

public double variance(double mu)

deviance

public double deviance(double yr,
                       double ym)
Per family deviance computation.

Parameters:
family -
yr -
ym -
Returns:

toString2

public java.lang.String toString2()