Skip to content
statsmodels logo
statsmodels v0.13.2 statsmodels.genmod.families.links.NegativeBinomial
Type to start searching
    statsmodels
    • User Guide
    • Generalized Linear Models
    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
    • Show Source

    statsmodels.genmod.families.links.NegativeBinomial¶

    class statsmodels.genmod.families.links.NegativeBinomial(alpha=1.0)[source]¶

    The negative binomial link function

    Parameters
    alphafloat, optional

    Alpha is the ancillary parameter of the Negative Binomial link function. It is assumed to be nonstochastic. The default value is 1. Permissible values are usually assumed to be in (.01, 2).

    Methods

    __call__(p)

    Negative Binomial transform link function

    Methods

    deriv(p)

    Derivative of the negative binomial transform

    deriv2(p)

    Second derivative of the negative binomial link function.

    inverse(z)

    Inverse of the negative binomial transform

    inverse_deriv(z)

    Derivative of the inverse of the negative binomial transform

    inverse_deriv2(z)

    Second derivative of the inverse link function g^(-1)(z).

    Previous statsmodels.genmod.families.links.Logit.inverse_deriv2
    Next statsmodels.genmod.families.links.NegativeBinomial.deriv
    © Copyright 2009-2019, Josef Perktold, Skipper Seabold, Jonathan Taylor, statsmodels-developers.
    Last updated on Feb 08, 2022.
    Created using Sphinx 4.4.0. and Material for Sphinx