Interface Gaussian


public interface Gaussian
The response variable is of Gaussian (normal) distribution. This family is used for ordinary linear regression and Gaussian GAMs. The canonical link is the identity function, giving the standard linear-Gaussian model.

The Gaussian family supports three link functions:

  • identity() – the canonical identity link g(mu) = mu.
  • log() – the log link g(mu) = log(mu), useful when the mean must be positive.
  • inverse() – the inverse link g(mu) = 1/mu.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static Model
    Identity link function (canonical link for Gaussian).
    static Model
    Inverse link function for Gaussian.
    static Model
    log()
    Log link function for Gaussian.
  • Method Details

    • identity

      static Model identity()
      Identity link function (canonical link for Gaussian). g(mu) = mu, g^{-1}(eta) = eta.
      Returns:
      the identity link model.
    • log

      static Model log()
      Log link function for Gaussian. g(mu) = log(mu), g^{-1}(eta) = exp(eta). Useful when the mean must be positive.
      Returns:
      the log link model.
    • inverse

      static Model inverse()
      Inverse link function for Gaussian. g(mu) = 1/mu, g^{-1}(eta) = 1/eta.
      Returns:
      the inverse link model.