Introduction

Sleep is one of the most important around the clock cycles in the human body system, which plays an important role in physiological and psychological functions. Disturbances to the sleep–wake cycle, such as sleep apnea1, insomnia2, poor sleep quality3 and sleepiness4, can negatively impact physical and social performance, thereby undermining the quality of life. People living with HIV (PLWH) are particularly susceptible to sleep disorders, which can adversely affect their health and quality of life. However, several studies have already shown PLWH experience sleep disorders, which substantially affect their physical and social performance5,6,7. Greater understanding of sleep problems among PLWH can lead intervention efforts to improve sleep and ultimately, quality of life of PLWH.

Iran is one of 30 fast-track countries identified by UNAIDS, accounting for 89% of all new HIV infections globally8. There have been more than 54,000 cases9 of PLWH in Iran so far. Sleep disturbances are prevalent in PLWH in Iran, with up to 75% of adults estimated to be affected10,11,12,13. A study conducted in Iran found that 72% of PLWH suffered from poor sleep quality. Also, in another study, 55.3% of PLWH had sleep disturbances10. Despite several studies on the prevalence of sleep problems in PLWH in Iran, to our knowledge, no nationwide studies have evaluated sleep traits using cluster analysis.

In recent years, researchers believe that some similar diseases or associated factors are not randomly distributed in the population and occur in combination with others that can be expected with higher risk from each of the associated factors alone. Sleep problems including various clinical items as poor sleep quality, excessive daytime sleepiness, insomnia, and obstructive sleep apnea (OSA) is one of the known conditions that tend to occur simultaneously in some specific populations. Identification of different sleep problem clusters’ (traits) and the related factors in the PLWH can help identify high-risk subgroups for targeted interventions.

Different methods are utilized in scientific sources to cluster individuals. A cluster refers to a group of people or objects that are gathered together based on similarities, while they are less similar to other clusters. In this study, the two-step clustering method was selected after assessing the compatibility of the data with existing methods. Identifying clusters of health-related problems or behaviors assists in recognizing factors that commonly co-occur, as well as factors associated with these clusters. In this research, our objective is to identify distinct patterns of sleep problems that differ from each other but are similar in each subgroup. Since we acknowledge that these similarities and differences are not by chance, we will investigate the main reasons behind their existence. Consequently, we can develop and implement the most effective intervention strategies to reduce or eliminate sleep problems within any subgroup of HIV patients. Given the multitude of diseases and sleep problems experienced by these patients, our approach allows us to bring about positive improvements in their quality of life by effectively managing a range of sleep-related challenges.

Although there are some studies on the prevalence of sleep problems in PLWH in Iran10,13,14, no studies to date have evaluated sleep traits among a nationwide sample of PLWH using cluster analysis. Therefore, this study aimed to identify sleep traits and related associated factors among PLWH in Iran using a two-step clustering method. The findings from this study can inform tailored interventions to improve sleep and enhance the quality of life of PLWH in Iran.

Methods and materials

Study population and sample size

This national cross-sectional study included a sample of 1185 adults aged 18 years or older with confirmed HIV/AIDS more than three months that was conducted between April 2021 and March 2022. To allocate the appropriate sample size to each province, a random selection process was utilized. Three provinces were randomly selected from across each geographical region of Iran (North-East, North-West, Central, South-East, and South-West), resulting in a total of 15 province. The total sample size was then distributed proportionally based on the number of diagnosed patients in each province. Afterward, a compilation of Voluntary Counseling and Testing Centers (VCTs) was made for each of the 15 provinces. Two VCTs were subsequently randomly chosen from these lists in each province, serving as the source for data collection. Finally, convenience sampling was employed in each VCT to select participants.

Of the initial sample of 1212 PLWH, 27 participants had missing data on sleep variables and were excluded from the analysis.

Skilled interviewers with experience working with PLWH were completed the study questionnaires. We ensured them by explaining the purpose of the study and guaranteeing confidentiality of the information, and then receiving their informed verbal consent. This study has a code of ethics from the research ethics committee, School of Public Health, Tehran University of Medical Sciences, Tehran, Iran under the number IR.TUMS.SPH.REC.1400.009.

Tools, measurements, and data collection

