|
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.Inverse
public class Inverse
This class represents the link function:
g(x) = 1/x
GeneralizedLinearModel| Constructor Summary | |
|---|---|
Inverse()
|
|
| 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 Inverse()
| 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) = ----
x2
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 | |||||||