{
  "__type": "IngestedDoc",
  "__tag": 4010,
  "_content": {
    "Notes": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Warns": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Raises": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Yields": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Methods": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Returns": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Summary": {
      "__type": "Section",
      "__tag": 4015,
      "children": [
        {
          "__type": "Paragraph",
          "__tag": 4045,
          "children": [
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "Result of "
            },
            {
              "__type": "CrossRef",
              "__tag": 4002,
              "value": "scipy.stats.quantile_test",
              "reference": {
                "__type": "RefInfo",
                "__tag": 4000,
                "module": "scipy",
                "version": "*",
                "kind": "api",
                "path": "scipy.stats._stats_py:quantile_test"
              },
              "kind": "module"
            },
            {
              "__type": "Text",
              "__tag": 4046,
              "value": "."
            }
          ]
        }
      ],
      "title": [],
      "level": 0,
      "target": null
    },
    "Receives": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Warnings": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Attributes": {
      "__type": "Section",
      "__tag": 4015,
      "children": [
        {
          "__type": "Parameters",
          "__tag": 4026,
          "children": [
            {
              "__type": "DocParam",
              "__tag": 4016,
              "name": "statistic: float",
              "annotation": "",
              "desc": [
                {
                  "__type": "Paragraph",
                  "__tag": 4045,
                  "children": [
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": "The statistic used to calculate the p-value; either "
                    },
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "T1"
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": ", the number of observations less than or equal to the hypothesized quantile, or "
                    },
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "T2"
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": ", the number of observations strictly less than the hypothesized quantile. Two test statistics are required to handle the possibility the data was generated from a discrete or mixed distribution."
                    }
                  ]
                }
              ]
            },
            {
              "__type": "DocParam",
              "__tag": 4016,
              "name": "statistic_type",
              "annotation": "int",
              "desc": [
                {
                  "__type": "Paragraph",
                  "__tag": 4045,
                  "children": [
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "1"
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": " or "
                    },
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "2"
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": " depending on which of "
                    },
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "T1"
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": " or "
                    },
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "T2"
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": " was used to calculate the p-value respectively. "
                    },
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "T1"
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": " corresponds to the "
                    },
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "\"greater\""
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": " alternative hypothesis and "
                    },
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "T2"
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": " to the "
                    },
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "\"less\""
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": ".  For the "
                    },
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "\"two-sided\""
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": " case, the statistic type that leads to smallest p-value is used.  For significant tests, "
                    },
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "statistic_type = 1"
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": " means there is evidence that the population quantile is significantly greater than the hypothesized value and "
                    },
                    {
                      "__type": "InlineCode",
                      "__tag": 4051,
                      "value": "statistic_type = 2"
                    },
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": " means there is evidence that it is significantly less than the hypothesized value."
                    }
                  ]
                }
              ]
            },
            {
              "__type": "DocParam",
              "__tag": 4016,
              "name": "pvalue",
              "annotation": "float",
              "desc": [
                {
                  "__type": "Paragraph",
                  "__tag": 4045,
                  "children": [
                    {
                      "__type": "Text",
                      "__tag": 4046,
                      "value": "The p-value of the hypothesis test."
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "title": [],
      "level": 0,
      "target": null
    },
    "Parameters": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Extended Summary": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    },
    "Other Parameters": {
      "__type": "Section",
      "__tag": 4015,
      "children": [],
      "title": [],
      "level": 0,
      "target": null
    }
  },
  "_ordered_sections": [
    "Summary",
    "Extended Summary",
    "Parameters",
    "Attributes",
    "Methods",
    "Returns",
    "Yields",
    "Receives",
    "Other Parameters",
    "Raises",
    "Warns",
    "Warnings",
    "Notes"
  ],
  "item_file": "/scipy/stats/_stats_py.py",
  "item_line": 8922,
  "item_type": "class",
  "aliases": [
    "scipy.stats._stats_py.QuantileTestResult"
  ],
  "example_section_data": {
    "__type": "Section",
    "__tag": 4015,
    "children": [],
    "title": [],
    "level": 0,
    "target": null
  },
  "see_also": [],
  "signature": {
    "__type": "SignatureNode",
    "__tag": 4029,
    "kind": "function",
    "parameters": [
      {
        "__type": "SigParam",
        "__tag": 4030,
        "name": "statistic",
        "annotation": "float",
        "kind": "POSITIONAL_OR_KEYWORD",
        "default": {
          "__type": "Empty",
          "__tag": 4031
        }
      },
      {
        "__type": "SigParam",
        "__tag": 4030,
        "name": "statistic_type",
        "annotation": "int",
        "kind": "POSITIONAL_OR_KEYWORD",
        "default": {
          "__type": "Empty",
          "__tag": 4031
        }
      },
      {
        "__type": "SigParam",
        "__tag": 4030,
        "name": "pvalue",
        "annotation": "float",
        "kind": "POSITIONAL_OR_KEYWORD",
        "default": {
          "__type": "Empty",
          "__tag": 4031
        }
      },
      {
        "__type": "SigParam",
        "__tag": 4030,
        "name": "_alternative",
        "annotation": "list[str]",
        "kind": "POSITIONAL_OR_KEYWORD",
        "default": {
          "__type": "Empty",
          "__tag": 4031
        }
      },
      {
        "__type": "SigParam",
        "__tag": 4030,
        "name": "_x",
        "annotation": "np.ndarray",
        "kind": "POSITIONAL_OR_KEYWORD",
        "default": {
          "__type": "Empty",
          "__tag": 4031
        }
      },
      {
        "__type": "SigParam",
        "__tag": 4030,
        "name": "_p",
        "annotation": "float",
        "kind": "POSITIONAL_OR_KEYWORD",
        "default": {
          "__type": "Empty",
          "__tag": 4031
        }
      }
    ],
    "return_annotation": "None",
    "target_name": "QuantileTestResult"
  },
  "references": null,
  "qa": "scipy.stats._stats_py:QuantileTestResult",
  "arbitrary": [],
  "local_refs": [
    "pvalue",
    "statistic: float",
    "statistic_type"
  ]
}