{
  "id": "survey_weight",
  "kind": "datatype",
  "status": "draft",
  "name": "Survey weight",
  "doc": "Weight of a record of a sample survey or of another sample: the number of units of the population that the respondent, household or sampled article stands for, or a factor that corrects for unequal selection probabilities, nonresponse and the composition of the population (design, post-stratification, calibration and analysis weights). A positive number, usually with decimals and close to 1 on average. The European Social Survey names its weights dweight, pspwght, pweight and anweight, Austrian surveys Gewicht or gew. Not the weight of a thing (weight).",
  "is_pii": false,
  "categories": [
    "science"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^\\d{1,7}(?:[.,]\\d+)?(?:[eE]-?\\d+)?$",
  "examples": [
    {
      "value": "0.5977",
      "description": "Design weight of the Social Survey Austria 2016 (Gewicht_DES)",
      "valid": true
    },
    {
      "value": "2.555830211799104",
      "description": "Weight of the AUTNES post-election survey 2017 (gew)",
      "valid": true
    },
    {
      "value": "0.922626912593842",
      "description": "Design weight of the European Social Survey in Ireland (dweight)",
      "valid": true
    },
    {
      "value": "1",
      "description": "Weight of a respondent in a self-weighting sample",
      "valid": true
    },
    {
      "value": "-0.4",
      "description": "Weights are not negative",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.europeansocialsurvey.org/methodology/ess-methodology/data-processing-and-archiving/weighting"
    }
  ],
  "translations": {
    "de": {
      "name": "Gewichtungsfaktor"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "surveyweightbyname",
        "type": "field",
        "match": "regex",
        "file": "common/survey.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/science/survey_weight.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/science/survey_weight.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/science/survey_weight.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/survey_weight",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/survey_weight.json"
  }
}