{
  "__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_laplace",
  "arbitrary": [
    {
      "__type": "Section",
      "__tag": 4015,
      "children": [
        {
          "__type": "Math",
          "__tag": 4058,
          "value": ""
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": ""
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "The ML estimator of the location parameter is"
            }
          ]
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": "\\hat{L}=\\mathrm{median}\\left(X_{i}\\right)"
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "where "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "X_{i}"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " is a sequence of "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "N"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " mutually independent Laplace RV's and the median is some number between the "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "\\frac{1}{2}N\\mathrm{th}"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " and the "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "(N/2+1)\\mathrm{th}"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " order statistic ( "
            },
            {
              "__type": "Emphasis",
              "__tag": 4047,
              "children": [
                {
                  "__type": "Text",
                  "__tag": 4046,
                  "value": "e.g."
                }
              ]
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " take the average of these two) when "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "N"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " is even. Also,"
            }
          ]
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": "\\hat{S}=\\frac{1}{N}\\sum_{j=1}^{N}\\left|X_{j}-\\hat{L}\\right|."
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Replace "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "\\hat{L}"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " with "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "L"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " if it is known. If "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "L"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " is known then this estimator is distributed as "
            },
            {
              "__type": "InlineMath",
              "__tag": 4057,
              "value": "\\left(2N\\right)^{-1}S\\cdot\\chi_{2N}^{2}"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": " ."
            }
          ]
        },
        {
          "__type": "Math",
          "__tag": 4058,
          "value": ""
        },
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Implementation: "
            },
            {
              "__type": "InlineRole",
              "__tag": 4003,
              "value": "scipy.stats.laplace",
              "domain": null,
              "role": null,
              "inventory": null
            }
          ]
        }
      ],
      "title": [
        {
          "__type": "Text",
          "__tag": 4046,
          "value": "Laplace (Double Exponential, Bilateral Exponential) Distribution"
        }
      ],
      "level": 0,
      "target": "continuous-laplace"
    }
  ],
  "local_refs": []
}