SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.stats.regression.linear.glm.distribution.link
Class Probit

java.lang.Object
  extended by com.numericalmethod.suanshu.stats.regression.linear.glm.distribution.link.Probit
All Implemented Interfaces:
LinkFunction

public class Probit
extends java.lang.Object
implements LinkFunction

This class represents the link function: Inverse of cumulative distribution function of a NormalDistribution distribution N(0, 1).

See Also:
GeneralizedLinearModel

Constructor Summary
Probit()
           
 
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

Probit

public Probit()
Method Detail

inverse

public double inverse(double x)
Description copied from interface: LinkFunction
Inverse of the link function, i.e., g-1(x).

Specified by:
inverse in interface LinkFunction
Parameters:
x - x
Returns:
g-1(x)

derivative

public double derivative(double x)
Description copied from interface: LinkFunction
Derivative of the link function, i.e., g'(x).

Specified by:
derivative in interface LinkFunction
Parameters:
x - x
Returns:
g'(x)

SuanShu, a Java numerical and statistical library

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