Statistical analysis method, device and equipment for clinical patients and storage medium

By integrating preprocessing of multi-source heterogeneous clinical data and building a hybrid undirected graph model, combining topological structure analysis and community detection, the limitations of the existing technology in high-dimensional data and multivariate correlation analysis are solved, and clinical Efficient analysis and decision support for data.

CN119004036AInactive Publication Date: 2024-11-22BEIJING HOUPU PHARM TECH CO LTD
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202411193351.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-11-22
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing clinical patient statistical analysis methods have limitations in processing high-dimensional data, multivariate correlation analysis and complex network relationships, and it is difficult to effectively integrate and utilize multi-source heterogeneous clinical data.

Method used

By integrating and preprocessing the multi-source heterogeneous clinical data, a hybrid undirected graph model was constructed and parameter estimation was performed using the L1 regularization method, a sparse clinical index correlation network and condition dependence intensity matrix were obtained, combining topological structure analysis and community detection. , build a multi-level statistical analysis model and visualize the results.

Benefits of technology

It has realized the disclosure of the complex relationship between clinical characteristics, improved the accuracy and efficiency of clinical data analysis, and provided strong support for clinical decision-making.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119004036A_ABST
    Figure CN119004036A_ABST
Patent Text Reader

Abstract

The invention provides a statistical analysis method, device and equipment for clinical patients and a storage medium, and the method comprises the steps: carrying out the integration preprocessing of multi-source heterogeneous clinical data, and obtaining a standardized clinical data set; performing multi-dimensional dimension reduction and feature selection according to the standardized clinical data set to obtain an optimized clinical feature set; constructing a hybrid undirected graph model based on the optimized clinical feature set, and performing parameter estimation by using an L1 regularization method to obtain a clinical index association network and a condition dependence intensity matrix; performing topological structure analysis and community detection on the clinical index association network to obtain a clinical feature module and a key node set; constructing a multi-level statistical analysis model, and inputting the standardized clinical data set into the model to obtain a clinical data structure analysis result; and carrying out visualization processing on the analysis result. According to the method, the complex relationship between clinical features can be revealed, support is provided for clinical decision making, and the accuracy and efficiency of clinical data analysis are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of statistical analysis, and in particular to a statistical analysis method, device, equipment and storage medium for clinical patients. Background Art

[0002] With the continuous progress of medical research and clinical diagnosis and treatment, the types and quantities of clinical data have exploded. Traditional single data source analysis methods can no longer meet the needs of modern medical research and clinical diagnosis and treatment, especially in the integration and analysis of multi-source heterogeneous data, which faces huge challenges. Multi-source heterogeneous data include electronic medical records, genomic data, imaging data, drug use records, etc. These data have the characteristics of diverse formats, complex structures, and uneven quality, which brings many difficulties to data processing and analysis.

[0003] In clinical research and practice, how to effectively integrate and utilize these multi-source heterogeneous data and mine useful information has become an important topic in medical research. At present, clinical data analysis mainly relies on traditional statistical methods and machine learning models. Although they have solved the problem of data analysis to a certain extent, they still have limitations in processing high-dimensional data, multivariate association analysis, and complex network relationships. Summary of the invention

[0004] The main purpose of the present invention is to solve the technical problem that the existing clinical patient statistical analysis still has limitations in processing high-dimensional data, multivariate association analysis and complex network relationships.

[0005] A first aspect of the present invention provides a statistical analysis method for clinical patients, the statistical analysis method for clinical patients comprising: Integrate and preprocess the collected multi-source heterogeneous clinical data to obtain a standardized clinical data set, and perform multi-dimensional dimension reduction and feature selection on clinical features based on the standardized clinical data set to obtain an optimized clinical feature set; Constructing a hybrid undirected graph model based on the optimized clinical feature set, and using an L1 regularization method to perform parameter estimation on the hybrid undirected graph model to obtain a sparse clinical indicator association network and a conditional dependency strength matrix; Performing topological structure analysis and community detection on the clinical indicator association network to obtain clinical feature modules and key node sets; Constructing a multi-level statistical analysis model according to the clinical feature module, key node set and conditional dependency strength matrix, and inputting the standardized clinical data set into the multi-level statistical analysis model to obtain clinical data structure analysis results; The clinical data structure analysis results are visualized to obtain a multi-dimensional interactive data visualization interface.

[0006] Optionally, in a first implementation of the first aspect of the present invention, the integrated preprocessing of the collected multi-source heterogeneous clinical data to obtain a standardized clinical data set, and multi-dimensional dimension reduction and feature selection of clinical features according to the standardized clinical data set to obtain an optimized clinical feature set includes: Clean and unify the format of the collected multi-source heterogeneous clinical data to obtain a preliminarily processed clinical data set; Constructing a clinical knowledge graph according to the clinical data set, and performing knowledge reasoning and knowledge fusion based on the clinical knowledge graph to obtain an extended clinical knowledge graph; According to the extended clinical knowledge graph, semantic annotation and feature expansion are performed on the collected multi-source heterogeneous clinical data to obtain a semantically enhanced clinical data set; Performing outlier detection and missing value interpolation on the semantically enhanced clinical dataset to obtain a standardized clinical dataset; Perform feature engineering based on the standardized clinical data set and the extended clinical knowledge graph to obtain a candidate feature set; Feature importance evaluation and screening are performed based on the semantic information of the candidate feature set and the extended clinical knowledge graph to obtain an optimized clinical feature set.

[0007] Optionally, in a second implementation of the first aspect of the present invention, constructing a hybrid undirected graph model based on the optimized clinical feature set, and using an L1 regularization method for parameter estimation to obtain a sparse clinical indicator association network and a conditional dependency intensity matrix includes: Performing feature type identification on the optimized clinical feature set to obtain a mixed feature set including continuous variables and discrete variables, and constructing an initial graph structure including continuous-continuous, continuous-discrete, and discrete-discrete variable pairs based on the identified variable types; Designing a parameterized joint probability density function for the initial graph structure, and constructing a hybrid undirected graph model based on the parameterized joint probability density function and the initial graph structure; Constructing a negative log-likelihood function with an L1 regularization term based on the hybrid undirected graphical model to obtain a model optimization objective function; Applying a cross-validation method to the model optimization objective function to obtain an optimal regularization parameter, and applying a proximal gradient descent algorithm to the model optimization objective function based on the obtained optimal regularization parameter to obtain an L1 regularized parameter estimation result; Performing model structure pruning on the hybrid undirected graph model based on the parameter estimation result to obtain a sparse clinical indicator association network; The conditional independence and partial correlation coefficients are calculated for the sparse clinical indicator association network to obtain a conditional dependency strength matrix.

[0008] Optionally, in a third implementation of the first aspect of the present invention, constructing an initial graph structure including continuous-continuous, continuous-discrete, and discrete-discrete variable pairs based on the identified variable types includes: Combining the continuous variables and the discrete variables in the mixed feature set in pairs to obtain a continuous-continuous variable pair set, and constructing a Gaussian graph model substructure according to the continuous-continuous variable pair set to obtain a continuous variable association subgraph; Cross-combining the continuous variables and the discrete variables in the mixed feature set to obtain a continuous-discrete variable pair set, and constructing a mixed graph model substructure according to the continuous-discrete variable pair set to obtain a continuous-discrete variable association subgraph; Combining the discrete variables in the mixed feature set in pairs to obtain a discrete-discrete variable pair set, and constructing a discrete model substructure according to the discrete-discrete variable pair set to obtain a discrete variable association subgraph; The continuous variable association subgraph, the continuous-discrete variable association subgraph and the discrete variable association subgraph are merged and topological structure optimized to obtain an initial graph structure.

