<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="2.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Psychol.</journal-id>
<journal-title>Frontiers in Psychology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Psychol.</abbrev-journal-title>
<issn pub-type="epub">1664-1078</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fpsyg.2025.1476840</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Psychology</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>The effect of sleep quality on learning engagement of junior high school students: the moderating role of mental health</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Xu</surname> <given-names>Zhenguo</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/2784480/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Niu</surname> <given-names>Menghui</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Du</surname> <given-names>Wenxiu</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/2771913/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Dang</surname> <given-names>Tongtong</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x002A;</sup></xref>
<uri xlink:href="https://loop.frontiersin.org/people/2939244/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>School of Communication, Qufu Normal University</institution>, <addr-line>Rizhao</addr-line>, <country>China</country></aff>
<aff id="aff2"><sup>2</sup><institution>Faculty of Education, Qufu Normal University</institution>, <addr-line>Qufu</addr-line>, <country>China</country></aff>
<author-notes>
<fn fn-type="edited-by" id="fn0001">
<p>Edited by: Nasr Chalghaf, University of Gafsa, Tunisia</p>
</fn>
<fn fn-type="edited-by" id="fn0002">
<p>Reviewed by: Ismail Dergaa, Primary Health Care Corporation (PHCC), Qatar</p>
<p>Houda Bougrine, National Sports Observatory, Tunisia</p>
</fn>
<corresp id="c001">&#x002A;Correspondence: Tongtong Dang, <email>ncudtt@163.com</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>29</day>
<month>01</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2025</year>
</pub-date>
<volume>16</volume>
<elocation-id>1476840</elocation-id>
<history>
<date date-type="received">
<day>06</day>
<month>08</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>13</day>
<month>01</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x00A9; 2025 Xu, Niu, Du and Dang.</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Xu, Niu, Du and Dang</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<sec>
<title>Introduction</title>
<p>A good quality of sleep is not only an important guarantee for students&#x2019; academic life, but also an important founding condition for their physical and mental health development. The study aims to explore the relationship between sleep quality and students&#x2019; learning engagement, and to deeply analyze the moderating role played by mental health.</p>
</sec>
<sec>
<title>Methods</title>
<p>A questionnaire survey was conducted among some junior high school students in Rizhao City, Shandong Province for the research.</p>
</sec>
<sec>
<title>Results</title>
<p>The results show that: (1) The main effect of sleep quality on learning engagement is significant (<italic>&#x03B2;</italic> = 0.476, <italic>t</italic> = 1.829, <italic>p</italic> &#x003C; 0.001), specifically, the better the sleep quality, the higher the students&#x2019; learning engagement. (2) The influence of sleep quality on learning engagement is moderated by mental health (<italic>&#x03B2;</italic> = &#x2013;0.850, <italic>t</italic> = -2.652, <italic>p</italic> = 0.006), that is to say, the influence of sleep quality on learning engagement is more significant for students with poor mental health, and mentally healthy students can effectively alleviate the negative impact of sleep problems on their learning engagement.</p>
</sec>
<sec>
<title>Discussion</title>
<p>Research shows the significance of good sleep quality and mental health for students&#x2019; learning. The research results provide empirical evidence for schools, families, and policy makers to improve students&#x2019; academic achievement and mental health.</p>
</sec>
</abstract>
<kwd-group>
<kwd>sleep quality</kwd>
<kwd>learning engagement</kwd>
<kwd>mental health</kwd>
<kwd>influencing mechanism</kwd>
<kwd>moderating role</kwd>
</kwd-group>
<counts>
<fig-count count="3"/>
<table-count count="10"/>
<equation-count count="0"/>
<ref-count count="48"/>
<page-count count="13"/>
<word-count count="10050"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Educational Psychology</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="sec1">
<label>1</label>
<title>Introduction</title>
<p>Learning engagement refers to students&#x2019; active participation into various learning activities, their in-depth thinking on study objects, their energetic capability to cope with challenges and setbacks, with positive emotional experiences throughout the learning process. It is a unity of cognitive, behavioral, and emotional engagement (<xref ref-type="bibr" rid="ref46">Zhang, 2012</xref>). Behavioral engagement refers to the learner&#x2019;s high degree of commitment to learning activities, which can reflect the learner&#x2019;s various performance in the learning process, including concentration, hard working, persistence, etc. Cognitive engagement refers to the learner&#x2019;s high level of cognitive and psychological input in learning processes, especially the utilization of cognitive strategies and meta cognitive strategies, examples in this regard include deep learning, meaning construction, self-monitoring, etc. Emotional engagement refers to the emotional responses manifested by learners in the learning processes, including positive emotions, positive feelings, learning interests, and a sense of belonging etc. Learning engagement is an important indicator to observe students&#x2019; learning processes, an important predictor of academic achievement, a prominent factor to measure the quality of education and the development degree of students, a key factor to assess students&#x2019; academic success, and a vital factor for promoting students&#x2019; success and improving the quality of education (<xref ref-type="bibr" rid="ref8">&#x00C7;ali et al., 2024</xref>). In short, how to improve students&#x2019; learning engagement is a hot topic in the field of education and psychology.</p>
<p>At the same time, sleep problems are extremely common among adolescents, with about 70% of adolescents suffering from sleep deprivation. This is mainly due to academic stress, excessive use of electronic devices (<xref ref-type="bibr" rid="ref47">Zhang et al., 2022</xref>), irregular schedules, and poor sleep environment. Lack of adequate sleep directly affects adolescents&#x2019; ability to learn, leading to distraction, memory loss, and decreased capability in problem-solving, which overall in turn affects academic performance. In addition, long-term sleep deprivation can also seriously deteriorate, the mental health of adolescents, increase the risk of anxiety, depression and other emotional disorders (<xref ref-type="bibr" rid="ref20">Kansagra, 2020</xref>), eventually affecting emotional stability and social skills. Lack of sleep may also lead to a series of physiological problems such as weight gain and declined level of immunity (<xref ref-type="bibr" rid="ref5">Cheng et al., 2016</xref>), which further exacerbates the physical and mental health burden of adolescents. Therefore, it is of critical importance to pay attention to and improve the quality of sleep among adolescents.</p>
<p>There have been studies expounding the impact of sleep quality on academic performance and self-efficacy (<xref ref-type="bibr" rid="ref43">Aydin and Aydin, 2024</xref>), but there has been lesser researches on the relationship between sleep quality and learning engagement. Previous studies have found that both sleep quality and sleep duration can positively predict academic achievement (<xref ref-type="bibr" rid="ref19">Jalali et al., 2020</xref>). Additionally, a study on adolescents found that maintaining a regular sleep routine is crucial for learning. Those adolescents with irregular sleep patterns and a tendency to stay up late generally yield poorer learning outcomes. In contrast, adolescents who follow the &#x201C;going to bed early, getting up early&#x201D; principle tend to have more stable academic performance (<xref ref-type="bibr" rid="ref16">Hershner, 2020</xref>). Theoretically speaking, how the different dimensions of sleep quality independently or jointly affect the daytime cognitive functions of junior high school students, such as attention keeping, information processing speed, and working memory capacity, can all become key factors affecting learning engagement. Therefore, this study aims to explore the impact of sleep quality on junior high school students&#x2019; learning engagement, while also examining how mental health status (including emotional stability, interpersonal relationships, coping mechanisms, and stress levels) moderates the relationship between sleep quality and learning engagement. The research hypothesizes that: Sleep quality significantly predicts junior high school students&#x2019; learning engagement (H1), and mental health moderates the relationship between sleep quality and learning engagement (H2).</p>
<sec id="sec2">
<label>1.1</label>
<title>The relationship between sleep quality and physical and mental health of adolescents</title>
<p>In recent years, sleep quality, as an important topic in the aspect of adolescent health study, has aroused extensive attentions from the academic world. Studies have shown that good sleep quality is essential for physical and mental health of adolescents. Judging from a physiological perspective, adequate and high-quality sleep can help promote growth hormone secretion among adolescents, support physical development, enhance immune system functionality, and reduce the risk of chronic diseases (<xref ref-type="bibr" rid="ref3">Dutil et al., 2022</xref>). Additionally, endocrine levels can reflect sleep duration and sleep quality, and studies have proven that there is a relationship between blood glucose content and sleep quality, among which long-term sleep deprivation can increase the prevalence of diabetes (<xref ref-type="bibr" rid="ref15">Peng et al., 2021</xref>). What&#x2019;s more, the sleep quality index is significantly positively correlated with perceived stress and perceived physiological symptoms, and the sleep quality index significantly negatively predicts stress systolic blood pressure responsiveness, diastolic blood pressure responsiveness, and heart rate responsiveness, that is, the worse the individual&#x2019;s sleep quality, the more blunted stress cardiovascular responsiveness in the received acute psychosocial stress task (<xref ref-type="bibr" rid="ref29">Ni, 2021</xref>). <xref ref-type="bibr" rid="ref5">Cheng et al. (2016)</xref> using stratified cluster sampling, collected data taken during the period of bedtime and data for metabolic syndrome in a one-year follow-up survey. The researchers found that going to bed late was significantly associated with an increased risk of hazard factors for metabolic syndrome in college students, it&#x2019;s also worth mentioning that changing bedtime routine within 1&#x202F;year did not reduce the risk level. <xref ref-type="bibr" rid="ref14">Guo (2023)</xref> based on the survey of 6 types of high school students in Shanghai, it was found that there were differences in sleep quality of high school students with variations in physical activities (<italic>p</italic>&#x202F;&#x003C;&#x202F;0.05), and sleep quality of high school students doing dynamic physical activities was better than that of students doing insufficient physical activity.</p>
<p>In terms of mental health, research has found that sleep disorders such as insufficient sleep, having difficulties in falling asleep, or sleep interruptions are closely related to the onset and development of depressive symptoms among adolescents (<xref ref-type="bibr" rid="ref36">Roberts et al., 2002</xref>). Furthermore, a longitudinal study has shown that adolescents with chronically short sleep duration (less than 8&#x202F;h per night) are more likely to experience mood instability, anxiety, and behavioral problems, all of which are associated with poorer mental health (<xref ref-type="bibr" rid="ref38">Short et al., 2013</xref>). A study led by the Norwegian Institute of Public Health discussed the link between adolescents&#x2019; use of electronic devices at night and their sleep quality/mental health status. The study revealed that using electronic devices at night reduces adolescents&#x2019; sleep time and increases the risk of attention deficit hyperactivity disorder (ADHD), anxiety, and depression (<xref ref-type="bibr" rid="ref0070">Hysing et al., 2015</xref>). Additionally (<xref ref-type="bibr" rid="ref10">Feng et al., 2005</xref>), through the investigation of sleep quality of a cohort of medical school students and the analysis of its influencing factors, it was discovered that the correlation between sleep quality and anxiety and depression was statistically significant (<italic>p</italic>&#x202F;&#x003C;&#x202F;0.0001; <xref ref-type="bibr" rid="ref41">Wang and Zhang, 2024</xref>) conducted a questionnaire survey in a medical school in Shanxi Province and found out that there was a significant negative correlation between psychological resilience and sleep quality (<italic>p</italic>&#x202F;&#x003C;&#x202F;0.01), that is, the higher the psychological resilience, the better the sleep quality. There was a significant positive correlation between stress perception and sleep quality (<italic>p</italic>&#x202F;&#x003C;&#x202F;0.01), that is, the higher the degree of stress perception, the worse sleep quality (higher score represents worse sleep quality). In addition, sleep deprivation may lead to decreased efficiency in emotion regulation and an increased risk of behavioral problems and suicidality (<xref ref-type="bibr" rid="ref30">Owens and Weiss, 2017</xref>). At the same time, social relationships are also impacted, with adolescents with poor sleep quality tending to report lower peer acceptance and higher feelings of loneliness (<xref ref-type="bibr" rid="ref13">Gradisar et al., 2013</xref>).</p>
<p>Hence, it can be derived that sleep quality has a profound impact on physical and mental health of adolescents, and good sleep habits not only contribute to the wellness of physical health and normal growth and development, but also serve as the basis for maintaining mental health, improving learning efficiency and social skills (<xref ref-type="bibr" rid="ref17">Sivertsen et al., 2017</xref>). Therefore, families, schools and societies should work together to take measures to improve sleeping environment of adolescents, cultivate good sleep habits, and provide professional intervention and support when necessary to ensure the all-round development of adolescents.</p>
</sec>
<sec id="sec3">
<label>1.2</label>
<title>The relationship between sleep quality and learning</title>
<p>Studies have shown that good sleep quality can help improve students&#x2019; academic performance (<xref ref-type="bibr" rid="ref17">Sivertsen et al., 2017</xref>; <xref ref-type="bibr" rid="ref22">Liu, 2024</xref>). Musshafen et al.&#x2019;s study explained the relationship between sleep duration and academic achievement among adolescents. Researchers have found that adequate sleep duration (more than 9&#x202F;h per night) is significantly associated with higher academic achievement, while insufficient sleep is associated with lower grades and poorer academic effectiveness (<xref ref-type="bibr" rid="ref39">Musshafen et al., 2021</xref>). Apart from that, varied sleep patterns also have an impact on students&#x2019; cognitive functionality. Studies have worked out that regular, high-quality sleep helps enhance attention level, working memory, and problem-solving skills, which are essential for effective learning (<xref ref-type="bibr" rid="ref24">Lo et al., 2016</xref>). Moreover, a study has proven that a short afternoon break can improve afternoon learning efficiency, helping students to focus better, and promote memory consolidation (<xref ref-type="bibr" rid="ref31">Spencer, 2021</xref>). Another recent study examined the effects of sleep quality on academic motivation and academic performance among high school students. Studies have pointed out that good sleep quality can not only directly improve learning efficiency, but also indirectly enhance learning motivation by reducing depressive emotions and supporting positive interpersonal relationships, thus contributing to the improvement of academic performance (<xref ref-type="bibr" rid="ref19">Jalali et al., 2020</xref>).</p>
<p>To sum up, sleep quality has a significant impact on learning performance, involving multiple aspects including memory, attention, emotional regulation and others. Adequate and good sleep quality is an important basis for study and life. Poor sleep quality will lead to learners&#x2019; lack of concentration, distraction, drowsiness, memory loss and other problems, and in the long run, it is prone to produce learning burnout and affect learning engagement. Thus, for educational institutions and individuals, attaching importance to sleep health, cultivating good sleep habits and optimizing sleep quality are effective ways to improve learning efficiency and academic achievements, and it covers multiple dimensions such as the quality and quantity of sleep and bedtime activities. Future researches could further investigate personalized sleep intervention strategies to promote optimal learning outcome for learners of different ages and needs. On top of this, this study hypothesized that sleep quality significantly predicted the learning engagement of junior high school students (H1).</p>
</sec>
<sec id="sec4">
<label>1.3</label>
<title>Regulating role of mental health</title>
<p>Sleep quality and learning engagement are two important factors that affect students&#x2019; academic performance and overall well-being. A good night&#x2019;s sleep not only helps to consolidate the memorization of information, but also directly correlates to the cognitive function and emotional state of the next day, which further affects the motivation and efficiency of learning procedures. However, as a manifestation of individual internal resources, the mechanism of mental health status in regulating the relationship between the aforementioned two factors has rarely been systematically investigated by academic researchers.</p>
<p>From a theoretical perspective, mental health indirectly affects sleep quality and learning engagement by affecting individuals&#x2019; emotional regulation, stress management ability and self-efficacy. For example, high levels of mental resilience can reduce the negative effects of stressful events on sleep at the same time, enhancing persistence and effort-making level in the face of learning challenges (<xref ref-type="bibr" rid="ref26">Luthar et al., 2000</xref>). In addition, mindfulness, as a mental health promotion strategy, has also been identified to improve sleep quality and enhance concentration during study (<xref ref-type="bibr" rid="ref2">Black and Slavich, 2016</xref>). Plus, a study on college students spotted that students with high levels of psychological stress had poor sleep quality, and thus showcased lower motivation and engagement in learning (<xref ref-type="bibr" rid="ref11">Huang et al., 2024)</xref>). Qin et al. conducted a survey on the sleep quality of 900 primary school students from grade 3 to grade 6 in Hunan Province, China, and detected that primary school students in Hunan Province had prominent sleep problems, among which the daytime dysfunction caused by sleep problems was the most serious problem. Learning burnout positively predicted poor sleep quality, and mental health played an intermediary role in the relationship between learning burnout and sleep quality (<xref ref-type="bibr" rid="ref35">Qin et al., 2022</xref>). Another cross-sectional study proved the mediating effect of positive psychological capital (such as hope, optimism and resilience) on improving sleep quality and enhancing learning engagement through questionnaire survey data (<xref ref-type="bibr" rid="ref37">Seligman et al., 2005</xref>). Concurrently, emotional state may mediate the relationship between sleep quality and academic performance. For instance, learning burnout can lead to decreased sleep quality, and depressed mood plays a mediating role in this process, and this negative cycle can seriously impair learning motivation and outcomes.</p>
<p>So, it can be seen that mental health plays a role as a regulator between sleep and learning. On the one hand, mental health problems indirectly reduce learning efficiency by disrupting sleep quality; On the other hand, good mental health can promote positive sleep habits, which can improve learning effectiveness. On these grounds, this study hypothesizes that mental health plays a regulating role in the relationship between sleep quality and learning engagement (H2). The model diagram of this study is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p>
<fig position="float" id="fig1">
<label>Figure 1</label>
<caption>
<p>Model diagram.</p>
</caption>
<graphic xlink:href="fpsyg-16-1476840-g001.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="methods" id="sec5">
<label>2</label>
<title>Methods</title>
<sec id="sec6">
<label>2.1</label>
<title>Research participants</title>
<p>In this study, a middle school in Rizhao City, Shandong Province was investigated by using the questionnaire surveying method. The research flow chart of this study is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>. The study had been reviewed and approved by the Ethics Committee of Qufu Normal University (NO. 2024153), and written or oral information had been provided to the subject or his/her legal representative to ensure that the subject or his/her legal representative fully understands the purpose, methods, potential risks and benefits of the study. Researchers had obtained written informed consent forms from subjects or their legal representatives. The research took advantage of the time of students&#x2019; self-study class to explain the research intention to students, and emphasized the adopted principles of voluntary, anonymous, and fact-based answer. Additionally, researchers conducted group measurement in class unit. After the participants completed the answer, the questionnaires were recalled on the spot. During the studying period, if the subject has any discomfort, the necessary help will be provided immediately, and the school medical office or hospital will be contacted, and the parents will be informed in time. All data were processed anonymously and would not contain any personally identifiable information. The data is for research purposes only and will not be made public.</p>
<fig position="float" id="fig2">
<label>Figure 2</label>
<caption>
<p>Research roadmap.</p>
</caption>
<graphic xlink:href="fpsyg-16-1476840-g002.tif"/>
</fig>
<p>To ensure the appropriateness and representativeness of the samples, strict and clear inclusion criteria were set for the respondents. Firstly, from the perspective of school registration and grade, only students with formal junior high school registration and studying in grades one to three were included. Secondly, in terms of the stability of the learning environment, respondents were required not to have frequently transferred schools within the past academic year and to have been studying at the same school. Finally, based on the validity of the research data collection, the included students needed to have basic cognitive, comprehension and expression abilities. A total of 200 questionnaires were distributed, and 193 were returned, with a return rate of 96.5%. After eliminating invalid questionnaires with short answering times and contradictory answers before and after, a total of 186 valid questionnaires were collected, with an effective rate of 96.37%.</p>
<p>The participants&#x2019; information in this survey is shown in <xref ref-type="table" rid="tab1">Table 1</xref>. The basic information of the research subjects includes gender, grade, whether they are only children, accommodation or not, and their home location. Among them, there are 89 males and 97 females. There are 66 students in Grade 7, 76 in Grade 8, and 44 in Grade 9. There are 46 only children and 140 non-only children. There are 146 boarding students and 40 non-boarding students. There are 102 urban students and 84 rural students.</p>
<table-wrap position="float" id="tab1">
<label>Table 1</label>
<caption>
<p>Survey respondents.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Variable</th>
<th align="left" valign="top">Category</th>
<th align="left" valign="top">Number</th>
<th align="left" valign="top">Percentage</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle" rowspan="2">Gender</td>
<td align="left" valign="top">Male</td>
<td align="center" valign="top">89</td>
<td align="center" valign="top">47.8%</td>
</tr>
<tr>
<td align="left" valign="top">Female</td>
<td align="center" valign="top">97</td>
<td align="center" valign="top">52.2%</td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="3">Grade</td>
<td align="left" valign="top">First</td>
<td align="center" valign="top">66</td>
<td align="center" valign="top">35.5%</td>
</tr>
<tr>
<td align="left" valign="top">Second</td>
<td align="center" valign="top">76</td>
<td align="center" valign="top">40.9%</td>
</tr>
<tr>
<td align="left" valign="top">Third</td>
<td align="center" valign="top">44</td>
<td align="center" valign="top">23.6%</td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="2">Whether you are the only child</td>
<td align="left" valign="top">Be</td>
<td align="center" valign="top">46</td>
<td align="center" valign="top">24.7%</td>
</tr>
<tr>
<td align="left" valign="top">Not</td>
<td align="center" valign="top">140</td>
<td align="center" valign="top">75.3%</td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="2">Accommodation or not</td>
<td align="left" valign="top">Be</td>
<td align="center" valign="top">146</td>
<td align="center" valign="top">78.5%</td>
</tr>
<tr>
<td align="left" valign="top">Not</td>
<td align="center" valign="top">40</td>
<td align="center" valign="top">21.5%</td>
</tr>
<tr>
<td align="left" valign="middle" rowspan="2">Home location</td>
<td align="left" valign="top">Urban</td>
<td align="center" valign="top">102</td>
<td align="center" valign="top">54.8%</td>
</tr>
<tr>
<td align="left" valign="top">Rural</td>
<td align="center" valign="top">84</td>
<td align="center" valign="top">45.2%</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec7">
<label>2.2</label>
<title>Research tools</title>
<sec id="sec8">
<label>2.2.1</label>
<title>Pittsburgh sleep quality index</title>
<p>The Pittsburgh sleep quality index (PSQI) developed by Buysse, and the domestic researcher (<xref ref-type="bibr" rid="ref23">Liu et al., 1996</xref>) had translated the revised version. The PSQI has chosen 18 questions (All questions have been included for scoring) to examine 7 dimensions of sleep: sleep quality (&#x7761;&#x7720;&#x8D28;&#x91CF;), time to fall asleep (&#x5165;&#x7761;&#x65F6;&#x95F4;), sleep duration (&#x7761;&#x7720;&#x65F6;&#x95F4;), sleep efficiency (&#x7761;&#x7720;&#x6548;&#x7387;), sleep disorders (&#x7761;&#x7720;&#x969C;&#x788D;), hypnotic drugs (&#x50AC;&#x7720;&#x836F;&#x7269;), and daytime functionality (&#x65E5;&#x95F4;&#x529F;&#x80FD;) (<xref ref-type="bibr" rid="ref23">Liu et al., 1996</xref>). Each dimension is scored 0&#x2013;3 on a scale of 0&#x2013;21, with higher scores indicating poorer sleep quality. In this study, Liu Xianchen&#x2019;s classification standard was used to classify the sleep quality in this study. The overall score is classified as good (0&#x2013;3), medium (4&#x2013;7), and poor (8&#x2013;21). A score of more than 8 is considered to be poor sleep quality and is also identified as having a sleep disorder. All current studies have shown that PSQI has good reliability and validity (<xref ref-type="bibr" rid="ref28">Mollayeva et al., 2016</xref>), and it maintains good internal consistency. In this study, the retest reliability of PSQI is 0.994, the partial reliability coefficient is 0.824, and the overall Cronbach&#x2019;s <italic>&#x03B1;</italic> coefficient is 0.912. The fit index &#x03C7;<sup>2</sup>/df, RMSEA, NNFI, CFI and GFI were 4.83, 0.09, 0.96, 0.98 and 0.97, respectively.</p>
</sec>
<sec id="sec9">
<label>2.2.2</label>
<title>Learning engagement</title>
<p>In this study, the &#x201C;Learning Engagement Scale for Middle School Students&#x201D; compiled by Dr. Liu Zaihua and the associate researcher of the Chinese Academy of Education Sciences was used and modified (<xref ref-type="bibr" rid="ref21">Wong and Liem, 2022</xref>). The scale is divided into three dimensions: behavioral engagement, cognitive engagement, and emotional engagement, and each dimension contains 5 question items. Behavioral engagement includes active learning, teacher-student interaction, group collaboration, etc. Cognitive engagement includes deep learning, meaning construction, and self-monitoring. Emotional engagement includes positive emotions, positive feelings, and learning interest. A five-point scale is used for the scale, with a higher total score representing a higher level of academic engagement. The Cronbach&#x2019;s <italic>&#x03B1;</italic> coefficient of cognitive engagement was 0.903, the Cronbach&#x2019;s &#x03B1; coefficient of behavioral engagement was 0.941, the Cronbach&#x2019;s &#x03B1; coefficient of emotional engagement was 0.940, and the total Cronbach&#x2019;s <italic>&#x03B1;</italic> coefficient was 0.926. Confirmatory factor analysis of the scale showed that the &#x03C7;<sup>2</sup>/df was 1.943, the RMSEA was 0.057, and the results of GFI, NFI, IFI, and CFI were 0.849, 0.894, 0.824, and 0.917, respectively, indicating that the structural validity of the learning engagement scale was good, which met the requirements of psychometrics and educational statistics.</p>
</sec>
<sec id="sec10">
<label>2.2.3</label>
<title>Mental health</title>
<p>Chinese Middle School Students Mental Health Scale (MSSMHS) is a mental health scale compiled by Wang Jisheng according to the cultural characteristics and behavior habits of middle school students in China (<xref ref-type="bibr" rid="ref40">Wang et al., 1997</xref>). It is a symptom-oriented psychological diagnostic scale designed to detect psychological problems or disorders among middle school students. The scale consists of 60 question items, including 10 subscales. They are hostile, anxiety, bigotry, forced, emotional instability, sensitive interpersonal relationships, maladaptation, psychological imbalance, study pressure and depression. A five-point scale is used for the scale, with a higher total score representing worse mental health. The Cronbach&#x2019;s &#x03B1; coefficient of this scale is 0.953. Confirmatory factor analysis of the scale showed that the &#x03C7;<sup>2</sup>/df was 1.925, the RMSEA was 0.066, and the results of GFI, NFI, IFI, and CFI were 0.877, 0.826, 0.898, and 0.885, respectively, indicating that the structural validity of the mental health scale was good, which met the requirements of psychometrics and educational statistics.</p>
</sec>
</sec>
<sec id="sec11">
<label>2.3</label>
<title>Data processing</title>
<p>The collected valid data were analyzed using SPSS27.0. First, the HARMAN univariate test was used to detect the presence of common methods bias. Descriptive statistical and correlation analyses were performed on the three variables to determine the relationship between these variables. Finally, hierarchical regression analysis and process macro test were performed to test whether mental health played a moderating role in the relationship between sleep quality and learning engagement.</p>
</sec>
</sec>
<sec sec-type="results" id="sec12">
<label>3</label>
<title>Results</title>
<sec id="sec13">
<label>3.1</label>
<title>Common method bias test and multicollinearity diagnosis</title>
<p>This study utilized a self-report approach, which may exist common methodological biases. As a result, when conducting the questionnaire, the necessary controls were carried out, such as the use of anonymous means to fill out the survey questionnaire, and keeping the confidentiality of the survey results was emphasized, which was used only for this study. According to the suggestions of <xref ref-type="bibr" rid="ref34">Podsakoff et al. (2003)</xref> and <xref ref-type="bibr" rid="ref48">Zhou and Long (2004)</xref>, the Harman one-way test was carried out, and the analysis results suggested that there were 17 factors with eigenvalues greater than 1 and the variation of the first common factor was 26.11%, and the total variation of the first common factor was below the critical value by 40%. As a consequence, it was considered that there was no obvious common method bias in this study. Also, in order to confirm the existence of multicollinearity between variables, a collinearity diagnosis was performed. The results implied that the variance inflation factor (VIF) values of all items were much smaller than the critical value of 3, so there was no multicollinearity problem.</p>
</sec>
<sec id="sec14">
<label>3.2</label>
<title>Descriptive statistical analysis of major variables</title>
<sec id="sec15">
<label>3.2.1</label>
<title>Basic information on sleep quality, learning engagement, and mental health of junior high school students</title>
<p>In order to probe into the general situation of junior high school students, the data of sleep quality, learning engagement and mental health were descriptively analyzed.</p>
<p><xref ref-type="table" rid="tab2">Table 2</xref> gives out the maximum value, minimum value, average value and standard deviation of sleep quality. The higher the score of sleep quality scale, the worse the sleep quality. The results displayed that the average PSQI score of 186 junior high school students was 5.32&#x202F;&#x00B1;&#x202F;2.19, and the average sleep quality score was 0.96&#x202F;&#x00B1;&#x202F;0.64. The mean sleep duration score was 0.96&#x202F;&#x00B1;&#x202F;0.78. The mean time to fall asleep score was 0.58&#x202F;&#x00B1;&#x202F;0.49. The average sleep efficiency score was 0.09&#x202F;&#x00B1;&#x202F;0.36. The mean sleep disorders score was 0.99&#x202F;&#x00B1;&#x202F;0.37. The average score of hypnotic drugs was 0.05&#x202F;&#x00B1;&#x202F;0.31. The mean daytime functionality score was 1.69&#x202F;&#x00B1;&#x202F;0.88. Based on this result, we can conclude the highest score for daytime functionality and the lowest score for hypnotic drugs. It can be derived that daytime functionality caused by sleep problems is more serious, while there are fewer situations about using hypnotic drugs among junior high school students, which is basically consistent with the results of the study (<xref ref-type="bibr" rid="ref35">Qin et al., 2022</xref>).</p>
<table-wrap position="float" id="tab2">
<label>Table 2</label>
<caption>
<p>PSQI scores of junior high school students.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Variable</th>
<th align="center" valign="top">Maximum</th>
<th align="center" valign="top">Minimum</th>
<th align="center" valign="top">Average value</th>
<th align="center" valign="top">Standard deviation</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle">Sleep quality</td>
<td align="center" valign="middle">3</td>
<td align="center" valign="middle">0</td>
<td align="center" valign="middle">0.96</td>
<td align="center" valign="middle">0.64</td>
</tr>
<tr>
<td align="left" valign="middle">Sleep duration</td>
<td align="center" valign="middle">3</td>
<td align="center" valign="middle">0</td>
<td align="center" valign="middle">0.96</td>
<td align="center" valign="middle">0.78</td>
</tr>
<tr>
<td align="left" valign="middle">Time to fall asleep</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">0</td>
<td align="center" valign="middle">0.58</td>
<td align="center" valign="middle">0.49</td>
</tr>
<tr>
<td align="left" valign="middle">Sleep efficiency</td>
<td align="center" valign="middle">3</td>
<td align="center" valign="middle">0</td>
<td align="center" valign="middle">0.09</td>
<td align="center" valign="middle">0.36</td>
</tr>
<tr>
<td align="left" valign="middle">Sleep disorders</td>
<td align="center" valign="middle">2</td>
<td align="center" valign="middle">0</td>
<td align="center" valign="middle">0.99</td>
<td align="center" valign="middle">0.37</td>
</tr>
<tr>
<td align="left" valign="middle">Hypnotic drugs</td>
<td align="center" valign="middle">2</td>
<td align="center" valign="middle">0</td>
<td align="center" valign="middle">0.05</td>
<td align="center" valign="middle">0.31</td>
</tr>
<tr>
<td align="left" valign="middle">Daytime functionality</td>
<td align="center" valign="middle">3</td>
<td align="center" valign="middle">0</td>
<td align="center" valign="middle">1.69</td>
<td align="center" valign="middle">0.88</td>
</tr>
<tr>
<td align="left" valign="middle">PSQI total score</td>
<td align="center" valign="middle">12</td>
<td align="center" valign="middle">0</td>
<td align="center" valign="middle">5.32</td>
<td align="center" valign="middle">2.19</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><xref ref-type="table" rid="tab3">Table 3</xref> refers to the maximum, minimum, average and standard deviation of learning engagement. The higher the score of learning engagement scale, the better the learning engagement. The results indicated that the average score of the 186 junior high school students was 3.51&#x202F;&#x00B1;&#x202F;0.63 in learning and 3.41&#x202F;&#x00B1;&#x202F;0.68 in behavior. The average cognitive engagement score was 3.50&#x202F;&#x00B1;&#x202F;0.72. The average score of emotional engagement was 3.62&#x202F;&#x00B1;&#x202F;0.67. On the basis of this result, we can see that junior high school students have the highest score in the dimension of emotional engagement and the lowest score in the dimension of behavioral engagement.</p>
<table-wrap position="float" id="tab3">
<label>Table 3</label>
<caption>
<p>Scores of junior high school students&#x2019; learning engagement.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Variable</th>
<th align="center" valign="top">Maximum</th>
<th align="center" valign="top">Minimum</th>
<th align="center" valign="top">Average value</th>
<th align="center" valign="top">Standard deviation</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle">Behavioral engagement</td>
<td align="center" valign="middle">5</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">3.41</td>
<td align="center" valign="middle">0.68</td>
</tr>
<tr>
<td align="left" valign="middle">Cognitive engagement</td>
<td align="center" valign="middle">5</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">3.50</td>
<td align="center" valign="middle">0.72</td>
</tr>
<tr>
<td align="left" valign="middle">Emotional engagement</td>
<td align="center" valign="middle">5</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">3.62</td>
<td align="center" valign="middle">0.67</td>
</tr>
<tr>
<td align="left" valign="middle">Total score for learning engagement</td>
<td align="center" valign="middle">5</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">3.51</td>
<td align="center" valign="middle">0.63</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><xref ref-type="table" rid="tab4">Table 4</xref> shows the maximum, minimum, average and standard deviation of mental health. The higher the score of mental health scale, the worse the mental health status. The results showed that the average mental health score of 186 middle school students was 1.90&#x202F;&#x00B1;&#x202F;0.57, and the hostile factor score was 1.38&#x202F;&#x00B1;&#x202F;0.60. The anxiety factor score was 1.86&#x202F;&#x00B1;&#x202F;0.75. The bigotry factor score was 1.56&#x202F;&#x00B1;&#x202F;0.67. The forced factor score was 2.17&#x202F;&#x00B1;&#x202F;0.75. The emotional instability factor score was 2.37&#x202F;&#x00B1;&#x202F;0.81. The sensitive interpersonal relationships factor score was 1.95&#x202F;&#x00B1;&#x202F;0.78. The maladaptation factor score was 1.92&#x202F;&#x00B1;&#x202F;0.76. The psychological imbalance factor score was 1.51&#x202F;&#x00B1;&#x202F;0.62. The study pressure factor score was 2.61&#x202F;&#x00B1;&#x202F;0.90. The depression factor score was 1.66&#x202F;&#x00B1;&#x202F;0.68. In the light of this result, we can conclude that the study pressure factor score is the highest, the forced and emotional instability factor score is higher, and the hostile, psychological imbalance and bigotry factor score is lower. It draws a conclusion that the problem of learning pressure is more serious in the group of junior high school students. To cope with that, we should pay attention to this issue, jointly arrange students&#x2019; study and rest time reasonably, pay attention to students&#x2019; emotions, and relieve students&#x2019; learning pressure.</p>
<table-wrap position="float" id="tab4">
<label>Table 4</label>
<caption>
<p>Mental health scores of junior high school students.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Variable</th>
<th align="center" valign="top">Maximum</th>
<th align="center" valign="top">Minimum</th>
<th align="center" valign="top">Average value</th>
<th align="center" valign="top">Standard deviation</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle">Hostile</td>
<td align="center" valign="middle">4.75</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">1.38</td>
<td align="center" valign="middle">0.60</td>
</tr>
<tr>
<td align="left" valign="middle">Anxiety</td>
<td align="center" valign="middle">4.75</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">1.86</td>
<td align="center" valign="middle">0.75</td>
</tr>
<tr>
<td align="left" valign="middle">Bigotry</td>
<td align="center" valign="middle">4.25</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">1.56</td>
<td align="center" valign="middle">0.67</td>
</tr>
<tr>
<td align="left" valign="middle">Forced</td>
<td align="center" valign="middle">4.50</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">2.17</td>
<td align="center" valign="middle">0.75</td>
</tr>
<tr>
<td align="left" valign="middle">Emotional instability</td>
<td align="center" valign="middle">4.75</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">2.37</td>
<td align="center" valign="middle">0.81</td>
</tr>
<tr>
<td align="left" valign="middle">Sensitive interpersonal relationships</td>
<td align="center" valign="middle">4.75</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">1.95</td>
<td align="center" valign="middle">0.78</td>
</tr>
<tr>
<td align="left" valign="middle">Maladaptation</td>
<td align="center" valign="middle">5.00</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">1.92</td>
<td align="center" valign="middle">0.76</td>
</tr>
<tr>
<td align="left" valign="middle">Psychological imbalance</td>
<td align="center" valign="middle">4.25</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">1.51</td>
<td align="center" valign="middle">0.62</td>
</tr>
<tr>
<td align="left" valign="middle">Study pressure</td>
<td align="center" valign="middle">5.00</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">2.61</td>
<td align="center" valign="middle">0.90</td>
</tr>
<tr>
<td align="left" valign="middle">Depression</td>
<td align="center" valign="middle">4.50</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">1.66</td>
<td align="center" valign="middle">0.68</td>
</tr>
<tr>
<td align="left" valign="middle">Total mental health score</td>
<td align="center" valign="middle">4.43</td>
<td align="center" valign="middle">1</td>
<td align="center" valign="middle">1.90</td>
<td align="center" valign="middle">0.57</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec16">
<label>3.2.2</label>
<title>Gender differences in sleep quality, learning engagement, and mental health of junior high school students</title>
<p>In order to further explore whether there were gender differences in the data, independent sample t test was used to analyze the data. As can be seen from <xref ref-type="table" rid="tab5">Table 5</xref>, <italic>p</italic>-values were all less than 0.05, indicating that there were no significant gender differences in sleep quality, learning engagement and mental health of junior middle school students.</p>
<table-wrap position="float" id="tab5">
<label>Table 5</label>
<caption>
<p>Gender differences among variables.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top" rowspan="2">Variable</th>
<th align="center" valign="top">Male (<italic>n</italic>&#x202F;=&#x202F;89)</th>
<th align="center" valign="top">Female (<italic>n</italic>&#x202F;=&#x202F;97)</th>
<th align="center" valign="top" rowspan="2"><italic>t</italic></th>
<th align="center" valign="top" rowspan="2"><italic>p</italic></th>
<th align="center" valign="top" rowspan="2">Cohen&#x2019;s <italic>d</italic></th>
</tr>
<tr>
<th align="center" valign="top">M&#x202F;&#x00B1;&#x202F;SD</th>
<th align="center" valign="top">M&#x202F;&#x00B1;&#x202F;SD</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle">Sleep quality</td>
<td align="center" valign="middle">5.03&#x202F;&#x00B1;&#x202F;2.35</td>
<td align="center" valign="middle">5.57&#x202F;&#x00B1;&#x202F;2.01</td>
<td align="center" valign="middle">&#x2212;1.682</td>
<td align="center" valign="middle">0.094</td>
<td align="center" valign="middle">0.27</td>
</tr>
<tr>
<td align="left" valign="middle">Learning engagement</td>
<td align="center" valign="middle">3.56&#x202F;&#x00B1;&#x202F;0.55</td>
<td align="center" valign="middle">3.47&#x202F;&#x00B1;&#x202F;0.69</td>
<td align="center" valign="middle">1.011</td>
<td align="center" valign="middle">0.313</td>
<td align="center" valign="middle">0.07</td>
</tr>
<tr>
<td align="left" valign="middle">Mental health</td>
<td align="center" valign="middle">1.84&#x202F;&#x00B1;&#x202F;0.57</td>
<td align="center" valign="middle">1.95&#x202F;&#x00B1;&#x202F;0.57</td>
<td align="center" valign="middle">&#x2212;1.391</td>
<td align="center" valign="middle">0.166</td>
<td align="center" valign="middle">0.12</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec17">
<label>3.2.3</label>
<title>Grade differences in sleep quality, learning engagement, and mental health of junior high school students</title>
<p>In order to further seek whether there were grade differences in the data, analysis of variance was used to analyze the data. In ANOVA, &#x03B7;<sup>2</sup> is a statistic used to measure the effect size, which represents the proportion of the variability explained by the independent variable to the dependent variable. In other words, &#x03B7;<sup>2</sup> shows the proportion of the total variation caused by the independent variable. The values of &#x03B7;<sup>2</sup> range from 0 to 1, with the closer to 1 implying that the independent variable explains more dependent variable variability and therefore the larger the effect; Closer to zero signifies that the independent variable has less influence. As can be viewed from <xref ref-type="table" rid="tab6">Table 6</xref>, there are significant differences in the sleep quality of junior middle school students in grades (<italic>F</italic>&#x202F;=&#x202F;6.802, <italic>p</italic>&#x202F;=&#x202F;0.001, &#x03B7;<sup>2</sup>&#x202F;=&#x202F;0.49), and the amount of difference is huge. Specifically, the sleep quality of junior third grade is significantly lower than that of junior first grade and junior second grade (the higher the PSQI score, the lower the sleep quality). There was no significant difference in junior middle school students&#x2019; learning engagement among grades (<italic>F</italic>&#x202F;=&#x202F;2.706, <italic>p</italic>&#x202F;=&#x202F;0.069, &#x03B7;<sup>2</sup>&#x202F;=&#x202F;0.29). There were significant differences in the mental health status of middle school students in grades (<italic>F</italic>&#x202F;=&#x202F;6.504, <italic>p</italic>&#x202F;=&#x202F;0.0.02, &#x03B7;<sup>2</sup>&#x202F;=&#x202F;0.36), and the amount of difference is large, which suggests that the mental health status of the third grade was significantly lower than that of the first and second grades (the higher the score, the worse the mental health status).</p>
<table-wrap position="float" id="tab6">
<label>Table 6</label>
<caption>
<p>Differences in grade level of each variable.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top" rowspan="2">Variable</th>
<th align="center" valign="top">First year of junior high school (<italic>n</italic>&#x202F;=&#x202F;66)</th>
<th align="center" valign="top">2nd year (<italic>n</italic>&#x202F;=&#x202F;76)</th>
<th align="center" valign="top">3rd year (<italic>n</italic>&#x202F;=&#x202F;44)</th>
<th align="center" valign="top" rowspan="2"><italic>F</italic></th>
<th align="center" valign="top" rowspan="2"><italic>p</italic></th>
<th align="center" valign="top" rowspan="2">&#x03B7;<sup>2</sup></th>
</tr>
<tr>
<th align="center" valign="top">M&#x202F;&#x00B1;&#x202F;SD</th>
<th align="center" valign="top">M&#x202F;&#x00B1;&#x202F;SD</th>
<th align="center" valign="top">M&#x202F;&#x00B1;&#x202F;SD</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle">Sleep quality</td>
<td align="center" valign="middle">4.76&#x202F;&#x00B1;&#x202F;2.11</td>
<td align="center" valign="middle">5.25&#x202F;&#x00B1;&#x202F;1.96</td>
<td align="center" valign="middle">6.27&#x202F;&#x00B1;&#x202F;2.39</td>
<td align="center" valign="middle">6.802</td>
<td align="center" valign="middle">0.001</td>
<td align="center" valign="middle">0.49</td>
</tr>
<tr>
<td align="left" valign="middle">Learning engagement</td>
<td align="center" valign="middle">3.54&#x202F;&#x00B1;&#x202F;0.47</td>
<td align="center" valign="middle">3.59&#x202F;&#x00B1;&#x202F;0.59</td>
<td align="center" valign="middle">3.32&#x202F;&#x00B1;&#x202F;0.84</td>
<td align="center" valign="middle">2.706</td>
<td align="center" valign="middle">0.069</td>
<td align="center" valign="middle">0.29</td>
</tr>
<tr>
<td align="left" valign="middle">Mental health</td>
<td align="center" valign="middle">1.73&#x202F;&#x00B1;&#x202F;0.44</td>
<td align="center" valign="middle">1.91&#x202F;&#x00B1;&#x202F;0.61</td>
<td align="center" valign="middle">2.12&#x202F;&#x00B1;&#x202F;0.60</td>
<td align="center" valign="middle">6.504</td>
<td align="center" valign="middle">0.002</td>
<td align="center" valign="middle">0.36</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="sec18">
<label>3.2.4</label>
<title>Analysis of sleep quality, learning engagement, and mental health of junior high school students</title>
<p>According to the correlation analysis results in <xref ref-type="table" rid="tab7">Tables 7</xref>&#x2013;<xref ref-type="table" rid="tab9">9</xref>, the correlations among the variables were as follows: (1) Sleep quality was significantly negatively correlated with cognitive engagement (<italic>r</italic>&#x202F;=&#x202F;&#x2212;0.157, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05) and emotional engagement (<italic>r</italic>&#x202F;=&#x202F;&#x2212;0.199, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.01); There was a significant negative correlation between sleep duration and emotional engagement (<italic>r</italic>&#x202F;=&#x202F;&#x2212;0.160, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05). Sleep efficiency was negatively correlated with behavioral engagement (<italic>r</italic>&#x202F;=&#x202F;&#x2212;0.154, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05) and cognitive engagement (<italic>r</italic>&#x202F;=&#x202F;&#x2212;0.155, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05). Daytime functionality and behavioral engagement (<italic>r</italic>&#x202F;=&#x202F;0.214, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.01), cognitive (<italic>r</italic>&#x202F;=&#x202F;0.153, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05) and the emotional engagement (<italic>r</italic>&#x202F;=&#x202F;0.206, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.01) were significantly negative correlation. (2) Sleep efficiency was significantly positively correlated with forced factor (<italic>r</italic>&#x202F;=&#x202F;0.151, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05), and sleep duration was significantly positively correlated with emotional instability factor (<italic>r</italic>&#x202F;=&#x202F;0.167, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05) and study pressure factor (<italic>r</italic>&#x202F;=&#x202F;0.150, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05). (3) Maladaptation was significantly negatively correlated with cognitive engagement (<italic>r</italic>&#x202F;=&#x202F;&#x2212;0.167, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05) and emotional engagement (<italic>r</italic>&#x202F;=&#x202F;&#x2212;0.175, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05).</p>
<table-wrap position="float" id="tab7">
<label>Table 7</label>
<caption>
<p>Correlation between sleep quality and learning engagement.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Variable</th>
<th align="left" valign="top">Behavioral engagement</th>
<th align="left" valign="top">Cognitive engagement</th>
<th align="left" valign="top">Emotional engagement</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle">1. Sleep quality</td>
<td align="center" valign="middle">&#x2212;0.085</td>
<td align="center" valign="middle">&#x2212;0.157&#x002A;</td>
<td align="center" valign="middle">&#x2212;0.199&#x002A;&#x002A;</td>
</tr>
<tr>
<td align="left" valign="middle">2. Time to fall asleep</td>
<td align="center" valign="middle">&#x2212;0.05</td>
<td align="center" valign="middle">&#x2212;0.019</td>
<td align="center" valign="middle">&#x2212;0.067</td>
</tr>
<tr>
<td align="left" valign="middle">3. Sleep duration</td>
<td align="center" valign="middle">&#x2212;0.089</td>
<td align="center" valign="middle">&#x2212;0.127</td>
<td align="center" valign="middle">&#x2212;0.160&#x002A;</td>
</tr>
<tr>
<td align="left" valign="middle">4. Sleep efficiency</td>
<td align="center" valign="middle">&#x2212;0.154&#x002A;</td>
<td align="center" valign="middle">&#x2212;0.155&#x002A;</td>
<td align="center" valign="middle">&#x2212;0.066</td>
</tr>
<tr>
<td align="left" valign="middle">5. Sleep disorders</td>
<td align="center" valign="middle">&#x2212;0.084</td>
<td align="center" valign="middle">&#x2212;0.016</td>
<td align="center" valign="middle">&#x2212;0.06</td>
</tr>
<tr>
<td align="left" valign="middle">6. Hypnotic drugs</td>
<td align="center" valign="middle">0.081</td>
<td align="center" valign="middle">0.044</td>
<td align="center" valign="middle">0.052</td>
</tr>
<tr>
<td align="left" valign="middle">7. Daytime functionality</td>
<td align="center" valign="middle">&#x2212;0.214&#x002A;&#x002A;</td>
<td align="center" valign="middle">&#x2212;0.153&#x002A;</td>
<td align="center" valign="middle">&#x2212;0.206&#x002A;&#x002A;</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p>&#x002A; Represents <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05, &#x002A;&#x002A; represents <italic>p</italic>&#x202F;&#x003C;&#x202F;0.01, and represents <italic>p</italic>&#x202F;&#x003C;&#x202F;0.001.</p>
</table-wrap-foot>
</table-wrap>
<table-wrap position="float" id="tab8">
<label>Table 8</label>
<caption>
<p>Correlation analysis between sleep quality and mental health.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Variable</th>
<th align="center" valign="top">Sleep quality</th>
<th align="center" valign="top">Time to fall asleep</th>
<th align="center" valign="top">Sleep duration</th>
<th align="center" valign="top">Sleep efficiency</th>
<th align="center" valign="top">Sleep disorders</th>
<th align="center" valign="top">Hypnotic drugs</th>
<th align="center" valign="top">Daytime functionality</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle">1. Hostile</td>
<td align="center" valign="middle">0.041</td>
<td align="center" valign="middle">&#x2212;0.049</td>
<td align="center" valign="middle">0.043</td>
<td align="center" valign="middle">0.003</td>
<td align="center" valign="middle">0.006</td>
<td align="center" valign="middle">&#x2212;0.002</td>
<td align="center" valign="middle">&#x2212;0.013</td>
</tr>
<tr>
<td align="left" valign="middle">2. Anxiety</td>
<td align="center" valign="middle">&#x2212;0.031</td>
<td align="center" valign="middle">&#x2212;0.12</td>
<td align="center" valign="middle">0.003</td>
<td align="center" valign="middle">0.049</td>
<td align="center" valign="middle">0.004</td>
<td align="center" valign="middle">&#x2212;0.015</td>
<td align="center" valign="middle">&#x2212;0.095</td>
</tr>
<tr>
<td align="left" valign="middle">3. Bigotry</td>
<td align="center" valign="middle">0.027</td>
<td align="center" valign="middle">&#x2212;0.021</td>
<td align="center" valign="middle">0.061</td>
<td align="center" valign="middle">0.051</td>
<td align="center" valign="middle">0.1</td>
<td align="center" valign="middle">&#x2212;0.009</td>
<td align="center" valign="middle">0.021</td>
</tr>
<tr>
<td align="left" valign="middle">4. Forced</td>
<td align="center" valign="middle">0.022</td>
<td align="center" valign="middle">&#x2212;0.06</td>
<td align="center" valign="middle">0.124</td>
<td align="center" valign="middle">0.151&#x002A;</td>
<td align="center" valign="middle">&#x2212;0.09</td>
<td align="center" valign="middle">&#x2212;0.039</td>
<td align="center" valign="middle">&#x2212;0.056</td>
</tr>
<tr>
<td align="left" valign="middle">5. Emotional instability</td>
<td align="center" valign="middle">0.048</td>
<td align="center" valign="middle">&#x2212;0.037</td>
<td align="center" valign="middle">0.167&#x002A;</td>
<td align="center" valign="middle">0.088</td>
<td align="center" valign="middle">0.013</td>
<td align="center" valign="middle">&#x2212;0.032</td>
<td align="center" valign="middle">&#x2212;0.036</td>
</tr>
<tr>
<td align="left" valign="middle">6. Sensitive interpersonal relationships</td>
<td align="center" valign="middle">0.061</td>
<td align="center" valign="middle">0.077</td>
<td align="center" valign="middle">0.095</td>
<td align="center" valign="middle">0.038</td>
<td align="center" valign="middle">0.09</td>
<td align="center" valign="middle">0.022</td>
<td align="center" valign="middle">0.04</td>
</tr>
<tr>
<td align="left" valign="middle">7. Maladaptation</td>
<td align="center" valign="middle">0.046</td>
<td align="center" valign="middle">0.054</td>
<td align="center" valign="middle">0.041</td>
<td align="center" valign="middle">0.075</td>
<td align="center" valign="middle">0.059</td>
<td align="center" valign="middle">0.013</td>
<td align="center" valign="middle">&#x2212;0.092</td>
</tr>
<tr>
<td align="left" valign="middle">8. Psychological imbalance</td>
<td align="center" valign="middle">0.032</td>
<td align="center" valign="middle">0.012</td>
<td align="center" valign="middle">0.105</td>
<td align="center" valign="middle">&#x2212;0.034</td>
<td align="center" valign="middle">&#x2212;0.005</td>
<td align="center" valign="middle">&#x2212;0.011</td>
<td align="center" valign="middle">&#x2212;0.053</td>
</tr>
<tr>
<td align="left" valign="middle">9. Study pressure</td>
<td align="center" valign="middle">&#x2212;0.06</td>
<td align="center" valign="middle">&#x2212;0.093</td>
<td align="center" valign="middle">0.150&#x002A;</td>
<td align="center" valign="middle">0.091</td>
<td align="center" valign="middle">0.015</td>
<td align="center" valign="middle">&#x2212;0.045</td>
<td align="center" valign="middle">0.005</td>
</tr>
<tr>
<td align="left" valign="middle">10. Depression</td>
<td align="center" valign="middle">0.01</td>
<td align="center" valign="middle">&#x2212;0.084</td>
<td align="center" valign="middle">&#x2212;0.016</td>
<td align="center" valign="middle">0.011</td>
<td align="center" valign="middle">0.012</td>
<td align="center" valign="middle">0.011</td>
<td align="center" valign="middle">&#x2212;0.071</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p>&#x002A; Represents <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05, &#x002A;&#x002A; represents <italic>p</italic>&#x202F;&#x003C;&#x202F;0.01, and represents <italic>p</italic>&#x202F;&#x003C;&#x202F;0.001.</p>
</table-wrap-foot>
</table-wrap>
<table-wrap position="float" id="tab9">
<label>Table 9</label>
<caption>
<p>Correlation analysis between mental health and learning engagement.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top">Variable</th>
<th align="center" valign="top">Behavioral engagement</th>
<th align="center" valign="top">Cognitive engagement</th>
<th align="center" valign="top">Emotional engagement</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="middle">1. Hostile</td>
<td align="center" valign="middle">0.011</td>
<td align="center" valign="middle">&#x2212;0.073</td>
<td align="center" valign="middle">&#x2212;0.095</td>
</tr>
<tr>
<td align="left" valign="middle">2. Anxiety</td>
<td align="center" valign="middle">0.058</td>
<td align="center" valign="middle">&#x2212;0.02</td>
<td align="center" valign="middle">&#x2212;0.097</td>
</tr>
<tr>
<td align="left" valign="middle">3. Bigotry</td>
<td align="center" valign="middle">&#x2212;0.1</td>
<td align="center" valign="middle">&#x2212;0.127</td>
<td align="center" valign="middle">&#x2212;0.125</td>
</tr>
<tr>
<td align="left" valign="middle">4. Forced</td>
<td align="center" valign="middle">0.005</td>
<td align="center" valign="middle">0.025</td>
<td align="center" valign="middle">0.008</td>
</tr>
<tr>
<td align="left" valign="middle">5. Emotional instability</td>
<td align="center" valign="middle">&#x2212;0.008</td>
<td align="center" valign="middle">&#x2212;0.031</td>
<td align="center" valign="middle">&#x2212;0.076</td>
</tr>
<tr>
<td align="left" valign="middle">6. Sensitive interpersonal relationships</td>
<td align="center" valign="middle">&#x2212;0.038</td>
<td align="center" valign="middle">&#x2212;0.051</td>
<td align="center" valign="middle">&#x2212;0.119</td>
</tr>
<tr>
<td align="left" valign="middle">7. Maladaptation</td>
<td align="center" valign="middle">&#x2212;0.094</td>
<td align="center" valign="middle">&#x2212;0.167&#x002A;</td>
<td align="center" valign="middle">&#x2212;0.175&#x002A;</td>
</tr>
<tr>
<td align="left" valign="middle">8. Psychological imbalance</td>
<td align="center" valign="middle">0.078</td>
<td align="center" valign="middle">&#x2212;0.004</td>
<td align="center" valign="middle">&#x2212;0.055</td>
</tr>
<tr>
<td align="left" valign="middle">9. Study pressure</td>
<td align="center" valign="middle">&#x2212;0.052</td>
<td align="center" valign="middle">&#x2212;0.131</td>
<td align="center" valign="middle">&#x2212;0.107</td>
</tr>
<tr>
<td align="left" valign="middle">10. Depression</td>
<td align="center" valign="middle">0.04</td>
<td align="center" valign="middle">&#x2212;0.017</td>
<td align="center" valign="middle">&#x2212;0.088</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p>&#x002A; Represents <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05, &#x002A;&#x002A; represents <italic>p</italic>&#x202F;&#x003C;&#x202F;0.01, and represents <italic>p</italic>&#x202F;&#x003C;&#x202F;0.001.</p>
</table-wrap-foot>
</table-wrap>
</sec>
</sec>
<sec id="sec19">
<label>3.3</label>
<title>Mental health moderating test</title>
<p>The results of correlation analysis revealed that sleep quality, mental health and learning engagement were significantly correlated. In order to further probe into the mechanism of sleep quality, mental health and learning engagement among junior middle school students, this study used hierarchical regression analysis to examine whether mental health plays a regulating role in sleep quality and learning engagement. Before the analysis, sleep quality was transformed into a dummy variable. In the regression model, gender and grade were treated as control variables, sleep quality as independent variables, mental health as moderating variables, and learning engagement as dependent variables. A three-step multiple regression analysis was carried out. First, enter gender and grade into the equation as the first control variables. After that, enter sleep quality and mental health into the equation as second-level variables; Finally, enter the product term of sleep quality and mental health into the equation as the third layer variable. In regression analysis, the beta value refers to the standardized regression coefficient. It represents the number of standard deviations of the expected change of the dependent variable (response variable) when the independent variable (predictor variable) changes by one standard deviation. The greater the absolute value of the standardized regression coefficient, the greater the influence of the independent variable on the dependent variable. As can be seen from <xref ref-type="table" rid="tab10">Table 10</xref>, the main effect of sleep quality (<italic>&#x03B2;</italic>&#x202F;=&#x202F;0.476, <italic>t</italic>&#x202F;=&#x202F;1.829, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.001) and mental health (&#x03B2;&#x202F;=&#x202F;0.432, <italic>t</italic>&#x202F;=&#x202F;2.165, <italic>p</italic>&#x202F;=&#x202F;0.002) was significant, supporting hypothesis H1, that is, sleep quality significantly predicted the learning engagement of middle school students. There was a significant interaction between sleep quality and mental health on learning engagement (<italic>&#x03B2;</italic>&#x202F;=&#x202F;&#x2212;0.850, <italic>t</italic>&#x202F;=&#x202F;&#x2212;2.652, <italic>p</italic>&#x202F;=&#x202F;0.006), supporting hypothesis H2, that mental health plays a moderating role between sleep quality and learning engagement.</p>
<table-wrap position="float" id="tab10">
<label>Table 10</label>
<caption>
<p>Moderating effect of mental health on the relationship between sleep quality and learning engagement.</p>
</caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th align="left" valign="top" rowspan="2">Variable</th>
<th align="center" valign="top" colspan="6">Learning engagement</th>
</tr>
<tr>
<th align="center" valign="top"><italic>R</italic><sup>2</sup></th>
<th align="center" valign="top">&#x2206;<italic>R</italic><sup>2</sup></th>
<th align="center" valign="top"><italic>F</italic>(df)</th>
<th align="center" valign="top">&#x03B2;</th>
<th align="center" valign="top"><italic>t</italic></th>
<th align="center" valign="top">95% CI</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left" valign="top">Step 1</td>
<td align="center" valign="top">0.017</td>
<td align="center" valign="top">0.006</td>
<td align="center" valign="top">1.578 (2)</td>
<td/>
<td/>
<td/>
</tr>
<tr>
<td align="left" valign="top">Gender</td>
<td/>
<td/>
<td/>
<td align="center" valign="top">&#x2212;0.054</td>
<td align="center" valign="top">&#x2212;0.725</td>
<td align="center" valign="top">[&#x2212;3.786,1.752]</td>
</tr>
<tr>
<td align="left" valign="top">Grade</td>
<td/>
<td/>
<td/>
<td align="center" valign="top">&#x2212;0.109</td>
<td align="center" valign="top">&#x2212;1.467</td>
<td align="center" valign="top">[&#x2212;3.172,0.467]</td>
</tr>
<tr>
<td align="left" valign="top">Step 2</td>
<td align="center" valign="top">0.051</td>
<td align="center" valign="top">0.030</td>
<td align="center" valign="top">2.435 (4)</td>
<td/>
<td/>
<td/>
</tr>
<tr>
<td align="left" valign="top">Sleep quality</td>
<td/>
<td/>
<td/>
<td align="center" valign="top">0.476&#x002A;&#x002A;&#x002A;</td>
<td align="center" valign="top">1.829</td>
<td align="center" valign="top">[0.163,4.272]</td>
</tr>
<tr>
<td align="left" valign="top">mental health</td>
<td/>
<td/>
<td/>
<td align="center" valign="top">0.432&#x002A;&#x002A;</td>
<td align="center" valign="top">2.165</td>
<td align="center" valign="top">[0.631,13.585]</td>
</tr>
<tr>
<td align="left" valign="top">Step 3 Sleep quality &#x002A; mental health</td>
<td align="center" valign="top">0.087</td>
<td align="center" valign="top">0.061</td>
<td align="center" valign="top">3.419 (5)</td>
<td align="center" valign="top">&#x2212;0.850&#x002A;&#x002A;</td>
<td align="center" valign="top">&#x2212;2.652</td>
<td align="center" valign="top">[&#x2212;2.628,-0.386]</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p>&#x002A; Represents <italic>p</italic>&#x202F;&#x003C;&#x202F;0.05, &#x002A;&#x002A; represents <italic>p</italic>&#x202F;&#x003C;&#x202F;0.01, and represents <italic>p</italic>&#x202F;&#x003C;&#x202F;0.001.</p>
</table-wrap-foot>
</table-wrap>
<p>In order to better present the moderating effect of mental health on the relationship between sleep quality and learning engagement, a simple slope analysis was performed by using the point selection method (<xref ref-type="bibr" rid="ref9">Fang et al., 2015</xref>). Prior to analysis, both mental health and learning engagement were standardized. The predictive effect of sleep quality on learning engagement of junior high school students was calculated by the point selection method when high mental health score (M&#x202F;+&#x202F;1SD) or high mental health score (M-1SD) were calculated. As can be found from <xref ref-type="fig" rid="fig3">Figure 3</xref>, when the mental health score was high (poor mental health status), which was higher than that when the mental health score was low (good mental health status), the negative impact of sleep quality on learning engagement increased (the slope increased), that was, for students with poor mental health, poor sleep quality led to lower learning engagement, while junior high school students with good mental health could better manage emotions, reduce stress, and maintain higher learning enthusiasm and self-efficacy, effective buffering against the negative effects of sleep deprivation even when they had poor sleep quality (higher PSQI scores represent lower sleep quality). The moderating effect of mental health on sleep quality and learning engagement was further verified.</p>
<fig position="float" id="fig3">
<label>Figure 3</label>
<caption>
<p>Simple slope plot.</p>
</caption>
<graphic xlink:href="fpsyg-16-1476840-g003.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="discussion" id="sec20">
<label>4</label>
<title>Discussion</title>
<sec id="sec21">
<label>4.1</label>
<title>Analysis of the current situation of sleep quality of junior high school students</title>
<p>Pittsburgh sleep quality score&#x202F;&#x003E;&#x202F;8 points was used as the reference for adult sleep quality problems in China (<xref ref-type="bibr" rid="ref23">Liu et al., 1996</xref>). The average score of sleep quality in this study was 5.32, which was less than 8 points, indicating that the overall sleep quality of junior high school students was better. And the maximum value is 12, demonstrating that some students have poor sleep quality. But the actual amount of sleep most middle school students get falls short of the standard recommended by China&#x2019;s Ministry of Education (<xref ref-type="bibr" rid="ref12">General Office of the Ministry of Education, 2021</xref>), that is 8&#x202F;h per day, which is consistent with the founding of <xref ref-type="bibr" rid="ref42">Wheaton et al. (2016)</xref>. Many students go to bed after 11:00&#x202F;PM, and some students even go to sleep later. This phenomenon is especially obvious when exams approach or they are facing heavy assignment pressure. Students often sacrifice sleep time to complete academic tasks, resulting in insufficient sleep duration, which directly affects their sleep quality. Even if some students are able to get a certain amount of sleep, their sleep qualities are not optimistic. Frequent nighttime awakenings, light sleep, early awakenings and insomnia are common problems. These problems can be caused by academic pressure, using electronic devices late into the night, poor lifestyle habits, or mental health issues (<xref ref-type="bibr" rid="ref38">Short et al., 2013</xref>). Long-term sleep deprivation will not only lead to the next day&#x2019;s mental malaise, difficult to concentrate, but also affect memory and learning efficiency, and even cause emotional problems and behavioral disorders (<xref ref-type="bibr" rid="ref4">Rey et al., 2020</xref>). Besides, the independent sample T-test on sleep quality unveiled that there was no significant difference between the different sexes in terms of sleep quality (<italic>p</italic>&#x202F;&#x003E;&#x202F;0.05), which was consistent with the founding of <xref ref-type="bibr" rid="ref42">Wheaton et al. (2016)</xref>. This result may be due to the fact that the group in the study was mainly constituted by residential students, whose life patterns, routines and rest times were very similar, so there was no significant difference overall. There were significant differences in grades (<italic>F</italic>&#x202F;=&#x202F;6.802, <italic>p</italic>&#x202F;=&#x202F;0.001, &#x03B7;<sup>2</sup>&#x202F;=&#x202F;0.49), and the amount of difference is huge, the specific performance was that the mental health status of the third grade was significantly lower than that of the first and second grades. The possible reason was that the third grade faced the pressure of high school entrance examination, and the learning pressure led to poor sleep state. This is consistent with the study of <xref ref-type="bibr" rid="ref33">Talala et al. (2012)</xref>.</p>
<p>In order to improve the sleep quality of junior high school students, schools, parents and society should make joint efforts. The school can arrange the curriculum reasonably and reduce the unnecessary extracurricular burden; Parents should supervise their children&#x2019;s use of electronic products to create a more sound sleep environment; In the mean time, students themselves need to develop regular routines and rest habits and learn to effectively manage time and cope with pressure smartly.</p>
<p>In a word, the sleep problem of junior high school students is a public health issue worthy of extensive attention of the society, and requires multi-faceted efforts to solve it in order to ensure the healthy growth of teenagers.</p>
</sec>
<sec id="sec22">
<label>4.2</label>
<title>Analysis of the current situation of learning engagement of junior high school students</title>
<p>In this study, the average score of learning engagement was 3.51, and the scores of behavioral engagement, cognitive engagement and emotional engagement were 3.41, 3.50 and 3.62, sequentially. It reflects that most junior high school students have good learning engagement. It can be seen that most junior high school students have a clear cognition of learning, can realize the value and importance of learning, and have a high enthusiasm for learning and a sense of belonging. In the behavioral level, the score of learning engagement is relatively low. Some students actively participate into class activities and take the initiative to ask questions and answer them, while others look more passive and unwilling to participate into class interaction. At the cognitive level, namely in the respects of understanding, analysis and critical thinking, students have varied levels of engagement. Some students are able to think deeply about problems and use critical thinking, while others tend to rote and lack profound understanding and application skills. Although some studies believe that male students have relatively low motivation, concentration and enthusiasm for learning (<xref ref-type="bibr" rid="ref44">Wigfield and Eccles, 2000</xref>), the results of this study did not find significant gender differences, nor significant grade differences (<italic>p</italic>&#x202F;&#x003E;&#x202F;0.05), which may be caused by insufficient sample size and unrepresentativeness.</p>
<p>Family environment, educational resources, teachers&#x2019; teaching methods and class psychological environment all affect students&#x2019; involvement (<xref ref-type="bibr" rid="ref7">Lehrl et al., 2020</xref>). A supportive and stimulating environment can stimulate students&#x2019; interest and motivation in learning, otherwise it may reduce their engagement level (<xref ref-type="bibr" rid="ref1">Meece et al., 2006</xref>). Consequently, in order to better promote students&#x2019; learning engagement, educators and parents should take measures such as improving teaching methods, enhancing students&#x2019; learning interest, providing personalized guidance and support, so as to enhance junior middle school students&#x2019; learning engagement and foster their all-round development. At the same time, cultivating students&#x2019; self-regulation ability and positive learning attitude is also the key to improve learning engagement.</p>
</sec>
<sec id="sec23">
<label>4.3</label>
<title>Analysis of the current situation of mental health of junior high school students</title>
<p>In this study, the average score of mental health is 1.9, proclaiming that most junior high school students have good mental health status, and the maximum value is 4.43, indicating that some students have certain mental health problems, which is basically consistent with most studies (<xref ref-type="bibr" rid="ref27">Merikangas et al., 2011</xref>). Study pressure is one of the most outstanding manifestations of mental health problems among junior high school students. In the face of fierce competition, especially the approach of the high school entrance examination, many students bear huge academic burdens, long-term high-intensity study not only leads to physical and mental exhaustion, but also may cause anxiety, depression and other emotional disorders. Simultaneously, mood swings are a common phenomenon in adolescence, and some junior high school students lack effective emotional management and self-regulation skills, leading to the accumulation of emotional problems, such as irritability, impulsiveness, depression, etc. Emotional problems not only affect an individual&#x2019;s academic and interpersonal relationships, but can also evolve into long-term psychological disorders. Furthermore, this study conducted an independent sample T-test on mental health and found that there was no significant difference in gender (<italic>p</italic>&#x202F;&#x003E;&#x202F;0.05), but there was a significant difference in grade (<italic>F</italic>&#x202F;=&#x202F;6.504, <italic>p</italic>&#x202F;=&#x202F;0.0.02, &#x03B7;<sup>2</sup>&#x202F;=&#x202F;0.36), and the extent of difference is large. Specifically, the mental health status of grade 3 was significantly lower than that of grade 1 and grade 2. It can be judged that students in the third grade are under heavy academic pressure and face the pressure coming from study and heavy homework, which not only affects their learning efficiency, but also may lead to anxiety, depression and other emotional problems and more serious mental health problems, which is consistent with the research of <xref ref-type="bibr" rid="ref32">Patton et al. (2016)</xref>.</p>
<p>In order to cope with the challenges of the current mental health of junior high school students, the education system, families and society should work together to provide more comprehensive and professional mental health education and services, including running mental health education courses, establishing psychological counseling mechanisms, and creating a supportive family environment, so as to promote the robust growth of adolescents. Meanwhile, it is necessary to train junior high school students&#x2019; self-regulation ability and positive coping strategies to help them build healthy psychological defense mechanisms, which also becomes the key to cope with the current mental health challenges.</p>
</sec>
<sec id="sec24">
<label>4.4</label>
<title>Analysis of the current situation of sleep quality of junior high school students</title>
<p>A large number of studies have focused on the relationship between sleep quality and learning engagement, illustrating a profound interaction mechanism between the two. Studies consistently point out that sleep quality is not only the cornerstone of maintaining daily learning effectiveness, but also a key factor in promoting students&#x2019; long-term learning engagement and academic achievement (<xref ref-type="bibr" rid="ref19">Jalali et al., 2020</xref>).</p>
<p>Through hierarchical regression analysis, this study found that sleep quality has a significant main effect on learning engagement (<italic>&#x03B2;</italic>&#x202F;=&#x202F;0.476, <italic>t</italic>&#x202F;=&#x202F;1.829, <italic>p</italic>&#x202F;&#x003C;&#x202F;0.001), which is consistent with the results of most studies (<xref ref-type="bibr" rid="ref6">Dewald et al., 2010</xref>), explaining that sleep quality affects the level of learning engagement of junior high school students. The PSQI scale contains 7 dimensions: sleep quality, time to fall asleep, sleep duration, sleep efficiency, sleep disorders, hypnotic drugs and daytime functionality, among which the biggest contribution is daytime functionality (whether there is sleepiness and insufficient energy), with an average score of 1.69&#x202F;&#x00B1;&#x202F;0.88, stating that daytime functionality caused by sleep problems is more serious. Quality sleep is essential for the cognitive function of the brain, and getting enough sleep helps improve attention, memory, decision-making, and creativity, which are all essential elements necessary for learning engagement. Lack of sleep reduces learning efficiency. A tired brain has difficulty in concentrating, slower information processing, and reduced memory, all of which directly affect the learning process. In contrast, a student who gets enough sleep will be able to absorb new information more quickly and review old knowledge more effectively while studying, thus improving learning efficiency. Besides, sleep contributes to emotional stability, reduces anxiety and stress, and enables students to maintain a positive mindset in the face of learning challenges.</p>
</sec>
<sec id="sec25">
<label>4.5</label>
<title>Regulating role of mental health</title>
<p>Numerous studies have confirmed that good mental health can cushion the negative effects of sleep deprivation and promote active engagement in the learning process. Students with good mental health are able to demonstrate greater resilience and emotional regulation, as well as maintain higher motivation and engagement in learning, even when faced with occasional sleep disturbances (<xref ref-type="bibr" rid="ref25">Lund et al., 2010</xref>).</p>
<p>Through hierarchical regression analysis, this study found that sleep quality and mental health have significant interaction effects on learning engagement (<italic>&#x03B2;</italic>&#x202F;=&#x202F;&#x2212;0.850, <italic>t</italic>&#x202F;=&#x202F;&#x2212;2.652, <italic>p</italic>&#x202F;=&#x202F;0.006). Moreover, the simple slope chart shows that when the mental health score is high (poor mental health status), the negative impact of sleep quality on learning engagement increases (the slope increases) compared with that when the mental health score is low (good mental health status), that is, for students with poor mental health status, poor sleep quality will lead to lower learning engagement. However, even in the case of poor sleep quality, junior high school students with good mental health can better manage emotions, reduce pressure, maintain high learning enthusiasm and self-efficacy, and effectively buffer the negative effects of insufficient sleep. When mental health, sleep quality, and learning engagement are in good states, they form a positive feedback loop that feeds on each other and enhances the overall well-being for an individual. This is basically consistent with the study of <xref ref-type="bibr" rid="ref45">Windle et al. (2011)</xref>.</p>
<p>Thus, mental health plays a bridging and regulating role between sleep quality and learning engagement, which not only affects an individual&#x2019;s sleep pattern, but also determines their attitude and ability to learn. In order to promote the all-round development of students, educators and parents should attach importance to mental health education, provide necessary psychological support and resources, and help students establish healthy living habits and learning strategies to achieve the best sleep quality and learning engagement level. Meanwhile, cultivating positive mental resilience and learning effective stress management and emotional regulation skills are crucial to maintaining good sleep and study status.</p>
</sec>
</sec>
<sec sec-type="conclusions" id="sec26">
<label>5</label>
<title>Conclusion</title>
<p>In conclusion, this study explored a model of the moderating effect of mental health on sleep quality and learning engagement. Uncovering the mechanisms behind this relationship could help us understand how sleep quality promotes engagement in learning. The study found that the sleep quality of junior high school students can significantly affect their learning engagement, that is, the better the sleep quality, the higher the learning engagement. A student who gets enough sleep will be able to absorb new information more quickly and review old knowledge more effectively while studying, thus improving learning efficiency. Therefore, schools, parents and society should work together to arrange the curriculum reasonably, reduce unnecessary extracurricular burden, create a good sleep environment for students, so that students can maintain a positive attitude to face the challenges in learning.</p>
<p>The study also found that mental health plays a regulating role between sleep quality and learning engagement, and students with good mental health status can effectively buffer the negative impact of sleep deficiency. In order to promote the all-round development of students, educators and parents should attach importance to mental health education, provide necessary psychological support and resources to help students establish healthy living habits and learning strategies so as to achieve optimal sleep quality and learning engagement. At the same time, cultivating positive mental resilience and learning effective stress management and emotional regulation skills are crucial to maintaining good sleep and study status.</p>
</sec>
<sec id="sec27">
<label>6</label>
<title>Limitations and future research</title>
<p>This study also has some shortcomings. For example, all data measurements are based on the perspective of teenagers, which is subjective to a certain extent. In future studies, parents, teachers and students can make objective comments to make up for the shortcomings of self-reported reports. Second, this study only used cross-sectional design to test the mediating mechanism among mental health, sleep quality and learning engagement, and could not draw causal conclusions based on the results. The causal relationship between variables needs to be further investigated and verified in combination with experiments and follow-up studies, so as to further reveal the mechanism of action between variables. Future studies should collect various types of data, such as surveys and interviews with teachers and parents of students, and collect relevant information about junior high school students from one side to improve the reliability of research results. Finally, this study only surveyed junior high school students in one specific province, whose behavioral characteristics and school conditions may differ from those in other regions and other countries, thus limiting the generalizations of the findings. Hence, future studies may consider incorporating the sample of different types of students. At the same time, other factors affecting sleep quality and learning engagement should be further discussed in the future.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="sec28">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author/s.</p>
</sec>
<sec sec-type="ethics-statement" id="sec29">
<title>Ethics statement</title>
<p>The studies involving humans were approved by The Ethics Committee of Qufu Normal University. The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation in this study was provided by the participants&#x2019; legal guardians/next of kin. Written informed consent was obtained from the individual(s) for the publication of any potentially identifiable images or data included in this article.</p>
</sec>
<sec sec-type="author-contributions" id="sec30">
<title>Author contributions</title>
<p>ZX: Writing &#x2013; review &#x0026; editing. TD: Writing &#x2013; original draft. MN: Writing &#x2013; original draft. WD: Writing &#x2013; review &#x0026; editing.</p>
</sec>
<sec sec-type="funding-information" id="sec31">
<title>Funding</title>
<p>The author(s) declare that financial support was received for the research, authorship, and/or publication of this article. This research was supported by the National Natural Science Foundation of China (No. 62007020), Humanities and Social Sciences Research Project of the Ministry of Education (24YJCZH363), and Shandong Provincial Natural Science Foundation (ZR2024QF058).</p>
</sec>
<ack>
<p>We are grateful for the comments provided by the reviewers.</p>
</ack>
<sec sec-type="COI-statement" id="sec32">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="sec33">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="ref43"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Aydin</surname> <given-names>F.</given-names></name> <name><surname>Aydin</surname> <given-names>A.</given-names></name></person-group> (<year>2024</year>). <article-title>Relationship among sleep quality, quality of life and academic self-efficacy of university students</article-title>. <source>Curr. Psychol.</source> <volume>43</volume>, <fpage>21110</fpage>&#x2013;<lpage>21119</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s12144-024-05929-2</pub-id></citation></ref>
<ref id="ref2"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Black</surname> <given-names>D. S.</given-names></name> <name><surname>Slavich</surname> <given-names>G. M.</given-names></name></person-group> (<year>2016</year>). <article-title>Mindfulness meditation and the immune system: a systematic review of randomized controlled trials</article-title>. <source>Ann. N. Y. Acad. Sci.</source> <volume>1373</volume>, <fpage>13</fpage>&#x2013;<lpage>24</lpage>. doi: <pub-id pub-id-type="doi">10.1111/nyas.12998</pub-id>, PMID: <pub-id pub-id-type="pmid">26799456</pub-id></citation></ref>
<ref id="ref8"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>&#x00C7;ali</surname> <given-names>M.</given-names></name> <name><surname>Lazimi</surname> <given-names>L.</given-names></name> <name><surname>Ippoliti</surname> <given-names>B. M. L.</given-names></name></person-group> (<year>2024</year>). <article-title>Relationship between student engagement and academic performance</article-title>. <source>Int. J. Eval. Res. Educ.</source> <volume>13</volume>, <fpage>2210</fpage>&#x2013;<lpage>2217</lpage>. doi: <pub-id pub-id-type="doi">10.11591/ijere.v13i4.28710</pub-id></citation></ref>
<ref id="ref5"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cheng</surname> <given-names>H. L.</given-names></name> <name><surname>He</surname> <given-names>Q.</given-names></name> <name><surname>Zhou</surname> <given-names>Q.</given-names></name> <name><surname>Zhang</surname> <given-names>M. X.</given-names></name> <name><surname>Zhu</surname> <given-names>P.</given-names></name></person-group> (<year>2016</year>). <article-title>Relationship between bedtime and BMI, waist, blood pressure in college students: a one-year follow-up study</article-title>. <source>J. Health Res.</source> <volume>45</volume>, <fpage>614</fpage>&#x2013;<lpage>619</lpage>. doi: <pub-id pub-id-type="doi">10.19813/j.cnki.weishengyanjiu.2016.04.017</pub-id></citation></ref>
<ref id="ref6"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dewald</surname> <given-names>J. F.</given-names></name> <name><surname>Meijer</surname> <given-names>A. M.</given-names></name> <name><surname>Oort</surname> <given-names>F. J.</given-names></name> <name><surname>Kerkhof</surname> <given-names>G. A.</given-names></name> <name><surname>Bogels</surname> <given-names>S. M.</given-names></name></person-group> (<year>2010</year>). <article-title>The influence of sleep quality, sleep duration and sleepiness on school performance in children and adolescents: a meta-analytic review</article-title>. <source>Sleep Med. Rev.</source> <volume>14</volume>, <fpage>179</fpage>&#x2013;<lpage>189</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.smrv.2009.10.004</pub-id></citation></ref>
<ref id="ref3"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dutil</surname> <given-names>C.</given-names></name> <name><surname>Podinic</surname> <given-names>I.</given-names></name> <name><surname>Sadler</surname> <given-names>C. M.</given-names></name> <name><surname>da Costa</surname> <given-names>B. G.</given-names></name> <name><surname>Janssen</surname> <given-names>I.</given-names></name> <name><surname>Ross-White</surname> <given-names>A.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>Sleep timing and health indicators in children and adolescents: a systematic review</article-title>. <source>Health Promot. Chronic Dis. Prev. Can. Res. Policy Pract.</source> <volume>42</volume>, <fpage>150</fpage>&#x2013;<lpage>169</lpage>. doi: <pub-id pub-id-type="doi">10.24095/hpcdp.42.4.04</pub-id></citation></ref>
<ref id="ref9"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Fang</surname> <given-names>J.</given-names></name> <name><surname>Wen</surname> <given-names>Z. L.</given-names></name> <name><surname>Liang</surname> <given-names>D. M.</given-names></name> <name><surname>Li</surname> <given-names>N. N.</given-names></name></person-group> (<year>2015</year>). <article-title>Moderating effect analysis based on multiple regression</article-title>. <source>Psychol. Sci.</source> <volume>38</volume>, <fpage>715</fpage>&#x2013;<lpage>720</lpage>. doi: <pub-id pub-id-type="doi">10.16719/j.cnki.1671-6981.2015.03.001</pub-id></citation></ref>
<ref id="ref10"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Feng</surname> <given-names>G. S.</given-names></name> <name><surname>Chen</surname> <given-names>J. W.</given-names></name> <name><surname>Yang</surname> <given-names>X. Z.</given-names></name></person-group> (<year>2005</year>). <article-title>Study on the status and quality of sleep-related influencing factors in medical college students</article-title>. <source>Chin. J. Epidemiol.</source> <volume>26</volume>, <fpage>328</fpage>&#x2013;<lpage>331</lpage>, PMID: <pub-id pub-id-type="pmid">16053754</pub-id></citation></ref>
<ref id="ref12"><citation citation-type="journal"><person-group person-group-type="author"><collab id="coll1">General Office of the Ministry of Education</collab></person-group> (<year>2021</year>). <article-title>Notice of the general Office of the Ministry of education on further strengthening the sleep Management of Primary and Secondary School Students</article-title>. <source>Bullet. Ministry Educ. Peoples Republic China</source> <volume>5</volume>, <fpage>71</fpage>&#x2013;<lpage>72</lpage>.</citation></ref>
<ref id="ref13"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gradisar</surname> <given-names>M.</given-names></name> <name><surname>Wolfson</surname> <given-names>A. R.</given-names></name> <name><surname>Harvey</surname> <given-names>A. G.</given-names></name> <name><surname>Hale</surname> <given-names>L.</given-names></name> <name><surname>Rosenberg</surname> <given-names>R.</given-names></name> <name><surname>Czeisler</surname> <given-names>C. A.</given-names></name></person-group> (<year>2013</year>). <article-title>The sleep and technology use of Americans: findings from the National Sleep Foundation's 2011 sleep in America poll</article-title>. <source>J. Clin. Sleep Med.</source> <volume>9</volume>, <fpage>1291</fpage>&#x2013;<lpage>1299</lpage>. doi: <pub-id pub-id-type="doi">10.5664/jcsm.3272</pub-id>, PMID: <pub-id pub-id-type="pmid">24340291</pub-id></citation></ref>
<ref id="ref14"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Guo</surname> <given-names>X. F.</given-names></name></person-group> (<year>2023</year>). <article-title>The relationship between physical activity and sleep quality in high school students: The mediating effect of BMI&#x2014;Take some middle schools in Shanghai as an example</article-title>. Master&#x2019;s thesis. Shanghai: Shanghai University of Sport. doi: <pub-id pub-id-type="doi">10.27315/d.cnki.gstyx.2023.000369</pub-id></citation></ref>
<ref id="ref16"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hershner</surname> <given-names>S.</given-names></name></person-group> (<year>2020</year>). <article-title>Sleep and academic performance: measuring the impact of sleep</article-title>. <source>Curr. Opin. Behav. Sci.</source> <volume>33</volume>, <fpage>51</fpage>&#x2013;<lpage>56</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.cobeha.2019.11.009</pub-id></citation></ref>
<ref id="ref0070"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hysing</surname> <given-names>M.</given-names></name> <name><surname>Pallesen</surname> <given-names>S.</given-names></name> <name><surname>Stormark</surname> <given-names>K. M.</given-names></name></person-group> (<year>2015</year>). <article-title>Sleep and use of electronic devices in adolescence: results from a large population-based study</article-title>. <source>BMJ Open</source> <volume>5</volume>:<fpage>e006748</fpage>. doi: <pub-id pub-id-type="doi">10.1136/bmjopen-2014-006748</pub-id></citation></ref>
<ref id="ref11"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Huang</surname> <given-names>Y.</given-names></name> <name><surname>Yang</surname> <given-names>L.</given-names></name> <name><surname>Liu</surname> <given-names>Y.</given-names></name> <name><surname>Zhang</surname> <given-names>S.</given-names></name></person-group> (<year>2024</year>). <article-title>Effects of perceived stress on college students&#x2019; sleep quality: a moderated chain mediation model</article-title>. <source>BMC Psychol.</source> <volume>12</volume>:<fpage>476</fpage>. doi: <pub-id pub-id-type="doi">10.1186/s40359-024-01976-3</pub-id></citation></ref>
<ref id="ref19"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jalali</surname> <given-names>R.</given-names></name> <name><surname>Khazaie</surname> <given-names>H.</given-names></name> <name><surname>Paveh</surname> <given-names>B. K.</given-names></name> <name><surname>Hayrani</surname> <given-names>Z.</given-names></name> <name><surname>Menati</surname> <given-names>L.</given-names></name></person-group> (<year>2020</year>). <article-title>The effect of sleep quality on students' academic achievement</article-title>. <source>Adv. Med. Educ. Pract.</source> <volume>11</volume>, <fpage>497</fpage>&#x2013;<lpage>502</lpage>. doi: <pub-id pub-id-type="doi">10.2147/AMEP.S261525</pub-id>, PMID: <pub-id pub-id-type="pmid">32943971</pub-id></citation></ref>
<ref id="ref20"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kansagra</surname> <given-names>S.</given-names></name></person-group> (<year>2020</year>). <article-title>Sleep disorders in adolescents</article-title>. <source>Pediatrics</source> <volume>145</volume>, <fpage>S204</fpage>&#x2013;<lpage>S209</lpage>. doi: <pub-id pub-id-type="doi">10.1542/peds.2019-2056I</pub-id></citation></ref>
<ref id="ref7"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lehrl</surname> <given-names>S.</given-names></name> <name><surname>Evangelou</surname> <given-names>M.</given-names></name> <name><surname>Sammons</surname> <given-names>P.</given-names></name></person-group> (<year>2020</year>). <article-title>The home learning environment and its role in shaping children&#x2019;s educational development</article-title>. <source>Sch. Eff. Sch. Improv.</source> <volume>31</volume>, <fpage>1</fpage>&#x2013;<lpage>6</lpage>. doi: <pub-id pub-id-type="doi">10.1080/09243453.2020.1693487</pub-id></citation></ref>
<ref id="ref22"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Liu</surname> <given-names>X.</given-names></name></person-group> (<year>2024</year>). <article-title>Emotion dysregulation mediates the relationship between sleep problems and externalizing symptoms in early adolescents: a four-wave longitudinal study</article-title>. <source>J. Affect. Disord.</source> <volume>363</volume>, <fpage>221</fpage>&#x2013;<lpage>229</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jad.2024.07.058</pub-id>, PMID: <pub-id pub-id-type="pmid">39025439</pub-id></citation></ref>
<ref id="ref23"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Liu</surname> <given-names>X. C.</given-names></name> <name><surname>Tang</surname> <given-names>M. Q.</given-names></name> <name><surname>Hu</surname> <given-names>L.</given-names></name> <name><surname>Wang</surname> <given-names>A. Z.</given-names></name> <name><surname>Wu</surname> <given-names>H. X.</given-names></name> <name><surname>Zhao</surname> <given-names>G. F.</given-names></name> <etal/></person-group>. (<year>1996</year>). <article-title>Reliability and validity of the Pittsburgh sleep quality index</article-title>. <source>Chin. J. Psychiatry</source> <volume>2</volume>, <fpage>103</fpage>&#x2013;<lpage>107</lpage>. doi: <pub-id pub-id-type="doi">10.1007/BF02951625</pub-id></citation></ref>
<ref id="ref24"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lo</surname> <given-names>J. C.</given-names></name> <name><surname>Ong</surname> <given-names>J. L.</given-names></name> <name><surname>Leong</surname> <given-names>R. L.</given-names></name> <name><surname>Gooley</surname> <given-names>J. J.</given-names></name> <name><surname>Chee</surname> <given-names>M. W.</given-names></name></person-group> (<year>2016</year>). <article-title>Cognitive performance, sleepiness, and mood in partially sleep deprived adolescents: the need for sleep study</article-title>. <source>Sleep</source> <volume>39</volume>, <fpage>687</fpage>&#x2013;<lpage>698</lpage>. doi: <pub-id pub-id-type="doi">10.5665/sleep.5552</pub-id></citation></ref>
<ref id="ref25"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lund</surname> <given-names>H. G.</given-names></name> <name><surname>Reider</surname> <given-names>B. D.</given-names></name> <name><surname>Whiting</surname> <given-names>A. B.</given-names></name> <name><surname>Prichard</surname> <given-names>J. R.</given-names></name></person-group> (<year>2010</year>). <article-title>Sleep patterns and predictors of disturbed sleep in a large population of college students</article-title>. <source>J. Adolesc. Health</source> <volume>46</volume>, <fpage>124</fpage>&#x2013;<lpage>132</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jadohealth.2009.06.016</pub-id>, PMID: <pub-id pub-id-type="pmid">20113918</pub-id></citation></ref>
<ref id="ref26"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Luthar</surname> <given-names>S. S.</given-names></name> <name><surname>Cicchetti</surname> <given-names>D.</given-names></name> <name><surname>Becker</surname> <given-names>B.</given-names></name></person-group> (<year>2000</year>). <article-title>The construct of resilience: a critical evaluation and guidelines for future work</article-title>. <source>Child Dev.</source> <volume>71</volume>, <fpage>543</fpage>&#x2013;<lpage>562</lpage>. doi: <pub-id pub-id-type="doi">10.1111/1467-8624.00164</pub-id>, PMID: <pub-id pub-id-type="pmid">10953923</pub-id></citation></ref>
<ref id="ref1"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Meece</surname> <given-names>J. L.</given-names></name> <name><surname>Anderman</surname> <given-names>E. M.</given-names></name> <name><surname>Anderman</surname> <given-names>L. H.</given-names></name></person-group> (<year>2006</year>). <article-title>Classroom goal structure, student motivation, and academic achievement</article-title>. <source>Annu. Rev. Psychol.</source> <volume>57</volume>, <fpage>487</fpage>&#x2013;<lpage>503</lpage>. doi: <pub-id pub-id-type="doi">10.1146/ANNUREV.PSYCH.56.091103.070258</pub-id></citation></ref>
<ref id="ref27"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Merikangas</surname> <given-names>K. R.</given-names></name> <name><surname>He</surname> <given-names>J. P.</given-names></name> <name><surname>Burstein</surname> <given-names>M.</given-names></name> <name><surname>Swendsen</surname> <given-names>J.</given-names></name> <name><surname>Avenevoli</surname> <given-names>S.</given-names></name> <name><surname>Case</surname> <given-names>B.</given-names></name> <etal/></person-group>. (<year>2011</year>). <article-title>Service utilization for lifetime mental disorders in US adolescents: results of the National Comorbidity Survey&#x2013;Adolescent Supplement (NCS-A)</article-title>. <source>J. Am. Acad. Child Adolesc. Psychiatry.</source> <volume>50</volume>, <fpage>32</fpage>&#x2013;<lpage>45</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.jaac.2010.10.006</pub-id></citation></ref>
<ref id="ref28"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mollayeva</surname> <given-names>T.</given-names></name> <name><surname>Thurairajah</surname> <given-names>P.</given-names></name> <name><surname>Burton</surname> <given-names>K.</given-names></name> <name><surname>Mollayeva</surname> <given-names>S.</given-names></name> <name><surname>Shapiro</surname> <given-names>C. M.</given-names></name> <name><surname>Colantonio</surname> <given-names>A.</given-names></name></person-group> (<year>2016</year>). <article-title>The Pittsburgh sleep quality index as a screening tool for sleep dysfunction in clinical and non-clinical samples: a systematic review and meta-analysis</article-title>. <source>Sleep Med. Rev.</source> <volume>25</volume>, <fpage>52</fpage>&#x2013;<lpage>73</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.smrv.2015.01.009</pub-id>, PMID: <pub-id pub-id-type="pmid">26163057</pub-id></citation></ref>
<ref id="ref39"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Musshafen</surname> <given-names>L. A.</given-names></name> <name><surname>Tyrone</surname> <given-names>R. S.</given-names></name> <name><surname>Abdelaziz</surname> <given-names>A.</given-names></name> <name><surname>Sims-Gomillia</surname> <given-names>C. E.</given-names></name> <name><surname>Pongetti</surname> <given-names>L. S.</given-names></name> <name><surname>Teng</surname> <given-names>F.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>Associations between sleep and academic performance in US adolescents: a systematic review and meta-analysis</article-title>. <source>Sleep Med.</source> <volume>83</volume>, <fpage>71</fpage>&#x2013;<lpage>82</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.sleep.2021.04.015</pub-id></citation></ref>
<ref id="ref29"><citation citation-type="other"><person-group person-group-type="author"><name><surname>Ni</surname> <given-names>Q.</given-names></name></person-group> (<year>2021</year>). The relationship between sleep quality and health: The mediating role of stress response and the modulating role of neuroticism. Master&#x2019;s thesis. Xian: Shaanxi Normal University.</citation></ref>
<ref id="ref30"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Owens</surname> <given-names>J. A.</given-names></name> <name><surname>Weiss</surname> <given-names>M. R.</given-names></name></person-group> (<year>2017</year>). <article-title>Insufficient sleep in adolescents: causes and consequences</article-title>. <source>Minerva Pediatr.</source> <volume>69</volume>, <fpage>326</fpage>&#x2013;<lpage>336</lpage>. doi: <pub-id pub-id-type="doi">10.23736/s0026-4946.17.04914-3</pub-id>, PMID: <pub-id pub-id-type="pmid">28211649</pub-id></citation></ref>
<ref id="ref32"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Patton</surname> <given-names>G. C.</given-names></name> <name><surname>Sawyer</surname> <given-names>S. M.</given-names></name> <name><surname>Santelli</surname> <given-names>J. S.</given-names></name> <name><surname>Ross</surname> <given-names>D. A.</given-names></name> <name><surname>Afifi</surname> <given-names>R.</given-names></name> <name><surname>Allen</surname> <given-names>N. B.</given-names></name> <etal/></person-group>. (<year>2016</year>). <article-title>Our future: a lancet commission on adolescent health and wellbeing</article-title>. <source>Lancet</source> <volume>387</volume>, <fpage>2423</fpage>&#x2013;<lpage>2478</lpage>. doi: <pub-id pub-id-type="doi">10.1016/S0140-6736(16)00579-1</pub-id>, PMID: <pub-id pub-id-type="pmid">27174304</pub-id></citation></ref>
<ref id="ref15"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Peng</surname> <given-names>S.</given-names></name> <name><surname>Fu</surname> <given-names>Q. R.</given-names></name> <name><surname>Zhu</surname> <given-names>C. Q.</given-names></name> <name><surname>Li</surname> <given-names>H. M.</given-names></name></person-group> (<year>2021</year>). <article-title>Correlation between sleep quality and glucose variability in type 1 diabetes mellitus</article-title>. <source>Modern Drug Application in China</source> <fpage>88</fpage>&#x2013;<lpage>90</lpage>. doi: <pub-id pub-id-type="doi">10.14164/j.cnki.cn11-5581/r.2021.12.031</pub-id></citation></ref>
<ref id="ref34"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Podsakoff</surname> <given-names>P. M.</given-names></name> <name><surname>MacKenzie</surname> <given-names>S. B.</given-names></name> <name><surname>Lee</surname> <given-names>J.</given-names></name> <name><surname>Podsakoff</surname> <given-names>N. P.</given-names></name></person-group> (<year>2003</year>). <article-title>Common method biases in behavioral research: a critical review of the literature and recommended remedies</article-title>. <source>J. Appl. Psychol.</source> <volume>88</volume>, <fpage>879</fpage>&#x2013;<lpage>903</lpage>. doi: <pub-id pub-id-type="doi">10.1037/0021-9010.88.5.879</pub-id>, PMID: <pub-id pub-id-type="pmid">14516251</pub-id></citation></ref>
<ref id="ref35"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Qin</surname> <given-names>L.</given-names></name> <name><surname>Chen</surname> <given-names>S.</given-names></name> <name><surname>Luo</surname> <given-names>B.</given-names></name> <name><surname>Chen</surname> <given-names>Y.</given-names></name></person-group> (<year>2022</year>). <article-title>The effect of learning burnout on sleep quality in primary school students: the mediating role of mental health</article-title>. <source>Healthcare</source> <volume>10</volume>:<fpage>2076</fpage>. doi: <pub-id pub-id-type="doi">10.3390/healthcare10102076</pub-id>, PMID: <pub-id pub-id-type="pmid">36292523</pub-id></citation></ref>
<ref id="ref4"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rey</surname> <given-names>A. E.</given-names></name> <name><surname>Guignard-Perret</surname> <given-names>A.</given-names></name> <name><surname>Imler-Weber</surname> <given-names>F.</given-names></name> <name><surname>Garcia-Larrea</surname> <given-names>L.</given-names></name> <name><surname>Mazza</surname> <given-names>S.</given-names></name></person-group> (<year>2020</year>). <article-title>Improving sleep, cognitive functioning and academic performance with sleep education at school in children</article-title>. <source>Learn. Instr.</source> <volume>65</volume>:<fpage>101270</fpage>. doi: <pub-id pub-id-type="doi">10.1016/j.learninstruc.2019.101270</pub-id></citation></ref>
<ref id="ref36"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Roberts</surname> <given-names>R. E.</given-names></name> <name><surname>Roberts</surname> <given-names>C. R.</given-names></name> <name><surname>Chen</surname> <given-names>I. G.</given-names></name></person-group> (<year>2002</year>). <article-title>Impact of insomnia on future functioning of adolescents</article-title>. <source>J Psychosom Res.</source> <volume>53</volume>, <fpage>561</fpage>&#x2013;<lpage>569</lpage>. doi: <pub-id pub-id-type="doi">10.1016/s0022-3999(02)00446-4</pub-id></citation></ref>
<ref id="ref37"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Seligman</surname> <given-names>M. E.</given-names></name> <name><surname>Steen</surname> <given-names>T. A.</given-names></name> <name><surname>Park</surname> <given-names>N.</given-names></name> <name><surname>Peterson</surname> <given-names>C.</given-names></name></person-group> (<year>2005</year>). <article-title>Positive psychology progress: empirical validation of interventions</article-title>. <source>Am. Psychol.</source> <volume>60</volume>, <fpage>410</fpage>&#x2013;<lpage>421</lpage>. doi: <pub-id pub-id-type="doi">10.1037/0003-066X.60.5.410</pub-id>, PMID: <pub-id pub-id-type="pmid">16045394</pub-id></citation></ref>
<ref id="ref38"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Short</surname> <given-names>M. A.</given-names></name> <name><surname>Gradisar</surname> <given-names>M.</given-names></name> <name><surname>Lack</surname> <given-names>L. C.</given-names></name> <name><surname>Wright</surname> <given-names>H. R.</given-names></name> <name><surname>Dohnt</surname> <given-names>H.</given-names></name></person-group> (<year>2013</year>). <article-title>The sleep patterns and well-being of Australian adolescents</article-title>. <source>J. Adolesc.</source> <volume>36</volume>, <fpage>103</fpage>&#x2013;<lpage>110</lpage>. doi: <pub-id pub-id-type="doi">10.1016/j.adolescence.2012.09.008</pub-id></citation></ref>
<ref id="ref17"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sivertsen</surname> <given-names>B.</given-names></name> <name><surname>Harvey</surname> <given-names>A. G.</given-names></name> <name><surname>Pallesen</surname> <given-names>S.</given-names></name> <name><surname>Hysing</surname> <given-names>M.</given-names></name></person-group> (<year>2017</year>). <article-title>Trajectories of sleep problems from childhood to adolescence: a population&#x2010;based longitudinal study from Norway</article-title>. <source>J. Sleep Res.</source> <volume>26</volume>, <fpage>55</fpage>&#x2013;<lpage>63</lpage>. doi: <pub-id pub-id-type="doi">10.1111/jsr.12443</pub-id></citation></ref>
<ref id="ref31"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Spencer</surname> <given-names>R. M.</given-names></name></person-group> (<year>2021</year>). <article-title>The role of naps in memory and executive functioning in early childhood</article-title>. <source>Adv. Child Dev. Behav.</source> <volume>60</volume>, <fpage>139</fpage>&#x2013;<lpage>158</lpage>. doi: <pub-id pub-id-type="doi">10.1016/bs.acdb.2020.08.004</pub-id></citation></ref>
<ref id="ref33"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Talala</surname> <given-names>K. M.</given-names></name> <name><surname>Martelin</surname> <given-names>T. P.</given-names></name> <name><surname>Haukkala</surname> <given-names>A. H.</given-names></name> <name><surname>H&#x00E4;rk&#x00E4;nen</surname> <given-names>T. T.</given-names></name> <name><surname>Pr&#x00E4;tt&#x00E4;l&#x00E4;</surname> <given-names>R. S.</given-names></name></person-group> (<year>2012</year>). <article-title>Socio-economic differences in self-reported insomnia and stress in Finland from 1979 to 2002: a population-based repeated cross-sectional survey</article-title>. <source>BMC Public Health</source> <volume>12</volume>:<fpage>650</fpage>. doi: <pub-id pub-id-type="doi">10.1186/1471-2458-12-650</pub-id></citation></ref>
<ref id="ref40"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>J. S.</given-names></name> <name><surname>Li</surname> <given-names>Y.</given-names></name> <name><surname>Hoershi</surname></name></person-group>. (<year>1997</year>). <article-title>Development and standardization of mental health scale for Chinese middle school students</article-title>. <source>Social Psychol. Sci.</source> <volume>46</volume>, <fpage>21</fpage>&#x2013;<lpage>25</lpage>.</citation></ref>
<ref id="ref41"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>W. Q.</given-names></name> <name><surname>Zhang</surname> <given-names>J.</given-names></name></person-group> (<year>2024</year>). <article-title>The relationship between sleep quality and stress perception and resilience of medical students</article-title>. <source>Industry Technol.</source> <volume>23</volume>, <fpage>67</fpage>&#x2013;<lpage>71</lpage>.</citation></ref>
<ref id="ref42"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wheaton</surname> <given-names>A. G.</given-names></name> <name><surname>Jones</surname> <given-names>S. E.</given-names></name> <name><surname>Cooper</surname> <given-names>A. C.</given-names></name> <name><surname>Croft</surname> <given-names>J. B.</given-names></name></person-group> (<year>2016</year>). <article-title>Short sleep duration among middle school and high school students &#x2014; United States, 2015</article-title>. <source>MMWR Morb. Mortal Wkly. Rep.</source> <volume>67</volume>, <fpage>85</fpage>&#x2013;<lpage>90</lpage>. doi: <pub-id pub-id-type="doi">10.15585/mmwr.mm6703a1</pub-id>, PMID: <pub-id pub-id-type="pmid">29370154</pub-id></citation></ref>
<ref id="ref44"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wigfield</surname> <given-names>A.</given-names></name> <name><surname>Eccles</surname> <given-names>J. S.</given-names></name></person-group> (<year>2000</year>). <article-title>Expectancy-value theory of achievement motivation</article-title>. <source>Contemp. Educ. Psychol.</source> <volume>25</volume>, <fpage>68</fpage>&#x2013;<lpage>81</lpage>. doi: <pub-id pub-id-type="doi">10.1006/ceps.1999.1015</pub-id>, PMID: <pub-id pub-id-type="pmid">10620382</pub-id></citation></ref>
<ref id="ref45"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Windle</surname> <given-names>G.</given-names></name> <name><surname>Bennett</surname> <given-names>K. M.</given-names></name> <name><surname>Noyes</surname> <given-names>J.</given-names></name></person-group> (<year>2011</year>). <article-title>A methodological review of resilience measurement scales</article-title>. <source>Health Qual. Life Outcomes</source> <volume>9</volume>:<fpage>8</fpage>. doi: <pub-id pub-id-type="doi">10.1186/1477-7525-9-8</pub-id>, PMID: <pub-id pub-id-type="pmid">21294858</pub-id></citation></ref>
<ref id="ref21"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wong</surname> <given-names>Z. Y.</given-names></name> <name><surname>Liem</surname> <given-names>G. A. D.</given-names></name></person-group> (<year>2022</year>). <article-title>Student engagement: Current state of the construct, conceptual refinement, and future research directions</article-title>. <source>Educ. Psychol. Rev.</source> <volume>34</volume>, <fpage>107</fpage>&#x2013;<lpage>138</lpage>. doi: <pub-id pub-id-type="doi">10.1007/s10648-021-09628-3</pub-id></citation></ref>
<ref id="ref47"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname> <given-names>D.</given-names></name> <name><surname>Zhao</surname> <given-names>Y. Y.</given-names></name> <name><surname>Niu</surname> <given-names>R.</given-names></name> <name><surname>Tao</surname> <given-names>S. M.</given-names></name> <name><surname>Yang</surname> <given-names>Y. J.</given-names></name> <name><surname>Zou</surname> <given-names>L. W.</given-names></name> <etal/></person-group>. (<year>2022</year>). <article-title>Longitudinal correlation between cell phone use and sleep quality in college students</article-title>. <source>Chin. J. Preventive Med.</source> <volume>56</volume>, <fpage>1828</fpage>&#x2013;<lpage>1833</lpage>. doi: <pub-id pub-id-type="doi">10.3760/cma.j.cn112150-20220105-00019</pub-id>, PMID: <pub-id pub-id-type="pmid">36536573</pub-id></citation></ref>
<ref id="ref46"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname> <given-names>N.</given-names></name></person-group> (<year>2012</year>). <article-title>Academic engagement: concepts, measurements, and factors</article-title>. <source>Psychol. Res</source>. <volume>5</volume>, <fpage>83</fpage>&#x2013;<lpage>92</lpage>.</citation></ref>
<ref id="ref48"><citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhou</surname> <given-names>H.</given-names></name> <name><surname>Long</surname> <given-names>L. R.</given-names></name></person-group> (<year>2004</year>). <article-title>Statistical remedies for common method biases</article-title>. <source>Adv. Psychol. Sci.</source> <volume>6</volume>, <fpage>942</fpage>&#x2013;<lpage>950</lpage>. doi: <pub-id pub-id-type="doi">10.3969/j.issn.1671-3710.2004.06.018</pub-id></citation></ref>
</ref-list>
</back>
</article>