Data collection was included two components of physical examination and completion of several questionnaires. Several validated questionnaires were used to assess sleep traits, including the Pittsburgh Sleep Quality Index (PSQI)16, the Berlin Obstructive Sleep Apnea Questionnaire (OSAQ)15, the Epworth Sleepiness Scale (ESS)17, the Insomnia Severity Index (ISI)18. In addition, demographic information (such as age, gender, education, marital status, occupation) and the disease-related information (such as disease duration, high risk behaviors at the time of diagnosis, hepatitis C virus, hepatitis B virus, and tuberculosis (TB)) were extracted through questions from patients or the participants' clinical records. Viral load and CD4 count data were extracted from the participants' clinical records. The clinical examinations measuring height and weight were performed during the interview session. Weight was measured with little clothing and without shoes by Using the digital scale available in the centers. Height was measured without shoes by using a meter. Body Mass Index (BMI) was calculated by dividing weight (kg) with the square of height (m)15.

  • PSQI The PSQI is a 19-item questionnaire with seven subscales that measures subjective sleep quality, sleep latency, sleep duration, sleep efficiency, sleep disturbances, use of sleeping medication, and daytime dysfunction. The PSQI also measures time going to bed, fall asleep, waking up, and duration of sleep. A score above 5 indicates poor sleep quality, and the Persian version of the questionnaire has a reliability of 0.89 and a validity of 0.8616.

  • OSAQ The OSAQ is a 10-item questionnaire with three subscales that assess the risk of developing sleep apnea. A positive score in more than one subscale out of the three indicates a high risk of developing sleep apnea17. The validity and reliability of this tool have been confirmed with Cronbach's alpha coefficient of 0.9218 for the original version and 0.90 for the Persian version19.

  • ESS The ESS is an 8-item questionnaire that measures sleepiness levels in everyday situations and has a total score ranging from 0 to 24. A score of 10 or higher indicates severe daytime sleepiness20. In the study of Sadeghniiat Haghighi and et al. the questionnaire's reliability was confirmed with a Cronbach's alpha of 0.81. Additionally, the validity of the questionnaire was noted to be favorable in terms of its content21.

  • ISI The ISI is a seven-item questionnaire that assesses the difficulty of falling asleep, staying asleep, waking up and the person's satisfaction with the structure of recent sleep, and the impact of sleep problems on personal life and daily functioning. The overall score ranges from 0 to 28, with scores of 8–14 indicating a mild disorder, 15–21 indicating moderate clinical insomnia, and 22–28 indicating severe clinical insomnia22. In the Persian version of the ISI questionnaire, the internal consistency demonstrated by Cronbach's alpha coefficient was above 0.8 and the intra-class correlation coefficient was above 0.723.

  • Depression, anxiety, and stress questionnaire (DASS) The DASS was used to measure the severity of depression, anxiety, and stress symptoms. The Persian version of the questionnaire has been validated and has a high level of reliability, with Cronbach's alpha coefficients of 0.81, 0.74, and 0.78 for the depression, anxiety, and stress scales, respectively24. The questionnaire consists of 21 items, with each scale comprising seven questions. Each question is scored from 0 to 3. Questions 21, 17, 16, 13, 10, 5, and 3 are for depression, and a score above 9 indicates that the person has one of the depressive states. Questions 20, 19, 15, 9, 7, 4, and 2 are for anxiety, and a score above 7 indicates having one of the anxiety states. Also, questions 18, 14, 12, 11, 8, 6, and 1 are for stress disease, and a score above 14 is a sign of having one of the stress states25.

Statistical analysis

The initial sample consisted of 1212 PLWH of which 27 participants had missing data on sleep variables and were excluded from the analysis. Approximately 3.01% of the cells in the dataset (from 1,185 participants) had missing data, which were imputed using single imputation and regression models. All subsequent analyses were performed using survey methods to address cluster sampling and sampling weight. The data were weighted according to the 2021 national Iranian PLWH aged ≥ 15 years, categorized by age and sex. Weighted means with Standard Error (SE) and weighted percentages were used to report the continuous and categorical variables. In the survey method, we utilized ANOVA analysis (α = 0.05) to investigate differences in the quantitative baseline information and sleep traits across participant clusters, and a chi-square test was employed for qualitative variables.