[0009] Optionally, in a fourth implementation of the first aspect of the present invention, the calculating conditional independence and partial correlation coefficient of the sparse clinical indicator association network to obtain a conditional dependency strength matrix includes: Performing graph structure decomposition on the sparse clinical indicator association network to obtain a node pair set, and constructing a conditional probability table according to the node pair set to obtain an initial conditional probability matrix; Applying Fisher Z transformation to the initial conditional probability matrix to obtain a Z statistic matrix, and performing hypothesis testing based on the Z statistic matrix to obtain a conditional independence p-value matrix; Setting a threshold according to the conditional independence p-value matrix, screening clinical indicator pairs, and obtaining a set of significantly correlated indicator pairs; Calculating partial correlation coefficients for the set of significantly correlated index pairs, and performing normalization processing to obtain a partial correlation coefficient matrix; A nonlinear transformation function is applied to the partial correlation coefficient matrix to obtain a conditional dependence strength matrix.

[0010] Optionally, in a fifth implementation of the first aspect of the present invention, performing topological structure analysis and community detection on the clinical indicator association network to obtain a clinical feature module and a key node set includes: Calculating the node degree distribution of the clinical indicator association network to obtain a preliminary ranking of node importance, and applying the PageRank algorithm to the clinical indicator association network based on the preliminary ranking of node importance to obtain a node centrality index; Screening nodes of the clinical indicator association network according to the node centrality index to obtain a key node candidate set, and applying a k-core decomposition algorithm to the key node candidate set to obtain a network core-edge structure; Performing community detection on the clinical indicator association network based on the network core-edge structure to obtain an initial feature module division, and applying a modularity optimization algorithm to the initial feature module division to obtain an optimized clinical feature module; The importance of the key node candidate set is evaluated according to the optimized clinical feature module to obtain the key node set.

[0011] Optionally, in a sixth implementation of the first aspect of the present invention, constructing a multi-level statistical analysis model according to the clinical feature module, the key node set and the conditional dependency strength matrix, and inputting the standardized clinical data set into the multi-level statistical analysis model, obtaining the clinical data structure analysis result includes: Performing hierarchical clustering analysis on the clinical feature modules to obtain a feature module hierarchical tree; Design a multi-layer neural network structure according to the feature module hierarchy tree and key node set to obtain an initial multi-layer statistical model framework; Initializing the connection weights of the initial multi-layer statistical model framework based on the conditional dependency strength matrix to obtain a weighted multi-layer statistical model; Applying a generalized linear model algorithm to the weighted multi-layer statistical model to obtain an intra-module linear relationship model; A hierarchical generalized additive model is constructed according to the intra-module linear relationship model and the feature module hierarchy tree to obtain an inter-module nonlinear relationship model; Integrate the intra-module linear relationship model and the inter-module non-linear relationship model to obtain a multi-level statistical analysis model; Performing stratified sampling on the standardized clinical data set to obtain a training set and a validation set; Inputting the training set into the multi-level statistical analysis model for parameter learning to obtain model parameter estimation results; Cross-validate the parameter estimation results using the validation set to obtain a model performance evaluation index; Fine-tune the multi-level statistical analysis model according to the model performance evaluation index to obtain an optimized multi-level statistical analysis model; The standardized clinical data set is input into the optimized multi-level statistical analysis model to obtain the clinical data structure analysis results, including feature importance ranking, inter-module association strength and abnormal pattern detection results.

[0012] A second aspect of the present invention provides a statistical analysis device for clinical patients, the statistical analysis device for clinical patients comprising: A data feature processing module is used to integrate and preprocess the collected multi-source heterogeneous clinical data to obtain a standardized clinical data set, and perform multi-dimensional dimension reduction and feature selection on clinical features based on the standardized clinical data set to obtain an optimized clinical feature set; A graph construction module, used to construct a hybrid undirected graph model based on the optimized clinical feature set, and use an L1 regularization method to perform parameter estimation on the hybrid undirected graph model to obtain a sparse clinical indicator association network and a conditional dependency strength matrix; An analysis and detection module is used to perform topological structure analysis and community detection on the clinical indicator association network to obtain a clinical feature module and a key node set; A model building input module, used to build a multi-level statistical analysis model according to the clinical feature module, key node set and conditional dependency strength matrix, and input the standardized clinical data set into the multi-level statistical analysis model to obtain clinical data structure analysis results; The visualization module is used to visualize the clinical data structure analysis results to obtain a multi-dimensional interactive data visualization interface.

[0013] The third aspect of the present invention provides a statistical analysis device for clinical patients, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via lines; the at least one processor calls the instructions in the memory so that the statistical analysis device for clinical patients performs the steps of the above-mentioned statistical analysis method for clinical patients.

[0014] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the steps of the above-mentioned statistical analysis method for clinical patients.

[0015] The above-mentioned statistical analysis method, device, equipment and storage medium for clinical patients obtain a standardized clinical data set by integrating and preprocessing multi-source heterogeneous clinical data; perform multi-dimensional dimension reduction and feature selection based on the standardized clinical data set to obtain an optimized clinical feature set; construct a hybrid undirected graph model based on the optimized clinical feature set, and use the L1 regularization method for parameter estimation to obtain a clinical indicator association network and a conditional dependency strength matrix; perform topological structure analysis and community detection on the clinical indicator association network to obtain clinical feature modules and key node sets; construct a multi-level statistical analysis model, and input the standardized clinical data set into the model to obtain the results of clinical data structure analysis; and visualize the analysis results. This method can reveal the complex relationship between clinical features, provide support for clinical decision-making, and improve the accuracy and efficiency of clinical data analysis.

[0016] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0017] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 It is a schematic diagram of a first embodiment of a statistical analysis method for clinical patients in an embodiment of the present invention; Figure 2 A schematic diagram of an embodiment of a statistical analysis device for clinical patients according to an embodiment of the present invention; Figure 3 Schematic diagram of an embodiment of a statistical analysis device for clinical patients in an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0020] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device end including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or device ends.

[0021] To facilitate understanding of this embodiment, a statistical analysis method for clinical patients disclosed in an embodiment of the present invention is first described in detail. Figure 1 As shown, the method comprises the following steps: 101. Integrate and preprocess the collected multi-source heterogeneous clinical data to obtain a standardized clinical data set, and perform multi-dimensional dimension reduction and feature selection on clinical features based on the standardized clinical data set to obtain an optimized clinical feature set; In one embodiment of the present invention, the integration and preprocessing of the collected multi-source heterogeneous clinical data to obtain a standardized clinical data set, and multi-dimensional dimension reduction and feature selection of clinical features based on the standardized clinical data set to obtain an optimized clinical feature set include: data cleaning and format unification processing of the collected multi-source heterogeneous clinical data to obtain a preliminarily processed clinical data set; constructing a clinical knowledge graph based on the clinical data set, and performing knowledge reasoning and knowledge fusion based on the clinical knowledge graph to obtain an extended clinical knowledge graph; semantically annotating and feature expanding the collected multi-source heterogeneous clinical data based on the extended clinical knowledge graph to obtain a semantically enhanced clinical data set; performing outlier detection and missing value interpolation on the semantically enhanced clinical data set to obtain a standardized clinical data set; performing feature engineering based on the standardized clinical data set and the extended clinical knowledge graph to obtain a candidate feature set; and evaluating and screening feature importance based on the semantic information of the candidate feature set and the extended clinical knowledge graph to obtain an optimized clinical feature set.

