SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.stats.regression.linear.glm.distribution.link
Interface LinkFunction

All Known Implementing Classes:
Cloglog, Identity, Inverse, InverseSquared, Log, Logit, Probit, Sqrt

public interface LinkFunction

This interface represents a link function g(x) in the Generalized Linear Model (GLM).

The R equivalent function is make.link.

See Also:
GeneralizedLinearModel

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).
 

Method Detail

inverse

double inverse(double x)
Inverse of the link function, i.e., g-1(x).

Parameters:
x - x
Returns:
g-1(x)

derivative

double derivative(double x)
Derivative of the link function, i.e., g'(x).

Parameters:
x - x
Returns:
g'(x)

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.