def deriv2(self, p):
    "\n        Second derivative of the Cauchy link function.\n\n        Parameters\n        ----------\n        p : array_like\n            Probabilities\n\n        Returns\n        -------\n        g''(p) : ndarray\n            Value of the second derivative of Cauchy link function at `p`\n        "
    p = self._clean(p)
    a = (np.pi * (p - 0.5))
    d2 = (((2 * (np.pi ** 2)) * np.sin(a)) / (np.cos(a) ** 3))
    return d2
Second derivative of the Cauchy link function.

Parameters
----------
p : array_like
    Probabilities

Returns
-------
g''(p) : ndarray
    Value of the second derivative of Cauchy link function at `p`
def deriv2(self, p):
    "\n        Second derivative of the Cauchy link function.\n\n        Parameters\n        ----------\n        p : array_like\n            Probabilities\n\n        Returns\n        -------\n        g(p) : ndarray\n            Value of the second derivative of Cauchy link function at `p`\n        "
    p = self._clean(p)
    a = (np.pi * (p - 0.5))
    d2 = (((2 * (np.pi ** 2)) * np.sin(a)) / (np.cos(a) ** 3))
    return d2