{
  "__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:discrete_zipf",
  "arbitrary": [
    {
      "__type": "Section",
      "__tag": 4015,
      "children": [
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "A random variable has the zeta distribution (also called the zipf distribution) with parameter "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "\\alpha>1"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " if it's probability mass function is given by"
            }
          ]
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": ""
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "where"
            }
          ]
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": "\\zeta\\left(\\alpha\\right)=\\sum_{n=1}^{\\infty}\\frac{1}{n^{\\alpha}}"
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "is the Riemann zeta function. Other functions of this distribution are"
            }
          ]
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": ""
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": ""
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "where "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "\\zeta_{i}=\\zeta\\left(\\alpha-i\\right)"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " and "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "\\textrm{Li}_{n}\\left(z\\right)"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " is the "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "n^{\\textrm{th}}"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " polylogarithm function of "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "z"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " defined as"
            }
          ]
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": "\\textrm{Li}_{n}\\left(z\\right)\\equiv\\sum_{k=1}^{\\infty}\\frac{z^{k}}{k^{n}}"
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": "\\mu_{n}^{\\prime}=\\left.M^{\\left(n\\right)}\\left(t\\right)\\right|_{t=0}=\\left.\\frac{\\textrm{Li}_{\\alpha-n}\\left(e^{t}\\right)}{\\zeta\\left(a\\right)}\\right|_{t=0}=\\frac{\\zeta\\left(\\alpha-n\\right)}{\\zeta\\left(\\alpha\\right)}"
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Implementation: "
            },
            {
              "__type": "InlineRole",
              "__tag": 4003,
              "value": "scipy.stats.zipf",
              "domain": null,
              "role": null,
              "inventory": null
            }
          ]
        }
      ],
      "title": [
        {
          "__type": "Text",
          "__tag": 4046,
          "value": "Zipf (Zeta) Distribution"
        }
      ],
      "level": 0,
      "target": "discrete-zipf"
    }
  ],
  "local_refs": []
}