The data was acquired from the National Survey for Wales, 2018-2019. The data was extracted from the variable DvWEMWBSGrp
. Respondants answered a series of questions relating to mental health. Their total score was reported, with a minimum of 14 and a maximum of 70. A low score was re-coded as (14 - 44). 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.