def deriv2(self, p):
    "Second derivative of the link function g''(p)\n\n        implemented through numerical differentiation\n        "
    from statsmodels.tools.numdiff import _approx_fprime_cs_scalar
    return _approx_fprime_cs_scalar(p, self.deriv)
Second derivative of the link function g''(p)

implemented through numerical differentiation
def deriv2(self, p):
    "Second derivative of the link function g(p)\n\n        implemented through numerical differentiation\n        "
    from statsmodels.tools.numdiff import _approx_fprime_cs_scalar
    return _approx_fprime_cs_scalar(p, self.deriv)