[go: up one dir, main page]

CN115281615B - A sleep quality assessment method and system based on network analysis - Google Patents

A sleep quality assessment method and system based on network analysis Download PDF

Info

Publication number
CN115281615B
CN115281615B CN202210936131.5A CN202210936131A CN115281615B CN 115281615 B CN115281615 B CN 115281615B CN 202210936131 A CN202210936131 A CN 202210936131A CN 115281615 B CN115281615 B CN 115281615B
Authority
CN
China
Prior art keywords
sleep quality
predicted
node
interval
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210936131.5A
Other languages
Chinese (zh)
Other versions
CN115281615A (en
Inventor
张正
陈芷茵
徐澄
宋子懿
余勇波
黎翔
李煊
张璐
程文锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huanxiu Technology Shanghai Co ltd
Original Assignee
Huanxiu Technology Shanghai Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huanxiu Technology Shanghai Co ltd filed Critical Huanxiu Technology Shanghai Co ltd
Priority to CN202210936131.5A priority Critical patent/CN115281615B/en
Publication of CN115281615A publication Critical patent/CN115281615A/en
Application granted granted Critical
Publication of CN115281615B publication Critical patent/CN115281615B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • A61B5/4815Sleep quality
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/16Devices for psychotechnics; Testing reaction times ; Devices for evaluating the psychological state
    • A61B5/165Evaluating the state of mind, e.g. depression, anxiety
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Pure & Applied Mathematics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Mathematical Physics (AREA)
  • Surgery (AREA)
  • Molecular Biology (AREA)
  • Medical Informatics (AREA)
  • Theoretical Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Psychiatry (AREA)
  • Pathology (AREA)
  • Biophysics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Psychology (AREA)
  • Social Psychology (AREA)
  • Developmental Disabilities (AREA)
  • Child & Adolescent Psychology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Hospice & Palliative Care (AREA)
  • Databases & Information Systems (AREA)
  • Educational Technology (AREA)
  • Algebra (AREA)
  • Probability & Statistics with Applications (AREA)
  • Operations Research (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

本发明涉及睡眠质量评估技术领域,提供一种基于网络分析的睡眠质量评估方法,包括:步骤100,采集睡眠质量与心理健康关系数据;步骤200,采用EBICglasso模型,利用睡眠质量与心理健康关系数据,得到睡眠质量评估模型;步骤300,采集待评估用户输入的预测睡眠质量节点数据,利用得到的睡眠质量评估模型,对待评估用户数据进行分析,得到睡眠质量的最小预测区间;步骤400,根据得到的睡眠质量的最小预测区间,输出睡眠质量区间,实现睡眠质量评估。本发明能够提高睡眠质量测评效率。

The present invention relates to the technical field of sleep quality assessment, and provides a sleep quality assessment method based on network analysis, comprising: step 100, collecting sleep quality and mental health relationship data; step 200, using the EBICglasso model, using the sleep quality and mental health relationship data, to obtain a sleep quality assessment model; step 300, collecting the predicted sleep quality node data input by the user to be assessed, using the obtained sleep quality assessment model, analyzing the user data to be assessed, and obtaining the minimum prediction interval of sleep quality; step 400, outputting the sleep quality interval according to the obtained minimum prediction interval of sleep quality, and realizing sleep quality assessment. The present invention can improve the efficiency of sleep quality assessment.

Description

Sleep quality assessment method and system based on network analysis
Technical Field
The invention relates to the technical field of sleep quality assessment, in particular to a sleep quality assessment method and system based on network analysis.
Background
At present, the sleep quality assessment is mainly carried out by collecting various physiological indexes through instruments and equipment, for example, the psychological health level or the sleep quality of a user is measured or predicted by collecting indexes such as heart rate, blood pressure, bioelectricity and the like.
However, the sleeping quality assessment in the prior art generally requires external additional equipment, is inconvenient to use, has strong body feeling, and affects the sleeping quality of a user, and for example, a user can feel uncomfortable when wearing a bracelet or wearing an electrode, a resistor block and the like.
Disclosure of Invention
The invention mainly solves the technical problems that the sleeping quality assessment in the prior art generally needs external additional equipment, is inconvenient to use, has strong somatosensory, affects sleeping quality of users and the like, and provides a sleeping quality assessment method based on network analysis so as to improve sleeping quality assessment efficiency.
The invention provides a sleep quality assessment method based on network analysis, which comprises the following steps:
Step 100, collecting sleep quality and mental health relation data;
step 200, adopting EBICglasso model, and obtaining sleep quality evaluation model by utilizing sleep quality and mental health relationship data;
step 300, acquiring predicted sleep quality node data input by a user to be evaluated, and analyzing the user data to be evaluated by using the obtained sleep quality evaluation model to obtain a minimum predicted interval of sleep quality;
Step 400, outputting a sleep quality interval according to the obtained minimum prediction interval of the sleep quality, and realizing sleep quality assessment.
Further, the types of mental health include, but are not limited to, depression, anxiety, and stress.
Further, the step 200 includes the following steps:
step 201, determining connection coefficients between nodes of the model according to an evolution path of the following EBICglasso model:
y=Xβ+∈
For n observations and p parameters, y is an n X1 vector of the result, beta is a p X1 vector of a beta coefficient, epsilon is an n X1 error vector, and X is an n X p design matrix;
step 202, constructing a sleep quality assessment model according to the determined connection coefficients among the nodes of the model.
Further, in step 201, the connection coefficients between the nodes of the model are calibrated by:
1) The mental health index evaluation error value is calculated using the following formula:
(y-Xβ)T(y-Xβ)
2) And adjusting a mental health index evaluation error value by using a Lasso method, and further calibrating connection coefficients among nodes of a model, wherein a Residual Square Sum (RSS) formula is as follows:
where λ is a penalty or tuning parameter introduced to avoid the problems faced by the common least squares.
Further, the step 300 includes the following steps:
step 301, obtaining a predicted sleep quality node selected by a user to be evaluated, and obtaining psychological assessment data corresponding to the predicted sleep quality node filled by the user;
step 302, assuming that the first predicted sleep quality node is X, the sleep quality to be predicted is Y, and the first predicted sleep quality node X is known, generating the following estimation interval regarding the sleep quality to be predicted Y according to the connection coefficient b 1 of the first predicted sleep quality node being X and the sleep quality to be predicted being Y:
[ x-b 1y,x+b1 y ], wherein x-b 1y=m,x+b1 y=n;
step 303, according to the mental health data network relationship, the second predicted sleep quality node Z is another variable associated with the sleep quality to be predicted Y, and according to the connection coefficient b 2 between the first predicted sleep quality node X and the second predicted sleep quality node Z, the following estimated interval of the first predicted sleep quality node X to the second predicted sleep quality node Z is equally output:
[ x-b 2z,x+b2 z ], wherein x-b 2z=a,x+b2 z=b;
Step 304 may make a prediction according to the evaluation interval of the sleep quality to be predicted Y by the second predicted sleep quality node Z, and output two evaluation intervals by using the maximum value and the minimum value of the path estimation of the first predicted sleep quality node x→the second predicted sleep quality node Z, where the connection coefficient between the second predicted sleep quality node Z and the sleep quality to be predicted Y is b 3, and confirm the minimum evaluation interval of the sleep quality to be predicted Y value as follows by using the interval intersection:
[ a-b 3y,a+b3 y ], wherein a-b 3y=p,a+b3 y=q
[ B-b 3y,b+b3 y ], wherein b-b 3y=e,b+b3 y=f
Wherein m, n, a, b, p, q, e, f represents mental health indexes, respectively;
Step 305, taking the psychological health index m, n, a, b, p, q, e, f on the number axis according to the estimated interval of the sleep quality Y to be predicted generated in step 302, the estimated interval of the first predicted sleep quality node X to the second predicted sleep quality node Z output in step 303, and the minimum estimated interval of the sleep quality Y value to be predicted formed in step 304, and taking the interval between the fourth point and the fifth point after respectively arranging as the minimum predicted interval of the sleep quality Y value to be predicted, wherein the average value of the maximum value and the minimum value of the interval is the optimal predicted point of the sleep quality Y value to be predicted.
Correspondingly, the invention also provides a sleep quality assessment system based on network analysis, which comprises a data pre-input subsystem A, a network model construction subsystem B, an assessment data input and analysis subsystem C and an assessment data output feedback subsystem D;
the data pre-input subsystem A is used for collecting sleep quality and mental health relation data;
The network model construction subsystem B is used for obtaining a sleep quality assessment model by adopting EBICglasso models and utilizing sleep quality and mental health relationship data;
The evaluation data input and analysis subsystem C is used for collecting the predicted sleep quality node data input by the user to be evaluated, and analyzing the user data to be evaluated by utilizing the obtained sleep quality evaluation model to obtain the minimum predicted interval of the sleep quality;
And the evaluation data output feedback subsystem D is used for outputting a sleep quality interval according to the obtained minimum prediction interval of the sleep quality to realize sleep quality evaluation.
According to the sleep quality assessment method based on the network analysis, which is provided by the invention, the sleep quality assessment model is obtained based on the network analysis method, and the sleep quality assessment is performed by utilizing the sleep quality assessment model, so that the sleep quality assessment efficiency of a user is improved. The multi-dimensional and multi-directional prediction of the sleeping quality of the user can be generated, and the sleeping quality evaluation result and the suggestion interpretation output by the user can be obtained. Compared with a sleep quality measuring method using additional hardware devices such as a specific biological instrument and a wristwatch, the sleep quality measuring method can save the cost of hardware, reduce the sense of body of a user and evaluate the sleep quality of the user more directly and conveniently. Compared with the prediction of the correlation coefficient or the single linear regression generated by the pearson product difference correlation method, the network analysis method is used for paying attention to the interaction between the mental health data, and the sleep quality level of the user is estimated three-dimensionally in the network structure, so that the method is more accurate.
The invention is a psychological health assessment network taking sleep quality as a core, a user can obtain predicted values of other psychological health levels including the completed questions only by completing a small number of psychological health test questions, so that the psychological health assessment efficiency of the user is greatly improved, and the problem that hundreds of questions need to be time-consuming for half an hour or even longer in the traditional psychological health test is solved. The method can be applied to various APP/webpage ends, and is used for single-point rapid psychological assessment and prediction of sleep quality (central node), or prediction of the psychological health level of the user through the sleep quality assessment by the reverse path.
Drawings
FIG. 1 is a flow chart of an implementation of a sleep quality assessment method based on network analysis provided by the invention;
Fig. 2 is a schematic diagram of a network structure of a sleep quality assessment model provided by the present invention;
FIG. 3 is an analysis schematic of analyzing user data to be evaluated provided by the present invention;
fig. 4 is a connection block diagram of the sleep quality assessment system based on network analysis provided by the invention.
Detailed Description
In order to make the technical problems solved by the invention, the technical scheme adopted and the technical effects achieved clearer, the invention is further described in detail below with reference to the accompanying drawings and the embodiments. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the matters related to the present invention are shown in the accompanying drawings.
Example 1
As shown in fig. 1, the sleep quality assessment method based on network analysis provided by the embodiment of the invention includes the following processes:
step 100, collecting sleep quality and mental health relation data.
The sleep quality and mental health relationship data is data reflecting the relationship between mental health and sleep quality. Types of mental health include, but are not limited to, depression, anxiety, and stress.
The step of collecting the data of the relation between the sleep quality and the mental health which are formed and stored in the database is summarized by collecting massive mental health data and sleep quality data. At the time of database creation, mental health data may be collected along with basic information data including, but not limited to, gender, age, occupation, income, region, etc. When collecting data, heterogeneous data within the coverage test population should be collected as much as possible, e.g., when applied in the adult population, covering as many demographic trait data types as possible, such as profession, income, region, etc.
The relation between sleep quality and mental health has the following characteristics:
first, networks that are tightly connected and more connected are considered risky networks. This is due to the snowball effect of symptoms, where activation of one symptom may result in other strongly associated symptoms.
Second, a more central node may also cause a snowball effect, again causing activation of the connected node.
Thus, a tightly connected network and more central nodes are indicative of the risk that the user may be.
Similarly, in network analysis, node activation or approval for a given symptom may be predicted in the network. The symptoms of a highly predictable network are more easily controlled by neighboring symptoms, indicating a more promising therapeutic and intervention approach. Network analysis may also determine the severity of the disease and predict treatment loss.
And 200, obtaining a sleep quality assessment model by adopting EBICglasso models and utilizing the sleep quality and mental health relationship data.
Step 201, determining connection coefficients between nodes of the model according to an evolution path of the following EBICglasso model:
y=Xβ+∈
Wherein sleep quality, anxiety, depression, stress are taken as nodes of the model, X represents the input of the model, the input parameters are any single or combination of depression, anxiety and stress, y represents the output of the model, and the output is sleep quality, y is the n X1 vector of the result, beta is the p X1 vector of the beta coefficient, epsilon is the n X1 error vector, and X is the n X p design matrix (all 1 in the first column, predictor values in the second column).
The EBICglasso model adopted by the invention is based on a linear regression model, and the assumption of the linear regression model is that data are independent. Another key assumption is that the residual of the resulting variable follows a normal distribution.
Preferably, the connection coefficients between the nodes of the model are calibrated by:
1) And calculating a mental health index evaluation error value.
Note that this assumption will be extended to the case of a multivariate model, as we consider here the network approach. When we tried to predict sleep quality nodes with the following three kinds of depression, anxiety and stress, we assumed that all variables existing in the network were independent from each other and that the residuals of the respective variables were in conformity with the normal distribution, the mental health index evaluation error value was calculated using the following formula:
(y-Xβ)T(y-Xβ)
2) And adjusting the psychological health index evaluation error value by using a Lasso method, and further calibrating the connection coefficient among all nodes of the model.
Lasso (Lasso solution SHRINKAGE AND selection operator) is a regularization method aimed at minimizing the sum of squares Residual (RSS) by adding an additional penalty, the sum of squares Residual (RSS) formula being as follows:
Where λ is a penalty or tuning parameter introduced to avoid the problems faced by the common least squares. When λ goes to 0, the equation tends to minimize RSS. As λ approaches infinity, the problem of under-fitting may be faced. Therefore, an appropriate lambda value must be selected, which has the following two selection methods:
One common method is cross-validation, which is used in conjunction with the characteristics of Lasso, which are well suited to network analysis methods. The combination then yields Glasso (GRAPHICAL LASSO, graphical penalty maximum likelihood/penalty likelihood gaussian graph model), which is a regularization method to estimate the covariance matrix. The covariance matrix error estimate formula is as follows:
log(|Θ|)-tr(SΘ)-λ∑i≠j(|Θi,j|)
where log (|Θ|) is the log of the determinant of Θ, p x p precision matrix. tr (sΘ) is the sum of eigenvalues, at p×p sample covariance matrix (multiplied by the estimate of Θ post- Σ). Lambda sigma i≠j(|Θi,j i) is a penalty factor, multiplying the tuning parameter lambda by the sum of the absolute values of the elements opposite the covariance matrix. Glasso can be further modified to λ selection criteria. k-fold cross-validation is often used for λ selection. But k-fold cross-validation over-fits when tuning parameters are selected.
Another approach is to use information criteria to select tuning parameters. EBICglasso select tuning parameters by minimizing extended bayesian information criteria.
Step 202, constructing a sleep quality assessment model according to the determined connection coefficients among the nodes of the model.
In the sleep quality assessment model (network structure diagram and connection coefficients between nodes) constructed in this step, as shown in fig. 2, sleep quality P, anxiety Q1, depression Q2, and pressure Q3 are used as nodes, and each node has different connection coefficients with other nodes. The more information input around the sleep quality P of the variable to be predicted, the more accurate the prediction evaluation of the variable to be predicted.
And 300, acquiring predicted sleep quality node data input by a user to be evaluated, and analyzing the user data to be evaluated by using the obtained sleep quality evaluation model to obtain a minimum predicted interval of sleep quality.
Step 301, obtaining a predicted sleep quality node selected by a user to be evaluated, and obtaining psychological assessment scale data corresponding to the predicted sleep quality node filled in by the user.
Step 302, assuming that the first predicted sleep quality node is X, the sleep quality to be predicted is Y, and the first predicted sleep quality node X is known, generating the following estimation interval regarding the sleep quality to be predicted Y according to the connection coefficient b 1 of the first predicted sleep quality node being X and the sleep quality to be predicted being Y:
[ x-b 1y,x+b1 y ], wherein x-b 1y=m,x+b1 y=n
Step 303, according to the mental health data network relationship, the second predicted sleep quality node Z is another variable associated with the sleep quality to be predicted Y, and according to the connection coefficient b 2 between the first predicted sleep quality node X and the second predicted sleep quality node Z, the following estimated interval of the first predicted sleep quality node X to the second predicted sleep quality node Z is equally output:
[ x-b 2z,x+b2 z ], wherein x-b 2z=a,x+b2 z=b
Step 304, similarly, a prediction may be made according to the evaluation interval of the sleep quality to be predicted Y by the second predicted sleep quality node Z, and two estimation intervals are output by using the maximum value and the minimum value of the path estimation of the first predicted sleep quality node x→the second predicted sleep quality node Z, where the connection coefficient between the second predicted sleep quality node Z and the sleep quality to be predicted Y is b 3, and the minimum estimation interval of the sleep quality to be predicted Y value is determined by using the interval intersection as follows:
[ a-b 3y,a+b3 y ], wherein a-b 3y=p,a+b3 y=q
[ B-b 3y,b+b3 y ], wherein b-b 3y=e,b+b3 y=f
Wherein m, n, a, b, p, q, e, f represent psychological health indexes, respectively.
Step 305, taking the psychological health index m, n, a, b, p, q, e, f on the number axis according to the estimated interval of the sleep quality Y to be predicted generated in step 302, the estimated interval of the first predicted sleep quality node X to the second predicted sleep quality node Z output in step 303, and the minimum estimated interval of the sleep quality Y to be predicted formed in step 304, and taking the interval between the fourth point and the fifth point after the arrangement as the minimum predicted interval of the sleep quality Y to be predicted, wherein the average value of the maximum value and the minimum value of the interval is the optimal predicted point of the sleep quality Y to be predicted, as shown in fig. 3.
Step 400, outputting a sleep quality interval according to the obtained minimum prediction interval of the sleep quality, and realizing sleep quality assessment.
And if the estimated interval of the sleep quality Y result to be predicted spans two horizontal estimated intervals, dividing the two horizontal estimated intervals, and outputting the interval with larger occupation ratio after division as a sleep quality interval to realize sleep quality assessment. The sleep quality interval is, for example, low, medium and high sleep quality, or sleep quality of 0-30 min, 30-70 min and 70-100 min.
Providing other variable prediction results and suggestions based on the network analysis results for the user to be evaluated, and outputting result examples:
point output your Y sleep quality score may be May be at a moderate sleep quality level.
Interval output-your Y sleep quality is 60% likely to be at a medium sleep quality level.
The sleep quality assessment method can be used for a psychological assessment module in a mobile phone APP, and the flow and the example are that a user login account starts to optionally select a psychological assessment table mapped by a node, and by taking the above expression as an example, the user selects Q2 as depression, and the number of topics is about 7. After the answer is completed, the result and suggestion of the depression assessment are provided for the user.
The sleep quality assessment method based on network analysis utilizes the obtained sleep quality assessment model. And obtaining any snack physical health level value input by a user, and generating an estimated interval according to the predicted value of the snack physical health level value to the two associated points, wherein the midpoint of the minimum interval where a plurality of intervals are overlapped is the optimal predicted value of the variable. For example, through depression nodes and coefficients connected with the depression nodes, the co-transformation of the connected nodes can be presumed, namely, after data is input, an estimated value is obtained according to an interval algorithm of minimum error estimation. The EBICglasso model adopted by the invention belongs to a network analysis model (Network Analysis Model), sleep quality evaluation is carried out, the network analysis can identify the risk of mental pathology, and the model has the capability of identifying risk factors and predicting nodes.
Example two
As shown in FIG. 4, the sleep quality assessment system based on network analysis provided by the embodiment of the invention comprises a data pre-input subsystem A, a network model construction subsystem B, an assessment data input and analysis subsystem C and an assessment data output feedback subsystem D;
the data pre-input subsystem A is used for collecting sleep quality and mental health relation data;
The network model construction subsystem B is used for obtaining a sleep quality assessment model by adopting EBICglasso models and utilizing sleep quality and mental health relationship data;
The evaluation data input and analysis subsystem C is used for collecting the predicted sleep quality node data input by the user to be evaluated, and analyzing the user data to be evaluated by utilizing the obtained sleep quality evaluation model to obtain the minimum predicted interval of the sleep quality;
And the evaluation data output feedback subsystem D is used for outputting a sleep quality interval according to the obtained minimum prediction interval of the sleep quality to realize sleep quality evaluation.
It should be noted that the above embodiments are merely for illustrating the technical solution of the present invention, and not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that the technical solution described in the above embodiments may be modified or some or all of the technical features may be equivalently replaced, without departing from the spirit of the technical solution of the present invention.

