A fictitious observational study (synthetic data) on sleep and maths scores, with versions for specialists, students and the general public. The specialist and student versions are faithful; the public version deliberately overstates the result, so the indicators have something to find.
Usage
sc_example(lang = c("en", "es"))Examples
ex <- sc_example()
ex$finding
#> <sc_finding>
#> Claim: Secondary school students who slept less than 7 hours a night had lower maths scores than those who slept 8 hours or more.
#> Direction: decrease
#> Design: observational (does not support causal claims)
#> Certainty: low
#> Population: 2,400 secondary school students in one region of Spain
#> Effect: 4.2 points lower on a 100-point test (95% CI 2.1 to 6.3)
#> Key numbers: 4.2, 2.1, 6.3, 2400
#> Limitations:
#> - self-reported data
#> - cross-sectional design: both variables measured at the same time
#> - students from a single region
ex$versions$public
#> <sc_version: public (public, en)>
#> Lack of sleep ruins teenagers' maths results, a new study proves.
#> Teenagers who sleep less than 7 hours get much worse marks, so parents
#> should make sure their children go to bed early. The effect is clear:
#> sleep causes better grades.