[0022] Specifically, the sources of clinical data may include electronic medical records, laboratory test results, imaging data, wearable device records, etc. These multi-source heterogeneous clinical data provide rich information for a comprehensive understanding of the patient's condition, but also bring challenges to data integration and analysis. In order to make full use of these valuable data resources, this technical solution proposes an innovative data preprocessing and feature optimization method. First, the collected multi-source heterogeneous clinical data are cleaned and formatted to obtain a preliminarily processed clinical data set. This step involves operations such as removing duplicate data, correcting obvious errors, and unifying measurement units. For example, blood pressure data from different sources are unified into mmHg units, or patient gender information recorded in various forms is unified into standard codes. Then, a clinical knowledge graph is constructed based on this preliminarily processed clinical data set. The clinical knowledge graph is a structured knowledge representation method that presents clinical concepts, entities and their relationships in the form of a graph. For example, "hypertension" can be used as a node, and the risk factors, symptoms, treatment methods, etc. related to it can be used as other connected nodes. After constructing the basic clinical knowledge graph, knowledge reasoning and knowledge fusion are further performed to obtain an extended clinical knowledge graph. This step can use the existing medical knowledge base and rules to infer implicit relationships and knowledge. For example, from the known two pieces of information "diabetes increases the risk of cardiovascular disease" and "patient A has diabetes", it can be inferred that "patient A may have a higher risk of cardiovascular disease". This expansion not only enriches the content of the knowledge graph, but also provides a broader semantic background for subsequent data analysis. Subsequently, the initial multi-source heterogeneous clinical data is semantically annotated and feature expanded using the extended clinical knowledge graph to obtain a semantically enhanced clinical dataset. This step adds rich semantic information to the original data, making the association between the data clearer. For example, semantic labels such as "fasting" or "postprandial" can be added to blood glucose test results, and relevant information about the drug mechanism of action can be added to medication records. This semantic enhancement not only improves the interpretability of the data, but also provides more possibilities for subsequent feature engineering and model building. Next, outlier detection and missing value interpolation are performed on the semantically enhanced clinical dataset to obtain a standardized clinical dataset. Outlier detection can identify data points that do not conform to the normal range, such as abnormally high body temperature records or obviously incorrect age information. Missing value interpolation fills in the gaps in the data and ensures the integrity of the data. For example, multiple imputation can be used to estimate reasonable values ​​for missing laboratory test results. This step ensures the data quality and reliability of subsequent analysis. After obtaining the standardized clinical data set, feature engineering is performed based on the data set and the extended clinical knowledge graph to obtain a candidate feature set. Feature engineering is a creative process that combines domain knowledge and data characteristics to generate new and potentially more predictive features.For example, new composite features, such as "recent blood pressure fluctuation amplitude" or "cumulative medication dosage", can be created based on the relationships in the knowledge graph. These new features may better reflect the patient's health status than a single original indicator. Finally, the feature importance is evaluated and screened based on the semantic information of the candidate feature set and the extended clinical knowledge graph to obtain the optimized clinical feature set. This step uses statistical methods and machine learning techniques, such as correlation analysis and information gain, to evaluate the importance of each feature. At the same time, the clinical significance and interpretability of the features are considered in combination with the semantic information provided by the knowledge graph. For example, even if a complex composite feature shows a high correlation in statistics, it may be screened out if it is difficult to interpret or apply in clinical practice. The final optimized clinical feature set is not only statistically significant, but also has good clinical interpretability and practical value.

[0023] 102. Based on the optimized clinical feature set, a hybrid undirected graph model is constructed, and the parameters of the hybrid undirected graph model are estimated using the L1 regularization method to obtain a sparse clinical indicator association network and a conditional dependency intensity matrix; In one embodiment of the present invention, the hybrid undirected graph model is constructed based on the optimized clinical feature set, and the L1 regularization method is used to perform parameter estimation to obtain a sparse clinical indicator association network and a conditional dependency strength matrix, including: identifying the feature type of the optimized clinical feature set to obtain a hybrid feature set including continuous variables and discrete variables, and based on the identified variable types, constructing an initial graph structure including continuous-continuous, continuous-discrete and discrete-discrete variable pairs; designing a parameterized joint probability density function for the initial graph structure, and constructing a hybrid undirected graph model based on the parameterized joint probability density function and the initial graph structure. A mixed undirected graph model is proposed; a negative log-likelihood function with an L1 regularization term is constructed based on the mixed undirected graph model to obtain a model optimization objective function; a cross-validation method is applied to the model optimization objective function to obtain an optimal regularization parameter, and a proximal gradient descent algorithm is applied to the model optimization objective function according to the obtained optimal regularization parameter to obtain an L1 regularized parameter estimation result; based on the parameter estimation result, a model structure pruning is performed on the mixed undirected graph model to obtain a sparse clinical indicator association network; conditional independence and partial correlation coefficients are calculated for the sparse clinical indicator association network to obtain a conditional dependence intensity matrix.

