---
id: "survey_weight"
kind: "datatype"
status: "draft"
is_pii: false
name: "Survey weight"
regexp: "^\\d{1,7}(?:[.,]\\d+)?(?:[eE]-?\\d+)?$"
categories: ["science"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/survey_weight"
---

# Survey weight (`survey_weight`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

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).

- Personal data (PII): no
- Categories: Scientific (science)
- Countries: global
- Languages: Common to most languages (common)

## Detection

Regular expression (Python `re`):

```
^\d{1,7}(?:[.,]\d+)?(?:[eE]-?\d+)?$
```

## Examples

- `0.5977` — Design weight of the Social Survey Austria 2016 (Gewicht_DES)
- `2.555830211799104` — Weight of the AUTNES post-election survey 2017 (gew)
- `0.922626912593842` — Design weight of the European Social Survey in Ireland (dweight)
- `1` — Weight of a respondent in a self-weighting sample
- `-0.4` (invalid example) — Weights are not negative

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `surveyweightbyname` (field, `common/survey.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- de: Gewichtungsfaktor

## Sources

- doc: <https://www.europeansocialsurvey.org/methodology/ess-methodology/data-processing-and-archiving/weighting>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/survey_weight.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/science/survey_weight.yaml>
