public static enum DGLM.Family extends java.lang.Enum<DGLM.Family>
Enum Constant and Description |
---|
binomial |
gamma |
gaussian |
poisson |
tweedie |
Modifier and Type | Field and Description |
---|---|
double[] |
defaultArgs |
DGLM.Link |
defaultLink |
double |
tweedieVariancePower |
Modifier and Type | Method and Description |
---|---|
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) |
public static final DGLM.Family gaussian
public static final DGLM.Family binomial
public static final DGLM.Family poisson
public static final DGLM.Family gamma
public static final DGLM.Family tweedie
public DGLM.Link defaultLink
public final double[] defaultArgs
public double tweedieVariancePower
public static DGLM.Family[] values()
for (DGLM.Family c : DGLM.Family.values()) System.out.println(c);
public static DGLM.Family 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 double mustart(double y)
public double variance(double mu)
public double deviance(double yr, double ym)
yr
- ym
- public java.lang.String toString2()