The data was acquired from the National Survey for Wales, 2018-2019. The data was extracted from the variable DvWbSatlifeGrp4
. Respondents were asked to rate their overall satisfaction with life between 0 - 10. Low was classified at (0 - 4). Sample weighting from the column SampleAdultWeight
were applied to make the data more representative of the general population and to account for sub-sampling. Confidence intervals were calculated using the binom.wilson()
function from the {binom} R package.
Surveyed people were asked to report on their highest level of education. The derived responses were original stored as variable DvHiQual2
. The original response options were:
These options were re-coded to form a four category variable Education
as follows High = 1, Medium = 2, Low = 3 & 4, None = 5.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.