[0024] Specifically, the optimized clinical feature set is identified by feature type, and a mixed feature set containing continuous variables and discrete variables is obtained. For example, age, blood pressure, etc. are continuous variables, while gender, disease stage, etc. are discrete variables. Based on these identified variable types, an initial graph structure containing continuous-continuous, continuous-discrete, and discrete-discrete variable pairs is constructed, laying the foundation for subsequent model construction. Next, a parameterized joint probability density function is designed for the initial graph structure, which is a key step in constructing a mixed undirected graph model. The parameterized joint probability density function describes the joint distribution of all variables in the graph, which takes into account the interactions between different types of variable pairs. For example, for continuous variable pairs (such as height and weight), a Gaussian distribution can be used; for discrete variable pairs (such as gender and the occurrence of a certain disease), an exponential family distribution can be used; and for continuous-discrete variable pairs (such as age and the occurrence of a certain disease), a mixed distribution can be used. This design allows the model to flexibly capture the complex relationship between different types of clinical indicators. Based on the designed parameterized joint probability density function and the initial graph structure, a mixed undirected graph model is constructed. This model can be regarded as a complex network, in which nodes represent different clinical indicators and edges represent the relationship between indicators. For example, in this network, the "blood pressure" node may be connected to multiple nodes such as "age", "body mass index" and "diagnosis of hypertension", reflecting the potential association between these factors. Then, a negative log-likelihood function with an L1 regularization term is constructed based on the mixed undirected graph model to obtain the model optimization objective function. L1 regularization is an important technique that promotes the sparsity of the model by adding a penalty term to the objective function. In a clinical context, this means that the model will tend to retain truly important relationships and ignore less important relationships. For example, among the many factors that may be associated with hypertension, L1 regularization can help the model identify the most critical factors, such as age, weight, and salt intake, while reducing the influence of other minor factors. In order to determine the optimal regularization strength, a cross-validation method is applied to the model optimization objective function. This process divides the dataset into multiple subsets, repeatedly trains and validates the model to find the regularization parameter that performs best on unseen data. For example, a 10-fold cross-validation can be used to divide the dataset into 10 parts, 9 parts are used to train the model each time, and the remaining 1 part is used for validation, and repeated 10 times to ensure that each part of the data is used as a validation set. This method helps to avoid overfitting and improve the generalization ability of the model. After obtaining the optimal regularization parameters, the proximal gradient descent algorithm is applied to the model optimization objective function to obtain the parameter estimation results of L1 regularization. The proximal gradient descent algorithm is an effective method for dealing with L1 regularization problems. It can effectively deal with non-smooth terms (i.e., L1 norm terms) in the objective function. By iteratively updating the parameters, the algorithm gradually approaches the optimal solution and finally obtains the weight estimate of each edge. Then, based on the parameter estimation results, the model structure of the mixed undirected graph model is pruned to obtain a sparse clinical indicator association network.The pruning process removes edges whose estimated weights are close to zero, retaining only significant associations. For example, if the model finds that the association between "smoking habits" and "lung function" is strong, while the association between "hair color" and "lung function" is weak, the pruned network will retain the former and remove the latter. The resulting sparse network is more concise and clear, highlighting the most important clinical associations. Finally, the conditional independence and partial correlation coefficients are calculated for the sparse clinical indicator association network to obtain the conditional dependency strength matrix. This step further quantifies the degree of mutual influence between the indicators in the network, providing an important basis for subsequent clinical interpretation and decision-making.

[0025] Furthermore, the construction of an initial graph structure containing continuous-continuous, continuous-discrete and discrete-discrete variable pairs based on the identified variable types includes: pairwise combination of continuous variables and discrete variables in the mixed feature set to obtain a continuous-continuous variable pair set, and constructing a Gaussian graph model substructure based on the continuous-continuous variable pair set to obtain a continuous variable associated subgraph; cross-combining continuous variables and discrete variables in the mixed feature set to obtain a continuous-discrete variable pair set, and constructing a mixed graph model substructure based on the continuous-discrete variable pair set to obtain a continuous-discrete variable associated subgraph; pairwise combination of discrete variables in the mixed feature set to obtain a discrete-discrete variable pair set, and constructing a discrete model substructure based on the discrete-discrete variable pair set to obtain a discrete variable associated subgraph; merging the continuous variable associated subgraph, the continuous-discrete variable associated subgraph and the discrete variable associated subgraph and performing topological structure optimization to obtain an initial graph structure.

[0026] Specifically, firstly, the continuous variables in the mixed feature set are paired and combined to obtain a set of continuous-continuous variable pairs. For example, in a clinical data set containing continuous variables such as blood pressure, age, and weight, variable pairs such as (blood pressure, age), (blood pressure, weight), and (age, weight) can be obtained. This step is implemented by double looping through all continuous variables, with a time complexity of O(n^2), where n is the number of continuous variables. After obtaining the set of continuous-continuous variable pairs, a Gaussian graph model substructure is constructed based on these variable pairs to obtain a continuous variable association subgraph. The Gaussian graph model assumes that there is a linear relationship between variables and that their joint distribution follows a multivariate normal distribution. In practice, this substructure can be constructed by calculating the sample covariance matrix between the variable pairs. For example, for the pair of blood pressure and age, their covariance can be calculated and this value can be used to represent the weight of their edges in the graph. Next, the continuous variables and discrete variables in the mixed feature set are cross-combined to obtain a set of continuous-discrete variable pairs. For example, if the dataset also contains discrete variables such as gender, we can get variable pairs such as (blood pressure, gender), (age, gender), (weight, gender). The time complexity of this step is O(nm), where n and m are the number of continuous variables and discrete variables, respectively. Based on these continuous-discrete variable pairs, a mixed graph model substructure is constructed to obtain a continuous-discrete variable association subgraph. This substructure needs to consider the characteristics of both continuous and discrete variables. For example, for the pair of variables (blood pressure, gender), the difference in blood pressure distribution between different gender groups can be calculated, and statistical methods such as t-test or variance analysis can be used to quantify this association. Then, the discrete variables in the mixed feature set are paired to obtain a set of discrete-discrete variable pairs. For example, if the dataset also contains discrete variables such as smoking status, we can get variable pairs such as (gender, smoking status). The time complexity of this step is also O(m^2), where m is the number of discrete variables. Based on the set of discrete-discrete variable pairs, a discrete model substructure is constructed to obtain a discrete variable association subgraph. This substructure usually uses methods such as chi-square test or mutual information to quantify the association between discrete variables. For example, for the pair of variables (gender, smoking status), a contingency table can be constructed, and then the chi-square statistic can be calculated to measure the strength of the association between them. Finally, the continuous variable association subgraph, the continuous-discrete variable association subgraph, and the discrete variable association subgraph are merged to obtain a complete initial graph structure. This merging process actually combines the nodes and edges of the three subgraphs to form a unified graph structure. However, direct merging may result in some redundant or unnecessary connections, so topological structure optimization is also required. The goal of topological structure optimization is to obtain a graph structure that can reflect the true relationship between variables and is concise enough. This process can include operations such as deleting weakly correlated edges and merging highly correlated nodes.For example, a threshold can be set to retain only edges whose correlation coefficient or statistical significance exceeds this threshold. In addition, some graph theory algorithms, such as the minimum spanning tree algorithm, can be used to ensure the connectivity of the graph while minimizing the total weight of the edges. In practical applications, this optimization process may require repeated iterations and adjustments. For example, the threshold can be gradually increased and the changes in the graph structure can be observed until a graph structure that balances complexity and information volume is obtained. At the same time, domain knowledge also needs to be considered to ensure that important clinical relationships are not mistakenly deleted during the optimization process.

[0027] Furthermore, the calculation of conditional independence and partial correlation coefficients for the sparse clinical indicator association network to obtain a conditional dependence strength matrix includes: performing graph structure decomposition on the sparse clinical indicator association network to obtain a set of node pairs, and constructing a conditional probability table based on the set of node pairs to obtain an initial conditional probability matrix; applying Fisher Z transform to the initial conditional probability matrix to obtain a Z statistic matrix, and performing hypothesis testing based on the Z statistic matrix to obtain a conditional independence p-value matrix; setting a threshold according to the conditional independence p-value matrix, screening clinical indicator pairs, and obtaining a set of significantly correlated indicator pairs; calculating partial correlation coefficients for the set of significantly correlated indicator pairs, and performing normalization processing to obtain a partial correlation coefficient matrix; applying a nonlinear transformation function to the partial correlation coefficient matrix to obtain a conditional dependence strength matrix.