Claims (4)

1.一种基于网络分析的睡眠质量评估方法,其特征在于,包括以下过程:1. A sleep quality assessment method based on network analysis, characterized in that it includes the following process: 步骤100,采集睡眠质量与心理健康关系数据;Step 100, collecting data on the relationship between sleep quality and mental health; 步骤200,采用EBICglasso模型,利用睡眠质量与心理健康关系数据,得到睡眠质量评估模型;所述步骤200,包括以下步骤201至步骤202:Step 200, using the EBICglasso model and the data on the relationship between sleep quality and mental health, to obtain a sleep quality assessment model; said step 200 includes the following steps 201 to 202: 步骤201,根据如下EBICglasso模型的演化路径,确定模型各节点之间的连接系数:Step 201, according to the following evolution path of the EBICglasso model, determine the connection coefficient between each node of the model: y=xβ+∈y=xβ+∈ 其中,睡眠质量、焦虑、抑郁、压力作为模型的节点,x表示模型的输入,输入的参数是抑郁、焦虑和压力中的任一单个或组合,y表示模型的输出,输出的是睡眠质量;对于n个观测和p个参数,y是结果的n×1向量,β是β系数的p×1向量,∈是n×1误差向量,x是n×p设计矩阵;Among them, sleep quality, anxiety, depression, and stress are nodes of the model, x represents the input of the model, and the input parameters are any single or combined depression, anxiety, and stress, y represents the output of the model, and the output is sleep quality; for n observations and p parameters, y is the n×1 vector of results, β is the p×1 vector of β coefficients, ∈ is the n×1 error vector, and x is the n×p design matrix; 步骤202,根据确定的模型各节点之间的连接系数,构建睡眠质量评估模型;Step 202, constructing a sleep quality assessment model according to the determined connection coefficients between the nodes of the model; 步骤300,采集待评估用户输入的预测睡眠质量节点数据,利用得到的睡眠质量评估模型,对待评估用户数据进行分析,得到睡眠质量的最小预测区间;所述步骤300,包括以下步骤301至步骤305:Step 300, collect the predicted sleep quality node data input by the user to be evaluated, use the obtained sleep quality evaluation model to analyze the user data to be evaluated, and obtain the minimum prediction interval of sleep quality; step 300 includes the following steps 301 to 305: 步骤301,获取待评估用户选择的预测睡眠质量节点,并获取用户填写的该预测睡眠质量节点对应的心理测评量表数据;Step 301, obtaining a predicted sleep quality node selected by a user to be evaluated, and obtaining psychological assessment scale data corresponding to the predicted sleep quality node filled in by the user; 步骤302,假设第一预测睡眠质量节点为x,待预测睡眠质量为y,第一预测睡眠质量节点x已知,则根据第一预测睡眠质量节点为x与待预测睡眠质量为y的连接系数b1,生成如下关于待预测睡眠质量y的估计区间:Step 302, assuming that the first predicted sleep quality node is x, the sleep quality to be predicted is y, and the first predicted sleep quality node x is known, then according to the connection coefficient b1 between the first predicted sleep quality node x and the sleep quality to be predicted y, generate the following estimation interval for the sleep quality to be predicted y: [x-b1y,x+b1y],其中,x-b1y=m,x+b1y=n;[xb 1 y,x+b 1 y], where, xb 1 y=m, x+b 1 y=n; 步骤303,根据心理健康数据网络关系,第二预测睡眠质量节点z为另一与待预测睡眠质量y关联的变量,根据第一预测睡眠质量节点x与第二预测睡眠质量节点为z之间的连接系数为b2,同等输出如下第一预测睡眠质量节点x对第二预测睡眠质量节点z的估计区间:Step 303, according to the network relationship of the mental health data, the second predicted sleep quality node z is another variable associated with the sleep quality y to be predicted, and the connection coefficient between the first predicted sleep quality node x and the second predicted sleep quality node z is b 2 , and the following estimated interval of the first predicted sleep quality node x to the second predicted sleep quality node z is outputted in the same manner: [x-b2z,x+b2z],其中,x-b2z=a,x+b2z=b;[xb 2 z,x+b 2 z], where, xb 2 z=a, x+b 2 z=b; 步骤304,根据第二预测睡眠质量节点z对待预测睡眠质量y的评估区间做出预测,利用第一预测睡眠质量节点x→第二预测睡眠质量节点z路径估计的最大值和最小值输出两个估计区间,其中第二预测睡眠质量节点z与待预测睡眠质量y的连接系数为b3,利用区间交集确认如下对待预测睡眠质量y值的最小估计区间:Step 304: predict the evaluation interval of the sleep quality y to be predicted according to the second predicted sleep quality node z, and output two estimation intervals using the maximum and minimum values of the path estimation from the first predicted sleep quality node x→the second predicted sleep quality node z, wherein the connection coefficient between the second predicted sleep quality node z and the sleep quality y to be predicted is b 3 , and use the interval intersection to confirm the minimum estimation interval of the sleep quality y value to be predicted as follows: [a-b3y,a+b3y],其中,a-b3y=p,a+b3y=q[ab 3 y,a+b 3 y], where, ab 3 y=p, a+b 3 y=q [b-b3y,b+b3y],其中,b-b3y=e,b+b3y=f[bb 3 y,b+b 3 y], where, bb 3 y=e,b+b 3 y=f 其中,m、n、a、b、p、q、e、f分别表示心理健康指数;Among them, m, n, a, b, p, q, e, and f represent the mental health index respectively; 步骤305,根据步骤302生成的待预测睡眠质量y的估计区间、步骤303输出的第一预测睡眠质量节点x对第二预测睡眠质量节点z的估计区间以及步骤304形成的待预测睡眠质量y值的最小估计区间,在数轴上取上述心理健康指数m、n、a、b、p、q、e、f,分别排列后取第四点与第五点之间的区间为待预测睡眠质量y值的最小预测区间,区间最大值与最小值的均值为待预测睡眠质量y值的最佳预测点;Step 305: based on the estimated interval of the sleep quality y to be predicted generated in step 302, the estimated interval of the first predicted sleep quality node x to the second predicted sleep quality node z output in step 303, and the minimum estimated interval of the sleep quality y value to be predicted formed in step 304, the mental health indexes m, n, a, b, p, q, e, and f are taken on the number axis, and the interval between the fourth point and the fifth point is taken as the minimum predicted interval of the sleep quality y value to be predicted. The average of the maximum value and the minimum value of the interval is the best prediction point of the sleep quality y value to be predicted. 步骤400,根据得到的睡眠质量的最小预测区间,输出睡眠质量区间,实现睡眠质量评估。Step 400: output a sleep quality interval according to the obtained minimum prediction interval of sleep quality, thereby achieving sleep quality assessment. 2.根据权利要求1所述的基于网络分析的睡眠质量评估方法,其特征在于,所述心理健康的类型包括:抑郁、焦虑和压力。2. The sleep quality assessment method based on network analysis according to claim 1, characterized in that the types of mental health include: depression, anxiety and stress. 3.根据权利要求1所述的基于网络分析的睡眠质量评估方法,其特征在于,在步骤201中,通过以下过程校准模型各节点之间的连接系数:3. The sleep quality assessment method based on network analysis according to claim 1, characterized in that in step 201, the connection coefficients between the nodes of the model are calibrated by the following process: 1)利用以下公式计算心理健康指数评估误差值:1) Calculate the mental health index assessment error value using the following formula: (y-xβ)T(y-xβ)(y-xβ) T (y-xβ) 2)利用Lasso方法,调节心理健康指数评估误差值,进而校准模型各节点之间的连接系数;其中,残差平方和公式如下:2) Using the Lasso method, the error value of the mental health index assessment is adjusted to calibrate the connection coefficients between the nodes of the model; the residual square sum formula is as follows: 其中,λ是为了避免普通最小二乘所面临的问题而引入的惩罚或调优参数。Here, λ is a penalty or tuning parameter introduced to avoid the problems faced by ordinary least squares. 4.一种基于网络分析的睡眠质量评估系统,用于执行权利要求1至3任一项所述的基于网络分析的睡眠质量评估方法,其特征在于:4. A sleep quality assessment system based on network analysis, used to execute the sleep quality assessment method based on network analysis according to any one of claims 1 to 3, characterized in that: 所述基于网络分析的睡眠质量评估系统,包括:数据预输入子系统A、网络模型建构子系统B、测评数据输入及分析子系统C和测评数据输出反馈子系统D;The sleep quality assessment system based on network analysis includes: a data pre-input subsystem A, a network model construction subsystem B, an assessment data input and analysis subsystem C, and an assessment data output feedback subsystem D; 所述数据预输入子系统A,用于执行所述步骤100;The data pre-input subsystem A is used to execute the step 100; 所述网络模型建构子系统B,用于执行所述步骤200;The network model construction subsystem B is used to execute the step 200; 所述测评数据输入及分析子系统C,用于执行所述步骤300;The evaluation data input and analysis subsystem C is used to execute the step 300; 所述测评数据输出反馈子系统D,用于执行所述步骤400。The evaluation data output feedback subsystem D is used to execute the step 400.
CN202210936131.5A 2022-08-05 2022-08-05 A sleep quality assessment method and system based on network analysis Active CN115281615B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210936131.5A CN115281615B (en) 2022-08-05 2022-08-05 A sleep quality assessment method and system based on network analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210936131.5A CN115281615B (en) 2022-08-05 2022-08-05 A sleep quality assessment method and system based on network analysis

