{
  "id": "p_value",
  "kind": "datatype",
  "status": "draft",
  "name": "p-value of a statistical test",
  "doc": "Probability, under the null hypothesis of a statistical test, of a result at least as extreme as the one observed: a number from 0 to 1, written as a decimal (0.023), without the leading zero (.05) or in scientific notation when it is very small (3.2e-08). Tables of results have one for every test: differential expression of genes, regression coefficients, comparisons of groups; the fields are named p-value, pvalue, p.value, pval or P, and values adjusted for multiple testing padj, FDR or q-value. A program may print a p-value too small to represent as 0. A number alone does not tell a p-value from another share or probability: the field name does.",
  "parent": "numeric",
  "is_pii": false,
  "categories": [
    "science",
    "values"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^(?:0?[.,]\\d+|[01]|1[.,]0+|\\d(?:[.,]\\d+)?[eE]-\\d{1,3})$",
  "examples": [
    {
      "value": "0.023",
      "valid": true
    },
    {
      "value": "0.96",
      "valid": true
    },
    {
      "value": "3.2e-08",
      "description": "Scientific notation",
      "valid": true
    },
    {
      "value": "1",
      "valid": true
    },
    {
      "value": ".05",
      "description": "Without the leading zero, as SPSS and Stata print it",
      "valid": true
    },
    {
      "value": "1.5",
      "description": "Above one",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/P-value"
    }
  ],
  "translations": {
    "es": {
      "name": "Valor p de una prueba estadística"
    },
    "ru": {
      "name": "P-значение статистического теста"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "pvaluebyname",
        "type": "field",
        "match": "regex",
        "file": "common/science.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/science/p_value.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/science/p_value.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/science/p_value.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/p_value",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/p_value.json"
  }
}