| sample_one | R Documentation |
A realistic multistage design (stratum -> PSU -> household, then one selected
person per household). Unknown-eligibility and ineligible addresses appear as
single rows with no roster; resolved eligible households are either reached
(a roster is obtained) or are household nonresponse; in reached households one
person is selected with an unequal within-household probability and may or may
not respond. Supports the full household pipeline: household-level eligibility
(cluster), dropping ineligibles, household and person nonresponse, and
step_select_within. Generated by data-raw/weightflow_data.R.
sample_one
A data frame with one row per sampled household (the selected person, or a single placeholder row for non-roster cases):
identifiers
stratum
selected person's attributes (NA on non-roster rows)
design base weight (product of the stage selection probabilities)
"eligible", "ineligible" or "unknown"
full field disposition as a single factor (a recode of the indicator columns): "eligible respondent", "eligible nonrespondent", "household nonresponse", "ineligible" or "unknown eligibility"
1 if eligibility is unknown (no roster)
1 if the address is out of scope (no roster)
1 reached, 0 household nonresponse, NA for non-eligible
1 if the selected person responded (NA on non-roster rows)
number of eligible persons in the household (NA on non-roster rows)
within-household selection probability of the selected person
survey outcomes; NA unless the person responded
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.