[1] 4
[1] 4
MPI-54 2025-26
Faculty of Humanities, Education and Social Sciences (FHSE), University of Luxembourg
What do you remember from previous sessions?
Each healthcare professional may have their own specific approaches to treatment.
Each healthcare professional may have to follow the internal policies at their own clinics.
These can result in patients benefiting slightly differently from a treatment depending on who is administering it and what are available resources.
And the effects of the treatment might be different at different times.
Note symptom W (worry) in both cases.
There are multiple significant positive (green lines) and negative (red lines) symptom associations as well as self-loops (symptoms predicts itself) in the population. However, there is significant variation between people with respect to some associations (blue lines), including self-loops (note missing self-loop in E “pleasant event” symptom).
Between people–cross-sectional
Within person–individual changes
Between-within–group level differences and individual change
Structure estimation
which nodes and edges to include in the model estimation?
Reminder: valid and reliable measurement instruments.
which statistical model to use?
Reminder: the 3-D data cube.
Network description
Node centrality
Strength* = absolute direct associations between symptoms
Closeness = how fast can one symptom influence and be influenced by others
Betweenness = how many times is one symptom in the path of two other symptoms
Expected influence* = positive and negative direct associations are accommodated
Network stability
The CS (centrality stability) = 0.5 is the minimal threshold (estimated maximum number of cases that can be dropped from the data to retain, with 95% probability, a correlation of at least 0.70 with the original data).
Description of dataset for the practical session.
Data were collected via the online platform Duelocovid used to deliver self-applied interventions.
The platform was operational in multiple countries in Latin America.
For the study and this seminar data from Mexican participants used.
Paper currently under review (Herdoiza-Arroyo, Stanciu, de la Rosa-Gomez, Martinez-Arriaga, & Dominguez-Rodriguez. (2025). A psychological network approach to depression symptoms and sleep difficulties among adults going through grief during COVID-19: A cross-sectional study).
Depression symptoms were measured with the Center for Epidemiologic Studies Depression Scale Revised (CESD-R) instrument (Eaton et al., 2004).
Below is a list of the ways you might have felt of behaved. Please tell me how often you have felt this way during the past week.
20 items. Examples:
See the CESD-R instrument here.
Sleep quality was measured with the Pittsburgh Sleep Quality Index (PSQI) instrument (Faulkner & Sidey-Gibbons, 2019).
The following questions relate to your usual sleep habits during the past month only. Your answers should indicate the most accurate reply for the majority of days and nights in the past month. Please answer all questions. During the past month.
11 items used. Examples:
See the PSQI instrument here.
For this seminar, a subset of n = 500 were randomly chosen from the original data.
The participant ID, gender and age group were simulated at random. Only the data on the CESD-R and PSQI are real.
For this seminar:
age_group contains three values: 1 = young, 2 = middle aged and 3 = oldgender contains two values: 1 = men and 2 = womenThus, results of group comparisons or any analyses that go beyond examinations of CESD-R and PSQI disorders are most likely going to be nonsensical!
rThe basics of r.
r is a programming language specifically developed for statistics. It can be used via the console panel in RStudio, which is an integrated development environment (IDE)–it has a easy to use interface.
r and the r-console:RStudio:Work with r scripts to save your progress. A new script will be created in the source panel in RStudio (the upper-left corner).
Copy-paste the provided code in a new script and modify according to your research question.
Do it one step at a time to understand what the code does.
Follow these steps and practice your skills. Work in groups of 2-3.
Will be continued in the next session. At the end, a short presentation.
Understand the data and the limitations
Come up with a research question and testable hypotheses
What quality checks do you need to consider
What do you need for model estimation
Do you have evidence for your research question?
What does it all mean in practice?
r script file
Write code directly in the r script