[0028] Specifically, when dealing with a sparse clinical indicator association network, the graph structure is first decomposed. This process involves traversing each edge in the network, forming the nodes at both ends into a node pair, and finally obtaining a complete set of node pairs. For example, for a network containing n nodes, a nested loop can be used to traverse all possible node combinations, and then a conditional probability table is constructed based on this set of node pairs. For each pair of nodes, their conditional probabilities given all other node values ​​need to be calculated. This can be achieved through frequency statistics. Specifically, each sample in the data set can be traversed, the number of samples that meet a certain condition can be counted, and then divided by the total number of samples to obtain the conditional probability. The time complexity of this process is proportional to the size of the data set and the number of nodes. Next, the Fisher Z transform is applied to the initial conditional probability matrix. This step involves calculating each conditional probability value p as follows: Z = 0.5 * ln((1+p) / (1-p)). This is an element-by-element operation that can be efficiently implemented through matrix operations. For an m×n matrix, then, hypothesis testing is performed based on the Z statistic matrix. This usually involves calculating the p value corresponding to each Z value. In practice, the p-value can be calculated using the cumulative distribution function (CDF) of the standard normal distribution. For example, in Python, this calculation can be implemented using the scipy.stats.norm.cdf() function. Again, this is an element-by-element operation. After obtaining the p-value matrix, a threshold needs to be set to filter out the pairs of indicators that are significantly correlated. This process can be implemented through simple comparison operations. For example, the p-value matrix can be traversed to retain the pairs of indicators whose p-values ​​are less than a preset threshold (such as 0.05) to form a new set. For the significantly correlated pairs of indicators that are screened out, the partial correlation coefficient needs to be calculated. This can be achieved by solving a series of linear equations. Specifically, for each pair of variables, it is necessary to first perform a linear regression on them with all other variables, and then calculate the correlation coefficient between the residuals of the two regressions. This process can be accelerated using matrix operations, but it is still computationally intensive, especially when the number of variables is large. After calculating the partial correlation coefficient, it is normalized. This usually involves dividing each coefficient by the coefficient with the largest absolute value in the matrix to ensure that all values ​​fall within the interval [-1, 1]. This is a simple division operation that can be efficiently implemented using matrix operations. Finally, a nonlinear transformation function is applied to the normalized partial correlation coefficient matrix. This process is also an element-by-element operation that can be efficiently implemented using matrix operations.

[0029] 103. Perform topological structure analysis and community detection on the clinical indicator association network to obtain clinical feature modules and key node sets; In one embodiment of the present invention, the topological structure analysis and community detection of the clinical indicator association network to obtain the clinical characteristic module and the key node set include: calculating the node degree distribution of the clinical indicator association network to obtain a preliminary ranking of node importance, and applying the PageRank algorithm to the clinical indicator association network based on the preliminary ranking of node importance to obtain a node centrality index; screening the nodes of the clinical indicator association network according to the node centrality index to obtain a key node candidate set, and applying the k-core decomposition algorithm to the key node candidate set to obtain a network core-edge structure; performing community detection on the clinical indicator association network based on the network core-edge structure to obtain an initial characteristic module division, and applying the modularity optimization algorithm to the initial characteristic module division to obtain an optimized clinical characteristic module; and evaluating the importance of the key node candidate set according to the optimized clinical characteristic module to obtain a key node set.

[0030] Specifically, the node degree distribution of the clinical indicator association network is calculated. This process involves traversing each node in the network and counting the number of edges directly connected to it. For example, in a network containing indicators such as blood pressure, weight, and age, it may be found that the blood pressure node is connected to multiple other nodes and has a high degree, while some specific laboratory test indicators may only be connected to a few nodes and have a low degree. This calculation can be implemented by a simple traversal algorithm with a time complexity of O(n + m), where n is the number of nodes and m is the number of edges. Based on the calculation results of the node degree, a preliminary ranking of the importance of the nodes can be obtained. However, relying solely on the node degree may not fully reflect the importance of the node in the network, so the PageRank algorithm is further applied to obtain a more accurate node centrality indicator. The PageRank algorithm was originally used for web page sorting, but it is also widely used in complex network analysis. It considers not only the neighboring nodes directly connected to the node, but also the importance of these neighboring nodes. In the clinical context, this means that the importance of an indicator depends not only on the number of indicators it is directly associated with, but also on the importance of these associated indicators themselves. The PageRank algorithm is usually implemented through iterative calculations, and each iteration updates the importance scores of all nodes until convergence or a preset number of iterations is reached. After obtaining the node centrality index, the clinical indicator association network is screened according to these indexes to obtain the key node candidate set. This step can be achieved by setting a threshold and selecting nodes with centrality index higher than the threshold. For example, it may be found that the nodes such as blood sugar level, blood pressure and body mass index have high centrality and are therefore included in the candidate set. Next, the k-core decomposition algorithm is applied to the key node candidate set to obtain the core-edge structure of the network. K-core decomposition is a recursive deletion algorithm that gradually removes nodes with a degree less than k in the network until all nodes in the network have a degree greater than or equal to k. This process can reveal the hierarchical structure of the network and help identify the core and edge parts of the network. In the clinical network, this may highlight some highly interconnected indicator groups that may represent a specific physiological system or disease state. Based on the obtained network core-edge structure, community detection is performed on the clinical indicator association network to obtain the initial feature module division. Community detection aims to find highly interconnected node groups in the network, where the connection density within these groups is higher than the connection density between groups. In the clinical context, these communities may represent interconnected symptom groups, physiological systems or disease subtypes. There are many community detection algorithms to choose from, such as Louvain algorithm, label propagation algorithm, etc. The choice of algorithm usually depends on the size and characteristics of the network. After obtaining the initial feature module division, the modularity optimization algorithm is further applied to optimize this division. Modularity is an indicator of the quality of community division, which compares the connection density within the community in the actual network with the expected connection density in a random network.The optimization process usually involves adjusting the community affiliation of the nodes to maximize the overall modularity. This step can help obtain a more reasonable and stable division of clinical feature modules. Finally, the importance of the key node candidate set is evaluated according to the optimized clinical feature module to obtain the final set of key nodes. This evaluation process can consider multiple factors, such as the centrality of the node in the module to which it belongs, the ability of the node to connect different modules (bridging), etc. For example, it may be found that a biochemical indicator not only occupies a central position in the metabolic module to which it belongs, but also has an important connection with the cardiovascular module, and is therefore identified as a key node.

[0031] 104. Construct a multi-level statistical analysis model based on the clinical feature module, key node set and conditional dependency strength matrix, and input the standardized clinical data set into the multi-level statistical analysis model to obtain the clinical data structure analysis results; In one embodiment of the present invention, the multi-level statistical analysis model is constructed according to the clinical feature module, the key node set and the conditional dependency strength matrix, and the standardized clinical data set is input into the multi-level statistical analysis model to obtain the clinical data structure analysis results, including: performing hierarchical clustering analysis on the clinical feature module to obtain a feature module hierarchy tree; designing a multi-layer neural network structure according to the feature module hierarchy tree and the key node set to obtain an initial multi-layer statistical model framework; initializing the connection weights of the initial multi-layer statistical model framework based on the conditional dependency strength matrix to obtain a weighted multi-layer statistical model; applying a generalized linear model algorithm to the weighted multi-layer statistical model to obtain an intra-module linear relationship model; constructing a hierarchical network according to the intra-module linear relationship model and the feature module hierarchy tree. The generalized additive model is transformed to obtain a nonlinear relationship model between modules; the intra-module linear relationship model and the inter-module nonlinear relationship model are integrated to obtain a multi-level statistical analysis model; the standardized clinical data set is stratified sampled to obtain a training set and a validation set; the training set is input into the multi-level statistical analysis model for parameter learning to obtain model parameter estimation results; the parameter estimation results are cross-validated using the validation set to obtain model performance evaluation indicators; the multi-level statistical analysis model is fine-tuned according to the model performance evaluation indicators to obtain an optimized multi-level statistical analysis model; the standardized clinical data set is input into the optimized multi-level statistical analysis model to obtain clinical data structure analysis results, including feature importance ranking, inter-module association strength and abnormal pattern detection results.