Publications (2)

Publication Number Publication Date
CN115281615A CN115281615A (en) 2022-11-04
CN115281615B true CN115281615B (en) 2025-03-18

Family

ID=83829069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210936131.5A Active CN115281615B (en) 2022-08-05 2022-08-05 A sleep quality assessment method and system based on network analysis

Country Status (1)

Country Link
CN (1) CN115281615B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108596043A (en) * 2018-03-29 2018-09-28 中国药科大学 The automatic method by stages of sleep of single lead EEG signals based on set empirical mode decomposition
CN114145717A (en) * 2021-12-08 2022-03-08 四川北易信息技术有限公司 Sleep state analysis method based on PPG heart rate characteristic parameters and motion quantity

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10325514B2 (en) * 2016-06-02 2019-06-18 Fitbit, Inc. Systems and techniques for tracking sleep consistency and sleep goals
EP3838120A1 (en) * 2019-12-20 2021-06-23 Koninklijke Philips N.V. Pharmacologically annotation based sleep quality detection

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108596043A (en) * 2018-03-29 2018-09-28 中国药科大学 The automatic method by stages of sleep of single lead EEG signals based on set empirical mode decomposition
CN114145717A (en) * 2021-12-08 2022-03-08 四川北易信息技术有限公司 Sleep state analysis method based on PPG heart rate characteristic parameters and motion quantity

