|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.stats.regression.linear.glm.distribution.link.Cloglog
public class Cloglog
This class represents the complementary log-log link function:
g(x) = log(-log(1 - x))
GeneralizedLinearModel| Constructor Summary | |
|---|---|
Cloglog()
|
|
| Method Summary | |
|---|---|
double |
derivative(double x)
Derivative of the link function, i.e., g'(x). |
double |
inverse(double x)
Inverse of the link function, i.e., g-1(x). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Cloglog()
| Method Detail |
|---|
public double inverse(double x)
LinkFunctiong-1(x).
inverse in interface LinkFunctionx - x
g-1(x)public double derivative(double x)
g'(x).
1
g'(x) = -------------------------
log(1 - x) * log(x - 1)
derivative in interface LinkFunctionx -
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||