Skip to content
statsmodels logo
statsmodels 0.13.5 statsmodels.genmod.families.links.NegativeBinomial.deriv2
Type to start searching
    statsmodels
    • User Guide
    • Generalized Linear Models
    • statsmodels.genmod.families.links.NegativeBinomial
    statsmodels
    • Installing statsmodels
    • Getting started
    • User Guide
      • Background
      • Regression and Linear Models
        • Linear Regression
        • Generalized Linear Models
        • Generalized Estimating Equations
        • Generalized Additive Models (GAM)
        • Robust Linear Models
        • Linear Mixed Effects Models
        • Regression with Discrete Dependent Variable
        • Generalized Linear Mixed Effects Models
        • ANOVA
        • Other Models othermod
      • Time Series Analysis
      • Other Models
      • Statistics and Tools
      • Data Sets
      • Sandbox
    • Examples
    • API Reference
    • About statsmodels
    • Developer Page
    • Release Notes
    • statsmodels.genmod.families.links.NegativeBinomial.deriv2
      • NegativeBinomial.deriv2
    • Show Source

    statsmodels.genmod.families.links.NegativeBinomial.deriv2¶

    NegativeBinomial.deriv2(p)[source]¶

    Second derivative of the negative binomial link function.

    Parameters:
    parray_like

    Mean parameters

    Returns:
    g’’(p)ndarray

    The second derivative of the negative binomial transform link function

    Notes

    g’’(x) = -(1+2*alpha*x)/(x+alpha*x^2)^2

    Previous statsmodels.genmod.families.links.NegativeBinomial.deriv
    Next statsmodels.genmod.families.links.NegativeBinomial.inverse
    © Copyright 2009-2019, Josef Perktold, Skipper Seabold, Jonathan Taylor, statsmodels-developers.
    Last updated on Nov 02, 2022.
    Created using Sphinx 5.3.0. and Material for Sphinx