A two-step clustering method was employed to identify the number of sleep clusters in PLWH, considering quantitative variables (including bedtime, time to fall asleep, waking up time, sleep duration and the total scores of PSQI, ISI, and ESS) and qualitative variables (including OSAQ, snoring and puffing, difficulty falling asleep, staying asleep, and waking up in the morning) as main sleep characteristics. Initially, an automatic method was used to determine the number of clusters, resulting in five clusters. However, after examining the clusters, it was found that two of them were identical to other clusters, so the number of clusters was manually adjusted to three. The final analysis included seven continuous and five categorical variables, and the silhouette index, which was 0.2 in this study, indicated the appropriateness of the number of clusters.

Additionally, multinomial logistic regression was employed to investigate the relationship between baseline variables and sleep clusters. For the univariable analysis, the results show that the variables of age, sex, education, drug injection transmission, sexual behaviors, Disease duration, CD4 count at the time of diagnosis, Coinfections noncommunicable, as well as psychological diseases of depression and anxiety have a statistically significant relationship with the clusters with p-value < 0.2 and were entered in multiple models as final model. For the univariable analysis, variables with p-values < 0.2 were entered into multiple models as the final model.

All analyses were performed using STATA version 17 (stataCorpLLC 4905 Lakeway Drive College Station, TX 77845 USA), for complex survey analysis and p-value of less than 0.05 was considered statistically significant.

Ethical approval

Informed consent is an essential part of clinical research, and it should be obtained in a way that ensures the confidentiality, comprehension and voluntariness of study participants. Since the participants in this study were PLWH, they were worried about disclosure of their sensitive information if they were obligated to sign a written consent form. Therefore, in order to solve their concern, we ensured them by explaining the purpose of the study and guaranteeing confidentiality of the information, and then receiving their informed verbal consent. Also, it is important to note that ethical considerations may vary depending on the specific context and guidelines of the research institutions. In Iran, a legal guardian is required for children under 18 years of age. However, in our study, all participants were over 18 years of age, so the requirement for a legal guardian was not applicable. Regarding the confidentiality of HIV disease, it is important to respect the privacy and confidentiality rights of patients. If some patients have not given permission to disclose their condition to their families, obtaining informed consent from parents or legal guardians could violate their rights. All interview procedures were carried out according to the relevant regulations. Our study did not include human trials. The study was approved by the ethics committee of Tehran University of Medical Sciences under the code IR.TUMS.SPH.REC.1400.009.

Results

The analysis included a total of 1185 PLWH, with a mean age of 35.36 (SE:0.062) years. Of these, 80.66% were men including 10 transgender PLWH who were classified as men. Additionally, 42.8% of the participants were single, and 49.96% were housewives or students or unemployed without a job or income. Baseline information on the participants is presented in Table 1.

Table 1 Baseline information of participants (n:1185).

As shown in Table 2, the average duration of HIV/AIDS infection among the participants was 10.12 years. The most common high-risk behavior was drug injection (33.51%), followed by sexual behavior (heterosexual; 31.44%). Mother-to-child transmission and occupational exposure had the lowest percentage among high-risk behaviors (0.55% and 1.18% respectively). The most common infectious disease simultaneously with HIV/AIDS was hepatitis C infection, with a percentage of 13.94%.

Table 2 Disease characteristics among PLWH in the study.

Table 3 shows that 49.54% (n:587) of the participants had poor sleep quality, while 45.06% (n:503) and 25.49% (n:302) experienced insomnia and sleepiness, respectively. Moreover, 10.17% (n:154) of the PLWH suffered from OSA.

Table 3 Sleep traits of study participants in each cluster.

PLWH were classified into three clusters using the two-step clustering method. The characteristics of PLWH in each cluster are reported in Table 3 which are as follows:

  1. I.

    Cluster 1: Minor sleep problems—PLWH with good sleep quality, who do not wake up frequently during sleep and do not experience sleepiness during the day. The average sleep duration for this cluster was 7.53 h, and they do not suffer from snoring or sleep apnea. This cluster comprises approximately 45.6% (n:540) of the study sample.

  2. II.

    Cluster 2: Snoring & sleep apnea—PLWH with some degree of sleep apnea and snoring at night. This cluster of PLWH wakes up very early in the morning, has mild degrees of poor sleep quality, and moderate degrees of sleepiness. The average sleep duration for this cluster was 7.73 h, and they make up 27.8% (n:329) of the total sample.

  3. III.

    Cluster 3: Poor sleep quality & insomnia—PLWH with poor sleep quality, who sleep later at night, take longer to fall asleep, and wake up in the morning with difficulty. The average sleep duration for this cluster was 6.53 h, and they may wake up several times during the night. They also experience moderate insomnia. This cluster constitutes 26.7% (n:316) of the sample.