Also Published As

Publication number Publication date
CN115281615A (en) 2022-11-04

Similar Documents

Publication Publication Date Title
Scheid et al. Time-evolving controllability of effective connectivity networks during seizure progression
KR102024375B1 (en) Apparatus and method for predicting disease risk of chronic kidney disease
Falkenström et al. Development and validation of a 6-item working alliance questionnaire for repeated administrations during psychotherapy.
CN104050394B (en) The modeling method and its topological attribute analysis method of colony's brain network
EP3660854B1 (en) Triage dialogue method, device, and system
Scheffler et al. Hybrid principal components analysis for region-referenced longitudinal functional EEG data
Chowdhury et al. An artificial neural network model for neonatal disease diagnosis
US20140195472A1 (en) Information processing apparatus, generating method, medical diagnosis support apparatus, and medical diagnosis support method
CN110101384B (en) Functional network analysis system and analysis method for complex network
Gershman et al. The reward-complexity trade-off in schizophrenia
JP7173482B2 (en) Health care data analysis system, health care data analysis method and health care data analysis program
CN118645200A (en) A method for spinal etiology analysis and risk prediction based on artificial intelligence modeling
Wang et al. Effective brain connectivity for fNIRS data analysis based on multi-delays symbolic phase transfer entropy
Liu et al. MCAN: Multimodal causal adversarial networks for dynamic effective connectivity learning from fMRI and EEG data
Linder et al. Psoriasis–the life course approach
Meng et al. Nonstationary multivariate Gaussian processes for electronic health records
Hu et al. Modeling high-dimensional multichannel brain signals
CN118969281A (en) Health assessment method, device and computer equipment based on artificial intelligence
CN115281615B (en) A sleep quality assessment method and system based on network analysis
He et al. Progress in the study of aging marker criteria in human populations
KİRİŞCİ et al. Soft set based new decision-making method with cardiovascular disease application.
US20240145075A1 (en) Machine learning system for asymmetrical matching of care givers and care receivers
Bansal et al. Quantifying uncertainties and risks using managerial judgments in a dynamic new product development environment
Rădulescu et al. Health parameters correlation in an IoT monitoring, evaluation and analysis framework for elderly
Yaseen et al. A stochastic variant of the EM algorithm to fit mixed (discrete and continuous) longitudinal data with nonignorable missingness

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant