|
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.Logit
public class Logit
This class represents the link function:
mu
g(x) = log(--------)
1 - mu
GeneralizedLinearModel| Constructor Summary | |
|---|---|
Logit()
|
|
| 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 Logit()
| Method Detail |
|---|
public double inverse(double x)
g-1(x).
exp(x)
g_inv(x) = ------------
1 + exp(x)
inverse in interface LinkFunctionx - x
public double derivative(double x)
g'(x).
1
g'(x) = -----------
x (1 - x)
derivative in interface LinkFunctionx - x
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||