Table 4 shows that age, sex, education and possible transmission route differed significantly among the three clusters. Cluster 1 had the youngest average age (33.98 years), while Clusters 2 and 3 were almost similar, with an average age of 37.31 and 36.01 years, respectively. In all three clusters, there were more men than women, and most of the PLWH had no education or only middle school education. However, academic (college) education was more prevalent in Cluster 1 (17.24%), while high school secondary education and diploma were more common in Cluster 3 (44.56%). The CD4 count > 500 prevalent in Cluster 3 (76.39%), while the CD count < 500 more common in Cluster 2 (36.9%) and Cluster 1 (33.17%). No significant differences were found between the three clusters regarding occupation and marital status.

Table 4 The baseline information of participants in each cluster.

Table 5 presents the results of the multiple multinominal logistic regression analysis examining the relationship between PLWH’s characteristics and individuals in each sleep cluster. Age was associated with individuals in Cluster 2 (OR 1.033, 95% CI 1.017–1.050) and Cluster 3 (OR 1.027, 95% CI 1.009–1.040), and participants with college education were less likely to be in Cluster 2 (OR 0.542, 95% CI 0.294–0.998) compared to Cluster 1. Participants with longer disease duration were more likely to be in Cluster 1 than Cluster 2 (OR 0.984, 95% CI 0.991–0.999). Also, PLWH with depression had 2.059 times higher odds of being in Cluster 3, while PLWH with anxiety had 1.958- and 5.674-times higher odds of being in Cluster 2 and Cluster 3, respectively (Table 5).

Table 5 Association between sociodemographic or disease characteristics and sleep clusters using a multinomial logistic model.

Discussion

This study aimed to investigate the sleep traits of PLWH at a national level in Iran. The results revealed a high prevalence of poor sleep quality, insomnia, sleepiness, and obstructive sleep apnea among PLWH. Based on the participants' sleep characteristics, they were divided into three clusters. Age, gender, education and duration of infection showed a significant relationship with the placement of PLWH in these clusters.

The prevalence of poor sleep quality among PLWH in this study was 49.54%, which is consistent with studies in Iran26 and other countries27,28. However, studies in Ethiopia, Mexico, and the USA have reported higher rates29,30,31. Among the factors affecting poor sleep quality in these PLWH, we can mention the inherent characteristics of HIV infection, stress and stressful life events32, and fear caused by stigma30.

Regarding insomnia, 45.06% of participants reported insomnia problems, which is consistent with studies in the USA with 48% and France with 50%33,34. The onset of insomnia is often associated with acute events, such as illness, stressful life events, or the use of sleep-disrupting medications, frequently observed in people with HIV. Problems caused by insomnia can increase stress related to the disease, compliance to treatment, and lead to more fear and anxiety among PLWH35,36.

The results of the ESS in this study showed that 25.49% of PLWH in Iran suffer from sleepiness. Limited research exists in Iran to investigate this issue, but studies in USA37, England36, and France38 have reported higher prevalence rates 29.5%, 46% and 40% respectively. Sleepiness can be a side effect of drugs taken by PLWH, fatigue, or other sleep disorders such as OSA, insomnia, poor sleep quality, or psychiatric conditions like depression.

This study found that 10.17% of PLWH are at high risk of OSA, which is inconsistent with another study in Iran, with a prevalence of 48.7%14. However, some other studies have reported higher prevalence rates of sleep apnea among PLWH in different parts of the world39,40. The high prevalence of this problem may be caused by antiviral drugs, reduced physical activity, and inflammation caused by the disease41,42,43. The most crucial difference between obstructive sleep apnea and other sleep-related disorders is the obstruction of the respiratory airways, which can play a vital role in this disease, which increases the importance of screening for this problem in the PLWH.