[0032] Specifically, in the process of constructing a multi-level statistical analysis model, the clinical feature modules are first subjected to hierarchical clustering analysis to obtain a hierarchical tree of feature modules. This step uses a hierarchical clustering algorithm, such as agglomerative hierarchical clustering, to gradually merge similar feature modules to form a tree structure. For example, in a data set containing cardiovascular, metabolic, and immune system related indicators, hierarchical clustering may first cluster indicators such as blood pressure and heart rate into one category, and then merge them with indicators such as vascular elasticity to eventually form a large category of the cardiovascular system. Next, a multi-layer neural network structure is designed based on the obtained hierarchical tree of feature modules and the set of key nodes to obtain an initial multi-layer statistical model framework. This step maps the structure of the hierarchical tree to the level of the neural network, with each level corresponding to a layer of the network, and the key nodes are set as special nodes that may have the characteristics of cross-layer connections. For example, if blood glucose level is identified as a key node, it may not only be connected to the metabolic layer, but may also be directly connected to the cardiovascular layer and the immune layer. Then, the connection weights of the initial multi-layer statistical model framework are initialized based on the conditional dependency strength matrix to obtain a weighted multi-layer statistical model. This step uses the previously calculated conditional dependency strength as the initial weight to ensure that the initial state of the model already contains important relationship information in the data. For example, if the conditional dependency strength matrix shows that there is a strong dependency between blood pressure and age, then the weight connecting these two nodes in the model will be initialized to a large value. Apply the generalized linear model algorithm to the weighted multi-layer statistical model to obtain the intra-module linear relationship model. This step applies the generalized linear model inside each module to capture the linear relationship between the indicators inside the module. For example, in the cardiovascular module, a generalized linear model can be used to describe the linear relationship between blood pressure, heart rate and vascular elasticity. Subsequently, a hierarchical generalized additive model is constructed based on the intra-module linear relationship model and the feature module hierarchy tree to obtain the inter-module nonlinear relationship model. This step captures the complex nonlinear relationship that may exist between modules by combining the linear models of different modules in a nonlinear way. For example, the relationship between the cardiovascular module and the metabolic module may be nonlinear, and this complex relationship can be better described by the generalized additive model. The intra-module linear relationship model and the inter-module nonlinear relationship model are integrated to obtain a complete multi-level statistical analysis model. This integration process creates a comprehensive model that captures the detailed relationships within the modules and describes the complex interactions between modules. Next, the standardized clinical data set is stratified sampled to obtain the training set and the validation set. Stratified sampling ensures that the proportions of each subgroup in the training set and the validation set are consistent to avoid sample imbalance problems. For example, in a data set containing patients with multiple diseases, stratified sampling can ensure that the proportion of each disease in the training set and the validation set is similar. The training set is input into the multi-level statistical analysis model for parameter learning to obtain the model parameter estimation results.This process usually uses the back propagation algorithm to optimize the model parameters through multiple iterations to minimize the difference between the model output and the actual data. The parameter estimation results are cross-validated using the validation set to obtain the model performance evaluation index. This step evaluates the generalization ability of the model by testing the model on data that has not participated in the training. Common performance indicators include mean square error, accuracy, AUC, etc., and the specific selection depends on the nature of the task. The multi-level statistical analysis model is fine-tuned according to the model performance evaluation index to obtain the optimized multi-level statistical analysis model. The fine-tuning process may include adjusting the learning rate, changing the network structure, increasing or decreasing regularization, etc., in order to improve the performance of the model on the validation set. Finally, the standardized clinical data set is input into the optimized multi-level statistical analysis model to obtain the clinical data structure analysis results. These results include feature importance ranking, showing the contribution of each clinical indicator to the model prediction; inter-module correlation strength, reflecting the degree of mutual influence between different physiological systems or disease mechanisms; and abnormal pattern detection results, identifying data points or data combinations that are significantly different from the general pattern, which may represent potential health risks or special cases.

[0033] 105. Visualize the results of clinical data structure analysis to obtain a multi-dimensional interactive data visualization interface.

[0034] In one embodiment of the present invention, first, a relationship graph is generated based on a sparse clinical indicator association network. This step uses a force-directed algorithm to arrange network nodes on a two-dimensional plane. The lines between nodes represent the association relationship between indicators, and the thickness of the lines can represent the strength of the association. For example, in this relationship graph, important indicators such as blood pressure, heart rate, and blood sugar may be located in the center of the graph, connected to multiple other indicators, while some relatively independent indicators are located at the edge of the graph. Next, a heat map is displayed for the correlation coefficient matrix. The heat map uses color depth to indicate the strength of the correlation. Usually red indicates positive correlation, blue indicates negative correlation, and the darker the color, the stronger the correlation. This display method can intuitively display the correlation between a large number of variables. For example, in a heat map containing multiple physiological indicators, the strong correlation between blood pressure and indicators such as age and body mass index can be clearly seen. Then, a box plot and a forest plot are generated for the results of the variance analysis. The box plot can display the data distribution between different groups, including the median, quartile range, and outliers, while the forest plot can intuitively display the mean difference and its confidence interval between different groups. The combination of these two graphics can comprehensively display the statistical significance and actual effect size of the differences between groups. For example, when comparing blood pressure levels in different age groups, the box plot can show the blood pressure distribution of each age group, while the forest plot can clearly show the average difference in blood pressure between age groups. For regression coefficients, bar charts and bubble charts are used for display. Bar charts can intuitively compare the size of regression coefficients of different variables, while bubble charts can simultaneously display the size, direction, and statistical significance of regression coefficients. In bubble charts, the size of bubbles indicates the absolute value of the coefficient, the color indicates the positive and negative direction, and transparency can be used to indicate statistical significance. This display method is particularly suitable for displaying the results of multiple regression analysis. For example, when analyzing the factors that affect the length of hospital stay of patients, the relative importance of factors such as age, number of complications, and severity at admission can be clearly seen. The ranking of feature importance is presented through bar charts or heat maps. Bar charts can intuitively compare the importance scores of different features, while heat maps can display the hierarchy between features while showing importance. For example, in a model for predicting the risk of cardiovascular disease, the relative importance of factors such as blood pressure, cholesterol level, and age in prediction can be clearly seen. For the interaction effect, a three-dimensional surface plot is used for drawing. This kind of graph can intuitively show how two independent variables jointly affect the dependent variable. For example, when analyzing how age and blood pressure jointly affect the risk of cardiovascular disease, the three-dimensional surface plot can clearly show how the impact of blood pressure on disease risk changes with age. Finally, the hierarchical structure of the clinical feature module is dynamically displayed in a tree diagram. This display method allows users to expand or collapse nodes at different levels through interactive operations, thereby exploring data structures at different granularities.For example, users can start from the overall physiological system level, then gradually drill down to the specific organ system, and then to the level of individual physiological indicators. By integrating these visualization elements into an interactive dashboard, users can freely explore various relationships and patterns in the data by clicking, dragging, zooming, and other operations. For example, a user can select a specific node in the relationship diagram, and the system will automatically highlight other related nodes and update relevant information in other charts. At the same time, the system can also provide filtering and grouping functions, allowing users to view different subsets of data based on specific conditions (such as age group, gender, disease type, etc.).

