Skip to content

Commit 39222e6

Browse files
L-GrootLaura GrootLaura GrootLaura GrootLaura Groot
authored
New datasets: 'ADHD' and 'Boredom (#45)
* - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * Delete data/.Rapp.history --------- Co-authored-by: Laura Groot <[email protected]> Co-authored-by: Laura Groot <[email protected]> Co-authored-by: Laura Groot <[email protected]> Co-authored-by: Laura Groot <[email protected]> Co-authored-by: Laura Groot <[email protected]> Co-authored-by: Laura Groot <[email protected]>
1 parent 8253987 commit 39222e6

File tree

12 files changed

+365
-99
lines changed

12 files changed

+365
-99
lines changed

.DS_Store

8 KB
Binary file not shown.

DESCRIPTION

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Authors@R: c(
1616
comment = c(ORCID = "0000-0002-9838-7308"))
1717
)
1818
Maintainer: Maarten Marsman <[email protected]>
19-
Description: Bayesian variable selection methods for analyzing the structure of a Markov Random Field model for a network of binary and/or ordinal variables. Details of the implemented methods can be found in: Marsman, van den Bergh, and Haslbeck (in press) <doi:10.31234/osf.io/ukwrf>.
19+
Description: Bayesian variable selection methods for analyzing the structure of a Markov Random Field model for a network of binary and/or ordinal variables. Details of the implemented methods can be found in: Marsman, van den Bergh, and Haslbeck (in press) <doi:10.31234/osf.io/ukwrf>.
20+
Copyright: Includes datasets 'ADHD' and 'Boredom', which are licensed under CC-BY 4. See individual data documentation for license and citation.
2021
License: GPL (>= 2)
2122
URL: https://Bayesian-Graphical-Modelling-Lab.github.io/bgms/
2223
BugReports: https://github.com/Bayesian-Graphical-Modelling-Lab/bgms/issues

R/datasets.R

