Class LinkSqrt

    • Constructor Detail

      • LinkSqrt

        public LinkSqrt()
    • 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)
        Derivative of the link function, i.e., g'(x). \[ g'(x) = \frac{1}{2\sqrt{x}} \]
        Specified by:
        derivative in interface LinkFunction
        Parameters:
        x - x
        Returns:
        g'(x)