[0035] In this embodiment, a standardized clinical data set is obtained by integrating and preprocessing multi-source heterogeneous clinical data; multi-dimensional dimensionality reduction and feature selection are performed on the standardized clinical data set to obtain an optimized clinical feature set; a hybrid undirected graph model is constructed based on the optimized clinical feature set, and the L1 regularization method is used for parameter estimation to obtain a clinical indicator association network and a conditional dependency intensity matrix; topological structure analysis and community detection are performed on the clinical indicator association network to obtain a clinical feature module and a key node set; a multi-level statistical analysis model is constructed, and the standardized clinical data set is input into the model to obtain the clinical data structure analysis results; and the analysis results are visualized. This method can reveal the complex relationship between clinical features, provide support for clinical decision-making, and improve the accuracy and efficiency of clinical data analysis.

[0036] The above describes the statistical analysis method for clinical patients in the embodiment of the present invention. The following describes the statistical analysis device for clinical patients in the embodiment of the present invention. Figure 2 , an embodiment of a statistical analysis device for clinical patients in an embodiment of the present invention comprises: The data feature processing module 201 is used to integrate and preprocess the collected multi-source heterogeneous clinical data to obtain a standardized clinical data set, and perform multi-dimensional dimension reduction and feature selection on clinical features according to the standardized clinical data set to obtain an optimized clinical feature set; A graph construction module 202 is used to construct a hybrid undirected graph model based on the optimized clinical feature set, and use an L1 regularization method to perform parameter estimation on the hybrid undirected graph model to obtain a sparse clinical indicator association network and a conditional dependency strength matrix; An analysis and detection module 203 is used to perform topological structure analysis and community detection on the clinical indicator association network to obtain a clinical feature module and a key node set; A model building input module 204 is used to build a multi-level statistical analysis model according to the clinical feature module, key node set and conditional dependency strength matrix, and input the standardized clinical data set into the multi-level statistical analysis model to obtain clinical data structure analysis results; The visualization module 205 is used to visualize the clinical data structure analysis results to obtain a multi-dimensional interactive data visualization interface.

[0037] In an embodiment of the present invention, the statistical analysis device of the clinical patient runs the statistical analysis method of the clinical patient, and the statistical analysis device of the clinical patient obtains a standardized clinical data set by integrating and preprocessing multi-source heterogeneous clinical data; performs multi-dimensional dimension reduction and feature selection according to the standardized clinical data set to obtain an optimized clinical feature set; constructs a mixed undirected graph model based on the optimized clinical feature set, and uses the L1 regularization method to estimate parameters to obtain a clinical indicator association network and a conditional dependency intensity matrix; performs topological structure analysis and community detection on the clinical indicator association network to obtain a clinical feature module and a key node set; constructs a multi-level statistical analysis model, and inputs the standardized clinical data set into the model to obtain a clinical data structure analysis result; and visualizes the analysis result. This method can reveal the complex relationship between clinical features, provide support for clinical decision-making, and improve the accuracy and efficiency of clinical data analysis.

[0038] above Figure 2 The statistical analysis device for clinical patients in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The statistical analysis device for clinical patients in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0039] Figure 3 3 is a schematic diagram of the structure of a statistical analysis device for clinical patients provided by an embodiment of the present invention. The statistical analysis device 300 for clinical patients may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 310 (for example, one or more processors) and a memory 320, and one or more storage media 330 (for example, one or more mass storage device terminals) storing application programs 333 or data 332. Among them, the memory 320 and the storage medium 330 may be temporary storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the statistical analysis device 300 for clinical patients. Furthermore, the processor 310 may be configured to communicate with the storage medium 330, and execute a series of instruction operations in the storage medium 330 on the statistical analysis device 300 for clinical patients to implement the steps of the above-mentioned statistical analysis method for clinical patients.

[0040] The clinical patient statistics analysis device 300 may also include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input and output interfaces 360, and / or one or more operating systems 331, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 3 The structure of the clinical patient statistical analysis device shown does not constitute a limitation on the clinical patient statistical analysis device provided by the present invention, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0041] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the steps of the statistical analysis method for clinical patients.

[0042] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0043] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0044] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A statistical analysis method for clinical patients, characterized in that: The statistical analysis method for clinical patients includes: Integrate and preprocess the collected multi-source heterogeneous clinical data to obtain a standardized clinical data set, and perform multi-dimensional dimension reduction and feature selection on clinical features based on the standardized clinical data set to obtain an optimized clinical feature set; Constructing a hybrid undirected graph model based on the optimized clinical feature set, and using an L1 regularization method to perform parameter estimation on the hybrid undirected graph model to obtain a sparse clinical indicator association network and a conditional dependency strength matrix; Performing topological structure analysis and community detection on the clinical indicator association network to obtain clinical feature modules and key node sets; Constructing a multi-level statistical analysis model according to the clinical feature module, key node set and conditional dependency strength matrix, and inputting the standardized clinical data set into the multi-level statistical analysis model to obtain clinical data structure analysis results; The clinical data structure analysis results are visualized to obtain a multi-dimensional interactive data visualization interface.

2. The statistical analysis method for clinical patients according to claim 1, characterized in that: The integrated preprocessing of the collected multi-source heterogeneous clinical data to obtain a standardized clinical data set, and multi-dimensional dimension reduction and feature selection of clinical features according to the standardized clinical data set to obtain an optimized clinical feature set includes: Clean and unify the format of the collected multi-source heterogeneous clinical data to obtain a preliminarily processed clinical data set; Constructing a clinical knowledge graph according to the clinical data set, and performing knowledge reasoning and knowledge fusion based on the clinical knowledge graph to obtain an extended clinical knowledge graph; According to the extended clinical knowledge graph, semantic annotation and feature expansion are performed on the collected multi-source heterogeneous clinical data to obtain a semantically enhanced clinical data set; Performing outlier detection and missing value interpolation on the semantically enhanced clinical dataset to obtain a standardized clinical dataset; Perform feature engineering based on the standardized clinical data set and the extended clinical knowledge graph to obtain a candidate feature set; Feature importance evaluation and screening are performed based on the semantic information of the candidate feature set and the extended clinical knowledge graph to obtain an optimized clinical feature set.