Lines changed: 129 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
#' Post-traumatic stress disorder symptoms of Wenchuan earthquake survivors
22
#'
3-
#' A data set containing items measuring symptoms of posttraumatic stress
4-
#' disorder (PTSD) \insertCite{McNallyEtAl_2015}{bgms}. Participants were 362
5-
#' Chinese adults who survived the Wenchuan earthquake and lost at least one
6-
#' child in the disaster. PTSD symptoms were reported using the civilian version
7-
#' of the Posttraumatic Checklist, which consists of 17 items, each assessing
8-
#' one of the DSM-IV symptoms of PTSD. Participants rated each item on a
9-
#' five-point scale ranging from ``not at all'' to ``extremely'' to indicate how
10-
#' much the symptom bothered them in the past month.
11-
#'
3+
#' A data set containing items measuring symptoms of posttraumatic stress
4+
#' disorder (PTSD) \insertCite{McNallyEtAl_2015}{bgms}. Participants were 362
5+
#' Chinese adults who survived the Wenchuan earthquake and lost at least one
6+
#' child in the disaster. PTSD symptoms were reported using the civilian version
7+
#' of the Posttraumatic Checklist, which consists of 17 items, each assessing
8+
#' one of the DSM-IV symptoms of PTSD. Participants rated each item on a
9+
#' five-point scale ranging from "not at all" to "extremely" to indicate how
10+
#' much the symptom bothered them in the past month.
11+
#'
1212
#' @format A matrix with 362 rows and 17 columns:
1313
#' \describe{
14-
#' \item{intrusion}{Repeated, disturbing memories, thoughts, or images of a
14+
#' \item{intrusion}{Repeated, disturbing memories, thoughts, or images of a
1515
#' stressful experience from the past?}
16-
#' \item{dreams}{Repeated, disturbing dreams of a stressful experience from
16+
#' \item{dreams}{Repeated, disturbing dreams of a stressful experience from
1717
#' the past?}
18-
#' \item{flash}{Suddenly acting or feeling as if a stressful experience were
18+
#' \item{flash}{Suddenly acting or feeling as if a stressful experience were
1919
#' happening again (as if you were reliving it)?}
20-
#' \item{upset}{Feeling very upset when something reminded you of a stressful
20+
#' \item{upset}{Feeling very upset when something reminded you of a stressful
2121
#' experience from the past?}
22-
#' \item{physior}{Having physical reactions (e.g., heart pounding, trouble
23-
#' breathing, sweating) when something reminded you of a stressful experience
22+
#' \item{physior}{Having physical reactions (e.g., heart pounding, trouble
23+
#' breathing, sweating) when something reminded you of a stressful experience
2424
#' from the past?}
25-
#' \item{avoidth}{Avoiding thinking about or talking about a stressful
25+
#' \item{avoidth}{Avoiding thinking about or talking about a stressful
2626
#' experience from the past or avoiding having feelings related to it?}
27-
#' \item{avoidact}{Avoiding activities or situations because they reminded you
27+
#' \item{avoidact}{Avoiding activities or situations because they reminded you
2828
#' of a stressful experience from the past?}
29-
#' \item{amnesia}{Trouble remembering important parts of a stressful
29+
#' \item{amnesia}{Trouble remembering important parts of a stressful
3030
#' experience from the past?}
3131
#' \item{lossint}{Loss of interest in activities that you used to enjoy?}
3232
#' \item{distant}{Feeling distant or cut off from other people?}
33-
#' \item{numb}{Feeling emotionally numb or being unable to have loving
33+
#' \item{numb}{Feeling emotionally numb or being unable to have loving
3434
#' feelings for those close to you?}
3535
#' \item{future}{Feeling as if your future will somehow be cut short?}
3636
#' \item{sleep}{Trouble falling or staying asleep?}
@@ -39,7 +39,7 @@
3939
#' \item{hyper}{Being "super-alert" or watchful or on guard?}
4040
#' \item{startle}{Feeling jumpy or easily startled?}
4141
#' }
42-
#'
42+
#'
4343
#' @source \url{http://psychosystems.org/wp-content/uploads/2014/10/Wenchuan.csv}
4444
#'
4545
#' @docType data
@@ -55,3 +55,112 @@
5555
#' \insertAllCited{}
5656
#'
5757
NULL
58+
59+
#' ADHD symptoms of children aged 6-8 years
60+
#'
61+
#' A data set containing items measuring symptoms of attention deficit
62+
#' hyperactivity disorder (ADHD) \insertCite{Silk_2019_ADHD}{bgms}
63+
#' Participants are a subsample from a community cohort, the Children's Attention
64+
#' Project (CAP); 355 children, aged 6-8 years, of which 146 were diagnosed with
65+
#' ADHD and 209 were not. ADHD symptoms were assessed during structured
66+
#' face-to-face interviews with the children's parents. The NIMH Diagnostic
67+
#' Interview Schedule for Children IV-DISC-iV \insertCite{Shaffer_2000_nimh}{bgms}
68+
#' contains a total of 18 symptoms, of which 9 Inattentive and 9
69+
#' Hyperactive/Impulsive. Each symptom was scored as either present (1) or
70+
#' absent (0), based on the parents' statements.
71+
#'
72+
#' @format A matrix with 355 rows and 19 columns. (I) and (HI) indicate Inattentive
73+
#' and Hyperactive/Impulsive symptoms, respectively.
74+
#' \describe{
75+
#' \item{group}{1 = ADHD diagnosis, 0 = no ADHD diagnosis}
76+
#' \item{avoid}{Often avoids, dislikes, or is reluctant to engage in tasks
77+
#' that require sustained mental effort (I)}
78+
#' \item{closeatt}{Often fails to give close attention to details or makes
79+
#' careless mistakes in schoolwork, work, or other activities (I)}
80+
#' \item{distract}{Is often easily distracted by extraneous stimuli (I)}
81+
#' \item{forget}{Is often forgetful in daily activities (I)}
82+
#' \item{instruct}{Often does not follow through on instructions and fails to
83+
#' finish schoolwork, chores, or duties in the workplace (I)}
84+
#' \item{listen}{Often does not seem to listen when spoken to directly
85+
#' (I)}
86+
#' \item{loses}{Often loses things necessary for tasks or activities (I)}
87+
#' \item{org}{Often has difficulty organizing tasks and activities (I)}
88+
#' \item{susatt}{Often has difficulty sustaining attention in tasks or play
89+
#' activities (I)}
90+
#' \item{blurts}{Often blurts out answers before questions have been completed
91+
#' (HI)}
92+
#' \item{fidget}{Often fidgets with hands or feet or squirms in seat
93+
#' (HI)}
94+
#' \item{interrupt}{Often interrupts or intrudes on others (HI)}
95+
#' \item{motor}{Is often "on the go" or often acts as if "driven by a motor"
96+
#' (HI)}
97+
#' \item{quiet}{Often has difficulty playing or engaging in leisure activities
98+
#' quietly (HI)}
99+
#' \item{runs}{Often runs about or climbs excessively in situations in which
100+
#' it is inappropriate (HI)}
101+
#' \item{seat}{Often leaves seat in classroom or in other situations in which
102+
#' remaining seated is expected (HI)}
103+
#' \item{talks}{Often talks excessively (HI)}
104+
#' \item{turn}{Often has difficulty awaiting turn (HI)}
105+
#' }
106+
#'
107+
#' @source \insertCite{Silk_2019_ADHD;textual}{bgms}. Data retrieved from \url{https://doi.org/10.1371/journal.pone.0211053.s004}.
108+
#' Licensed under the Creative Commons Attribution 4.0 International License (CC-BY 4.0). https://creativecommons.org/licenses/by/4.0/
109+
#'
110+
#' @docType data
111+
#'
112+
#' @keywords datasets
113+
#'
114+
#' @name ADHD
115+
#'
116+
#' @usage data("ADHD")
117+
#'
118+
#' @references
119+
#'
120+
#' \insertAllCited{}
121+
#'
122+
NULL
123+
124+
#' Items measuring boredom proneness
125+
#'
126+
#' A dataset containing items measuring proneness to boredom. The dataset is a
127+
#' subset of the data from \insertCite{Martarelli_2023_Boredom;textual}{bgms},
128+
#' and contains the 8 items from the Short Boredom Proneness Scale (SBPS). Each
129+
#' item was scored on a 7-point Likert scale ranging from 1 ("strongly disagree")
130+
#' to 7 ("strongly agree"). The SBPS was administered either in English (the
131+
#' language of the original scale, by \insertCite{Struk_2015_boredom;textual}{bgms})
132+
#' or French (as translated by \insertCite{Martarelli_2023_Boredom;textual}{bgms}).
133+
#'
134+
#' @format A matrix with 986 rows and 9 columns:
135+
#' \describe{
136+
#' \item{loose_ends}{I often find myself at “loose ends,” not knowing what to
137+
#' do.}
138+
#' \item{entertain}{I find it hard to entertain myself.}
139+
#' \item{repetitive}{Many things I have to do are repetitive and monotonous.}
140+
#' \item{stimulation}{It takes more stimulation to get me going than most
141+
#' people.}
142+
#' \item{motivated}{I don't feel motivated by most things that I do.}
143+
#' \item{keep_interest}{In most situations, it is hard for me to find
144+
#' something to do or see to keep me interested.}
145+
#' \item{sit_around}{Much of the time, I just sit around doing nothing.}
146+
#' \item{half_dead_dull}{Unless I am doing something exciting, even dangerous,
147+
#' I feel half-dead and dull.}
148+
#' }
149+
#'
150+
#' @source \insertCite{Martarelli_2023_Boredom;textual}{bgms}. Data retrieved from \url{https://osf.io/qhux8}.
151+
#' Licensed under the Creative Commons Attribution 4.0 International License (CC-BY 4.0). https://creativecommons.org/licenses/by/4.0/
152+
#'
153+
#'
154+
#' @docType data
155+
#'
156+
#' @keywords datasets
157+
#'
158+
#' @name Boredom
159+
#'
160+
#' @usage data("Boredom")
161+
#'
162+
#' @references
163+
#'
164+
#' \insertAllCited{}
165+
#'
166+
NULL

