{
  "__type": "IngestedDoc",
  "__tag": 4010,
  "_content": {},
  "_ordered_sections": [],
  "item_file": null,
  "item_line": null,
  "item_type": null,
  "aliases": [],
  "example_section_data": {
    "__type": "Section",
    "__tag": 4015,
    "children": [],
    "title": [],
    "level": 0,
    "target": null
  },
  "see_also": [],
  "signature": null,
  "references": null,
  "qa": "tutorial:stats:continuous_gengamma",
  "arbitrary": [
    {
      "__type": "Section",
      "__tag": 4015,
      "children": [
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "A general probability form that reduces to many common distributions. There are two shape parameters "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "a>0"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " and "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "c\\neq0"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": ". The support is "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "x\\geq0"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "."
            }
          ]
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": ""
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "where "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "\\gamma"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " is the lower incomplete gamma function, "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "\\gamma\\left(s, x\\right) = \\int_0^x t^{s-1} e^{-t} dt"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "."
            }
          ]
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": ""
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Special cases are Weibull "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "\\left(a=1\\right)"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": ", half-normal "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "\\left(a=1/2,c=2\\right)"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " and ordinary gamma distributions "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "c=1."
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " If "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "c=-1"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " then it is the inverted gamma distribution."
            }
          ]
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": "h\\left[X\\right]=a-a\\Psi\\left(a\\right)+\\frac{1}{c}\\Psi\\left(a\\right)+\\log\\Gamma\\left(a\\right)-\\log\\left|c\\right|."
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Implementation: "
            },
            {
              "__type": "InlineRole",
              "__tag": 4003,
              "value": "scipy.stats.gengamma",
              "domain": null,
              "role": null,
              "inventory": null
            }
          ]
        }
      ],
      "title": [
        {
          "__type": "Text",
          "__tag": 4046,
          "value": "Generalized Gamma Distribution"
        }
      ],
      "level": 0,
      "target": "continuous-gengamma"
    }
  ],
  "local_refs": []
}