3. The statistical analysis method for clinical patients according to claim 1, characterized in that: The hybrid undirected graph model is constructed based on the optimized clinical feature set, and the L1 regularization method is used for parameter estimation to obtain a sparse clinical indicator association network and a conditional dependency strength matrix, including: Performing feature type identification on the optimized clinical feature set to obtain a mixed feature set including continuous variables and discrete variables, and constructing an initial graph structure including continuous-continuous, continuous-discrete, and discrete-discrete variable pairs based on the identified variable types; Designing a parameterized joint probability density function for the initial graph structure, and constructing a hybrid undirected graph model based on the parameterized joint probability density function and the initial graph structure; Constructing a negative log-likelihood function with an L1 regularization term based on the hybrid undirected graphical model to obtain a model optimization objective function; Applying a cross-validation method to the model optimization objective function to obtain an optimal regularization parameter, and applying a proximal gradient descent algorithm to the model optimization objective function based on the obtained optimal regularization parameter to obtain an L1 regularized parameter estimation result; Performing model structure pruning on the hybrid undirected graph model based on the parameter estimation result to obtain a sparse clinical indicator association network; The conditional independence and partial correlation coefficients are calculated for the sparse clinical indicator association network to obtain a conditional dependency strength matrix.

4. The statistical analysis method for clinical patients according to claim 3, characterized in that: The step of constructing an initial graph structure including continuous-continuous, continuous-discrete, and discrete-discrete variable pairs based on the identified variable types includes: Combining the continuous variables and the discrete variables in the mixed feature set in pairs to obtain a continuous-continuous variable pair set, and constructing a Gaussian graph model substructure according to the continuous-continuous variable pair set to obtain a continuous variable association subgraph; Cross-combining the continuous variables and the discrete variables in the mixed feature set to obtain a continuous-discrete variable pair set, and constructing a mixed graph model substructure according to the continuous-discrete variable pair set to obtain a continuous-discrete variable association subgraph; Combining the discrete variables in the mixed feature set in pairs to obtain a discrete-discrete variable pair set, and constructing a discrete model substructure according to the discrete-discrete variable pair set to obtain a discrete variable association subgraph; The continuous variable association subgraph, the continuous-discrete variable association subgraph and the discrete variable association subgraph are merged and topological structure optimized to obtain an initial graph structure.

5. The statistical analysis method for clinical patients according to claim 3, characterized in that: The conditional independence and partial correlation coefficients of the sparse clinical indicator association network are calculated to obtain a conditional dependency strength matrix, which includes: Performing graph structure decomposition on the sparse clinical indicator association network to obtain a node pair set, and constructing a conditional probability table according to the node pair set to obtain an initial conditional probability matrix; Applying Fisher Z transformation to the initial conditional probability matrix to obtain a Z statistic matrix, and performing hypothesis testing based on the Z statistic matrix to obtain a conditional independence p-value matrix; Setting a threshold according to the conditional independence p-value matrix, screening clinical indicator pairs, and obtaining a set of significantly correlated indicator pairs; Calculating partial correlation coefficients for the set of significantly correlated index pairs, and performing normalization processing to obtain a partial correlation coefficient matrix; A nonlinear transformation function is applied to the partial correlation coefficient matrix to obtain a conditional dependence strength matrix.

6. The statistical analysis method for clinical patients according to claim 1, characterized in that: The topological structure analysis and community detection of the clinical indicator association network to obtain the clinical feature module and key node set include: Calculating the node degree distribution of the clinical indicator association network to obtain a preliminary ranking of node importance, and applying the PageRank algorithm to the clinical indicator association network based on the preliminary ranking of node importance to obtain a node centrality index; Screening nodes of the clinical indicator association network according to the node centrality index to obtain a key node candidate set, and applying a k-core decomposition algorithm to the key node candidate set to obtain a network core-edge structure; Performing community detection on the clinical indicator association network based on the network core-edge structure to obtain an initial feature module division, and applying a modularity optimization algorithm to the initial feature module division to obtain an optimized clinical feature module; The importance of the key node candidate set is evaluated according to the optimized clinical feature module to obtain the key node set.

7. The statistical analysis method for clinical patients according to claim 1, characterized in that: The multi-level statistical analysis model is constructed according to the clinical feature module, the key node set and the conditional dependency strength matrix, and the standardized clinical data set is input into the multi-level statistical analysis model to obtain the clinical data structure analysis results, including: Performing hierarchical clustering analysis on the clinical feature modules to obtain a feature module hierarchical tree; Design a multi-layer neural network structure according to the feature module hierarchy tree and key node set to obtain an initial multi-layer statistical model framework; Initializing the connection weights of the initial multi-layer statistical model framework based on the conditional dependency strength matrix to obtain a weighted multi-layer statistical model; Applying a generalized linear model algorithm to the weighted multi-layer statistical model to obtain an intra-module linear relationship model; A hierarchical generalized additive model is constructed according to the intra-module linear relationship model and the feature module hierarchy tree to obtain an inter-module nonlinear relationship model; Integrate the intra-module linear relationship model and the inter-module non-linear relationship model to obtain a multi-level statistical analysis model; Performing stratified sampling on the standardized clinical data set to obtain a training set and a validation set; Inputting the training set into the multi-level statistical analysis model for parameter learning to obtain model parameter estimation results; Cross-validate the parameter estimation results using the validation set to obtain a model performance evaluation index; Fine-tune the multi-level statistical analysis model according to the model performance evaluation index to obtain an optimized multi-level statistical analysis model; The standardized clinical data set is input into the optimized multi-level statistical analysis model to obtain the clinical data structure analysis results, including feature importance ranking, inter-module association strength and abnormal pattern detection results.

8. A statistical analysis device for clinical patients, characterized in that: The statistical analysis device for clinical patients comprises: A data feature processing module is used to integrate and preprocess the collected multi-source heterogeneous clinical data to obtain a standardized clinical data set, and perform multi-dimensional dimension reduction and feature selection on clinical features based on the standardized clinical data set to obtain an optimized clinical feature set; A graph construction module, used to construct a hybrid undirected graph model based on the optimized clinical feature set, and use an L1 regularization method to perform parameter estimation on the hybrid undirected graph model to obtain a sparse clinical indicator association network and a conditional dependency strength matrix; An analysis and detection module is used to perform topological structure analysis and community detection on the clinical indicator association network to obtain a clinical feature module and a key node set; A model building input module, used to build a multi-level statistical analysis model according to the clinical feature module, key node set and conditional dependency strength matrix, and input the standardized clinical data set into the multi-level statistical analysis model to obtain clinical data structure analysis results; The visualization module is used to visualize the clinical data structure analysis results to obtain a multi-dimensional interactive data visualization interface.

9. A statistical analysis device for clinical patients, characterized in that: The clinical patient statistical analysis device comprises: a memory and at least one processor, wherein the memory stores instructions; The at least one processor calls the instructions in the memory to enable the clinical patient statistical analysis device to perform the steps of the clinical patient statistical analysis method according to any one of claims 1 to 7.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by a processor, the steps of the statistical analysis method for clinical patients as described in any one of claims 1-7 are implemented.

Citation Information

Cited By

  • Distributed storage method and system for clinical test data

    CN119323046A

  • Clinical aid decision analysis method and system based on electronic medical record

    CN120748697A

  • Clinical Decision Support Analysis Methods and Systems Based on Electronic Medical Records

    CN120748697B

  • Multidimensional health data processing system and method for medical patients

    CN121565477A

  • A multi-dimensional health data processing system and method for internal medicine patients

    CN121565477B