def deriv2(self, p):
    "\n        Second derivative of the C-Log-Log ink function\n\n        Parameters\n        ----------\n        p : array_like\n            Mean parameters\n\n        Returns\n        -------\n        g''(p) : ndarray\n            The second derivative of the CLogLog link function\n        "
    p = self._clean(p)
    fl = np.log((1 - p))
    d2 = ((- 1) / (((1 - p) ** 2) * fl))
    d2 *= (1 + (1 / fl))
    return d2
Second derivative of the C-Log-Log ink function

Parameters
----------
p : array_like
    Mean parameters

Returns
-------
g''(p) : ndarray
    The second derivative of the CLogLog link function
def deriv2(self, p):
    "\n        Second derivative of the C-Log-Log ink function\n\n        Parameters\n        ----------\n        p : array_like\n            Mean parameters\n\n        Returns\n        -------\n        g(p) : ndarray\n            The second derivative of the CLogLog link function\n        "
    p = self._clean(p)
    fl = np.log((1 - p))
    d2 = ((- 1) / (((1 - p) ** 2) * fl))
    d2 *= (1 + (1 / fl))
    return d2