def deriv2(self, p):
    "\n        Second derivative of the link function g''(p)\n\n        implemented through numerical differentiation\n        "
    p = self._clean(p)
    linpred = self.dbn.ppf(p)
    return ((- self.inverse_deriv2(linpred)) / (self.dbn.pdf(linpred) ** 3))
Second derivative of the link function g''(p)

implemented through numerical differentiation
def deriv2(self, p):
    "\n        Second derivative of the link function g(p)\n\n        implemented through numerical differentiation\n        "
    p = self._clean(p)
    linpred = self.dbn.ppf(p)
    return ((- self.inverse_deriv2(linpred)) / (self.dbn.pdf(linpred) ** 3))