data/.DS_Store

6 KB
Binary file not shown.

data/ADHD.rda

1.93 KB
Binary file not shown.

data/Boredom.rda

4.49 KB
Binary file not shown.

inst/.DS_Store

6 KB
Binary file not shown.

inst/REFERENCES.bib

Lines changed: 108 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
@ARTICLE{miller2018mixture,
2-
title={Mixture models with a prior on the number of components},
3-
author={Miller, Jeffrey W and Harrison, Matthew T},
4-
journal={Journal of the American Statistical Association},
5-
volume={113},
6-
number={521},
7-
pages={340--356},
8-
year={2018},
9-
doi = {10.1080/01621459.2016.1255636},
10-
publisher={Taylor \& Francis}
11-
}
1+
@article{ContrerasEtAl_2019,
2+
author = {Contreras, A. and Nieto, I. and Valiente, C. and Espinosa, R. and Vazquez, C.},
3+
doi = {10.1159/000497425},
4+
journal = {Psychotherapy and Psychosomatics},
5+
pages = {71--83},
6+
title = {The study of psychopathology from the network analysis perspective: {A} systematic review.},
7+
volume = {88},
8+
year = {2019}}
129

1310
@article{Dahl2009,
1411
author = {David B. Dahl},
@@ -32,22 +29,14 @@ @article{GengEtAl_2019
3229
doi = {10.1080/01621459.2018.1458618},
3330
year={2019}}
3431

35-
@article{SekulovskiEtAl_2024,
36-
author = {Sekulovski, N. and Keetelaar, S. and Huth, K. B. S. and Wagenmakers, Eric-Jan and {van }Bork, R. and {van den }Bergh, D. and Marsman, M.},
37-
doi = {10.1080/00273171.2024.2345915},
38-
journal = {Multivariate Behavioral Research},
39-
pages = {913--933},
40-
title = {Testing conditional independence in psychometric networks: {A}n analysis of three {B}ayesian methods},
41-
volume = {59},
42-
year = {2024},
43-
bdsk-url-1 = {https://doi.org/10.1080/00273171.2024.2345915}}
44-
45-
@book{Lauritzen2004,
46-
address = {Oxford},
47-
author = {Lauritzen, {S. L.}.},
48-
publisher = {Oxford University Press},
49-
title = {Graphical Models},
50-
year = {2004}}
32+
@article{HuthEtAl_2023_intro,
33+
author = {Huth, K. and {de Ron}, J. and Goudriaan, A. E. and Luigjes, K. and Mohammadi, R. and {van Holst}, R. J. and Wagenmakers, {E.-J.} and Marsman, M.},
34+
journal = {Advances in {M}ethods and {P}ractices in {P}sychological {S}cience},
35+
title = {Bayesian analysis of cross-sectional networks: {A} tutorial in {R} and {JASP}},
36+
volume = {6},
37+
pages = {1--18},
38+
doi = {10.1177/25152459231193334},
39+
year = {2023}}
5140

5241
@book{KindermannSnell1980,
5342
address = {Providence},
@@ -58,14 +47,25 @@ @book{KindermannSnell1980
5847
volume = {1},
5948
year = {1980}}
6049

61-
@article{ContrerasEtAl_2019,
62-
author = {Contreras, A. and Nieto, I. and Valiente, C. and Espinosa, R. and Vazquez, C.},
63-
doi = {10.1159/000497425},
64-
journal = {Psychotherapy and Psychosomatics},
65-
pages = {71--83},
66-
title = {The study of psychopathology from the network analysis perspective: {A} systematic review.},
67-
volume = {88},
68-
year = {2019}}
50+
@book{Lauritzen2004,
51+
address = {Oxford},
52+
author = {Lauritzen, {S. L.}.},
53+
publisher = {Oxford University Press},
54+
title = {Graphical Models},
55+
year = {2004}}
56+
57+
@article{Martarelli_2023_Boredom,
58+
title={A Trait-Based Network Perspective on the Validation of the French Short Boredom Proneness Scale},
59+
author={Martarelli, Chiara S. and Baillifard, Alexandre and Audrin, Catherine},
60+
journal={European Journal of Psychological Assessment},
61+
volume={39},
62+
number={6},
63+
pages={390--399},
64+
year={2023},
65+
month={Nov},
66+
doi={10.1027/1015-5759/a000718},
67+
publisher={Hogrefe}
68+
}
6969

7070
@article{MarsmanRhemtulla_2022_SIintro,
7171
author = {Marsman, M. and Rhemtulla, M.},
@@ -76,24 +76,6 @@ @article{MarsmanRhemtulla_2022_SIintro
7676
volume = {87},
7777
year = {2022}}
7878

79-
@article{RobinaughEtAl_2020,
80-
author = {Robinaugh, D. J. and Hoekstra, R. H. A. and Toner, E. R. and Borsboom, D.},
81-
doi = {10.1017/S0033291719003404},
82-
journal = {Psychological Medicine},
83-
pages = {353--366},
84-
title = {The network approach to psychopathology: {A} review of the literature 2008--2018 and an agenda for future research},
85-
volume = {50},
86-
year = {2020}}
87-
88-
@article{McNallyEtAl_2015,
89-
author = {{McNally}, R. J. and Robinaugh, D. J. and Wu, G. W. Y. and Wang, L. and Deserno, M. K. and Borsboom, D.},
90-
doi = {10.1177/2167702614553230},
91-
journal = {Clinical Psychological Science},
92-
volume = {6},
93-
pages = {836--849},
94-
title = {Mental disorders as causal systems: {A} network approach to posttraumatic stress disorder},
95-
year = {2015}}
96-
9779
@article{MarsmanVandenBerghHaslbeck_2024,
9880
author = {Marsman, M. and {van den} Bergh, D. and Haslbeck, J. M. B.},
9981
journal = {Psychometrika},
@@ -107,14 +89,45 @@ @article{MarsmanWaldorpSekulovskiHaslbeck_2024
10789
note = {OSF preprint},
10890
year = {2024}}
10991

110-
@article{HuthEtAl_2023_intro,
111-
author = {Huth, K. and {de Ron}, J. and Goudriaan, A. E. and Luigjes, K. and Mohammadi, R. and {van Holst}, R. J. and Wagenmakers, {E.-J.} and Marsman, M.},
112-
journal = {Advances in {M}ethods and {P}ractices in {P}sychological {S}cience},
113-
title = {Bayesian analysis of cross-sectional networks: {A} tutorial in {R} and {JASP}},
92+
@article{McNallyEtAl_2015,
93+
author = {{McNally}, R. J. and Robinaugh, D. J. and Wu, G. W. Y. and Wang, L. and Deserno, M. K. and Borsboom, D.},
94+
doi = {10.1177/2167702614553230},
95+
journal = {Clinical Psychological Science},
11496
volume = {6},
115-
pages = {1--18}
116-
doi = {10.1177/25152459231193334},
117-
year = {2023}}
97+
pages = {836--849},
98+
title = {Mental disorders as causal systems: {A} network approach to posttraumatic stress disorder},
99+
year = {2015}}
100+
101+
@article{Miller2018mixture,
102+
title={Mixture models with a prior on the number of components},
103+
author={Miller, Jeffrey W and Harrison, Matthew T},
104+
journal={Journal of the American Statistical Association},
105+
volume={113},
106+
number={521},
107+
pages={340--356},
108+
year={2018},
109+
doi = {10.1080/01621459.2016.1255636},
110+
publisher={Taylor \& Francis}
111+
}
112+
113+
@article{RobinaughEtAl_2020,
114+
author = {Robinaugh, D. J. and Hoekstra, R. H. A. and Toner, E. R. and Borsboom, D.},
115+
doi = {10.1017/S0033291719003404},
116+
journal = {Psychological Medicine},
117+
pages = {353--366},
118+
title = {The network approach to psychopathology: {A} review of the literature 2008--2018 and an agenda for future research},
119+
volume = {50},
120+
year = {2020}}
121+
122+
@article{SekulovskiEtAl_2024,
123+
author = {Sekulovski, N. and Keetelaar, S. and Huth, K. B. S. and Wagenmakers, Eric-Jan and {van }Bork, R. and {van den }Bergh, D. and Marsman, M.},
124+
doi = {10.1080/00273171.2024.2345915},
125+
journal = {Multivariate Behavioral Research},
126+
pages = {913--933},
127+
title = {Testing conditional independence in psychometric networks: {A}n analysis of three {B}ayesian methods},
128+
volume = {59},
129+
year = {2024},
130+
bdsk-url-1 = {https://doi.org/10.1080/00273171.2024.2345915}}
118131

119132
@article{SekulovskiEtAl_2025,
120133
author = {Sekulovski, N. and Arena, G. and Friel, N. and Marsman, M.},
@@ -123,3 +136,38 @@ @article{SekulovskiEtAl_2025
123136
note = {OSF preprint},
124137
year = {2025}}
125138

139+
@article{Shaffer_2000_nimh,
140+
title={NIMH Diagnostic Interview Schedule for Children Version IV (NIMH DISC-IV): description, differences from previous versions, and reliability of some common diagnoses},
141+
author={Shaffer, David and Fisher, Peter and Lucas, Christopher P. and Dulcan, Mina K. and Schwab-Stone, Mary E.},
142+
journal={Journal of the American Academy of Child \& Adolescent Psychiatry},
143+
volume={39},
144+
pages={28--38},
145+
year={2000},
146+
doi={10.1097/00004583-200001000-00014},
147+
publisher={Elsevier},
148+
note={PMID: 10638065}
149+
}
150+
151+
@article{Silk_2019_ADHD,
152+
title={A network analysis approach to ADHD symptoms: More than the sum of its parts},
153+
author={Silk, Timothy J. and Malpas, Charles B. and Beare, Richard and Efron, Daryl and Anderson, Vicki and Hazell, Philip and Jongeling, Ben and Nicholson, Jan M. and Sciberras, Emma},
154+
journal={PLOS ONE},
155+
volume={14},
156+
number={1},
157+
pages={e0211053},
158+
year={2019},
159+
doi={10.1371/journal.pone.0211053},
160+
publisher={Public Library of Science}
161+
}
162+
163+
@article{Struk_2015_boredom,
164+
title={A Short Boredom Proneness Scale: Development and Psychometric Properties},
165+
author={Struk, Anastasia A. and Carriere, Jonathan S. A. and Cheyne, J. Allan and Danckert, James},
166+
journal={Assessment},
167+
volume={24},
168+
number={3},
169+
pages={346--359},
170+
year={2015},
171+
doi={10.1177/1073191115609996},
172+
publisher={SAGE Publications}
173+
}

0 commit comments

Comments
 (0)