In this study, PLWH were classified into three clusters based on sleep-related factors, which showed a significant relationship with age, gender, education and duration of infection. Although no cluster study has been conducted on PLWH to compare the results, various studies have shown a relationship between these variables and sleep disorders44,45. The first cluster was the largest, comprising 45.6% of the sample and including participants with fewer sleep problems than the other two clusters. Examining the characteristics of this cluster suggests that the time of going to bed, waking up, and the total duration of sleep is within the normal range of healthy individuals.

The second cluster, comprising approximately 27.8% of the study population, was found to have a high risk for obstructive sleep apnea, with snoring and sleepiness tending to cluster in these individuals. While 75% of people in this cluster reported snoring, about 30% experienced daytime sleepiness. People in this cluster also tended to go to bed earlier at night and wake up very early in the morning, which may prevent them from experiencing deep sleep due to disturbed REM sleep46. Age has also been found to be a factor related to obstructive sleep apnea, and the shorter duration of the disease was positively associated with the placement of individuals in this cluster. This could be related to the use of drugs to reduce the side effects of the disease, followed by the reduction of inflammation caused by the disease47,48.

The third cluster, comprising approximately 26.7% of the study population, was found to experience longer sleep onset latency due to insomnia. Only 7% of people in this cluster reported no difficulty in falling asleep, indicating that the majority of individuals in this cluster struggle with initiating sleep. Multinomial logistic regression analysis revealed that age, depression, and anxiety were significantly associated with the placement of individuals in this cluster. Various studies have shown that with increasing age, insomnia tends to increase, and the quality of sleep becomes poorer in people49, including PLWH50.

This study provides valuable insights into the clustering of sleep disorders and associations with mental health issues among PLWH in Iran. However, the contextual factors unique to Iran, including difference in sociocultural attitudes, healthcare access, and stigma, may limit the generalizability of these findings to other populations. Further research is warranted to explore the generalizability of these findings to diverse cultural and regional contexts, emphasizing the need for caution when applying the study’s conclusions beyond the specific context of HIV/AIDS in Iran.

Based on the information provided, policymakers should give greater attention to the following aspects. First, it’s the better for they to focus on increasing awareness and implementing standardized screening protocols for sleep disorders. They should also put effort into establishing an appropriate referral system during clinical examinations. Furthermore, policymakers must prioritize funding for research on the specific needs and challenges related to sleep disorders and mental health in PLWH. This financial support can be instrumental in supporting the development of interventions and treatments that are Appropriate to this particular population.

To date, no study has investigated the sleep and mental health disorders by clustering analysis in Iran’s population. Therefore, it is advisable to undertake a national study to compare the findings in two groups: PLWH and People without HIV. Additionally, the study took place during the COVID-19 pandemic, it would be beneficial to replicate this research following the conclusion of the pandemic and compare the results from both studies.

Limitations and strengths

Data collection for the current study was conducted during the COVID-19 pandemic, with many PLWH hesitant to visit the VCT due to fears of contracting the virus. Therefore, random sampling was not feasible, and convenience sampling was employed.

While the pandemic may have influenced the prevalence of sleep disorders among PLWH, it could also be considered a strength of the study, as it sheds light on the experiences of PLWH during this challenging time. However, it is essential to replicate the study in non-pandemic periods to determine the generalizability of the findings.

This study is the first national research on sleep-related factors of PLWH in Iran, a UNAIDS fast-track country. The data collection was carried out by trained and skilled health workers in behavioral counseling centers and monitored by experts, ensuring the quality of the data.

Conclusion

In conclusion, the results of the present study indicate that OSA tends to cluster with snoring and daytime sleepiness, while poor sleep quality is associated with insomnia. Therefore, PLWH who experience snoring or excessive sleepiness should be referred for further investigation of OSA during clinical examinations. Additionally, PLWH who experience insomnia should be examined for good sleep quality, and appropriate interventions should be considered if necessary. Furthermore, since increasing age is associated with a higher risk of sleep problems, healthcare providers should prioritize sleep problem assessments among older PLWH.

Moreover, as the prevalence of sleep disorders increases, mental health problems such as anxiety and depression also tend to increase in PLWH. Depression is commonly associated with poor sleep quality and insomnia, while anxiety is associated with poor sleep quality, insomnia, and sleep apnea. Therefore, mental health interventions may help alleviate insomnia and poor sleep quality in PLWH. Policymakers, healthcare providers, and other stakeholders should work towards improving mental health interventions to enhance sleep quality among PLWH.