scieee AI-readable full text Open interactive document viewer

A Causal Inference Methodology to Support Research on Osteopenia for Breast Cancer Patients

Kiriakidou, Niki; Ballas, Aristotelis; HERNANDO MELIA, CRISTINA; Miralles-Marco, Ana; Stamati, Teta; Anagnostopoulos, Dimosthenis; Diou, Christos

Abstract

Abstract - Breast cancer is the most common cancer in the world. With a 5-year survival rate of over 90% for patients at the early disease stages, the management of side-effects of breast cancer treatment has become a pressing issue. Observational, real-world data such as electronic health records, insurance claims, or data from wearable devices have the potential to support research on the quality of life (QoL) of breast cancer patients (BCPs), but care must be taken to avoid errors introduced due to data quality and bias. This paper proposes a causal inference methodology for using observational data to support research on the QoL of BCPs, focusing on the osteopenia of patients undergoing treatment with aromatase inhibitors (AIs). We propose a machine learning-based pipeline to estimate the average and conditional average treatment effects (ATE and CATE). For evaluation, we develop a Structural Causal Model for the osteopenia of BCPs and rely on synthetically generated data to study the effectiveness of the proposed methodology under various data challenges. A set of studies were designed to estimate the effect of high-intensity exercise on bone mineral density loss using synthetic datasets of BCPs under AI treatment. Four observational study scenarios were evaluated, corresponding to synthetically generated data of 1000 BCPs with (a) no bias, (b) sampling bias, (c) hidden confounder bias, and (d) bias due to unobserved mediator. In all cases, evaluations were performed under both complete and missing data scenarios. In particular, machine learning-based models based on tree ensembles and neural networks achieved a lower estimation error by 23.8–51.3% and 32.4–89.3% for ATE and CATE, respectively, compared to direct estimation using sample averages. The proposed approach shows improved effectiveness in treatment effect estimation in the presence of missing values and sampling bias, compared to a “traditional” statistical analysis workflow. This suggests that the application of causal effect estimation methods for the study of BCPs’ quality of life using real-world data is promising and worth pursuing further.

Full text

Citation: Kiriakidou, N.; Ballas, A.; Hernando, C.M.; Miralles, A.; Stamati, T.; Anagnostopoulos, D.; Diou, C. A Causal Inference Methodology to Support Research on Osteopenia for Breast Cancer Patients. Appl. Sci. 2024, 14, 9700. https://doi.org/10.3390/ app14219700 Academic Editor: Luigi Portinale Received: 4 September 2024 Revised: 15 October 2024 Accepted: 20 October 2024 Published: 24 October 2024 Copyright: © 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). applied sciences Article A Causal Inference Methodology to Support Research on Osteopenia for Breast Cancer Patients Niki Kiriakidou 1,* , Aristotelis Ballas 1, Cristina Meliá Hernando 2, Anna Miralles 2, Teta Stamati 1, Dimosthenis Anagnostopoulos 1and Christos Diou 1 1Department of Informatics and Telematics, Harokopio University, 177-78 Athens, Greece; [email protected] (A.B.); [email protected] (T.S.); [email protected] (D.A.); [email protected] (C.D.) 2 Instituto de Investigación Sanitaria (INCLIVA), 46010 Valencia, Spain; [email protected] (C.M.H.); [email protected] (A.M.) *Correspondence: [email protected] Abstract: Breast cancer is the most common cancer in the world. With a 5-year survival rate of over 90% for patients at the early disease stages, the management of side-effects of breast cancer treatment has become a pressing issue. Observational, real-world data such as electronic health records, insurance claims, or data from wearable devices have the potential to support research on the quality of life (QoL) of breast cancer patients (BCPs), but care must be taken to avoid errors introduced due to data quality and bias. This paper proposes a causal inference methodology for using observational data to support research on the QoL of BCPs, focusing on the osteopenia of patients undergoing treatment with aromatase inhibitors (AIs). We propose a machine learningbased pipeline to estimate the average and conditional average treatment effects (ATE and CATE). For evaluation, we develop a Structural Causal Model for the osteopenia of BCPs and rely on synthetically generated data to study the effectiveness of the proposed methodology under various data challenges. A set of studies were designed to estimate the effect of high-intensity exercise on bone mineral density loss using synthetic datasets of BCPs under AI treatment. Four observational study scenarios were evaluated, corresponding to synthetically generated data of 1000 BCPs with (a) no bias, (b) sampling bias, (c) hidden confounder bias, and (d) bias due to unobserved mediator. In all cases, evaluations were performed under both complete and missing data scenarios. In particular, machine learning-based models based on tree ensembles and neural networks achieved a lower estimation error by 23.8–51.3% and 32.4–89.3% for ATE and CATE, respectively, compared to direct estimation using sample averages. The proposed approach shows improved effectiveness in treatment effect estimation in the presence of missing values and sampling bias, compared to a “traditional” statistical analysis workflow. This suggests that the application of causal effect estimation methods for the study of BCPs’ quality of life using real-world data is promising and worth pursuing further. Keywords: causal inference; treatment effect estimation; osteopenia; breast cancer 1. Introduction Breast cancer is one of the most common malignancies affecting women worldwide. Several effective treatment options have become available during the past years, which significantly improve the disease outlook, depending on tumor subtype and disease stage [ 1 ]. Despite their proven effectiveness, cancer treatments and especially long-term adjuvant therapies can negatively impact the quality of life of breast cancer patients (BCPs) [ 2 ], including physical and emotional side-effects. One particular example is hormone receptorpositive BCPs undergoing adjuvant endocrine therapy, such as aromatase inhibitor (AI) treatment [ 3 , 4 ]. It has been shown that these treatments lead to bone mineral density (BMD) loss [ 5 ], significantly increasing the incidence of fractures in this patient group. Nonpharmacological exerciseand lifestyle-based preventive strategies are preferred, since Appl. Sci. 2024,14, 9700. https://doi.org/10.3390/app14219700 https://www.mdpi.com/journal/applsci Appl. Sci. 2024,14, 9700 2 of 26 these do not affect the patients’ outcomes; however, their effectiveness is not clear and further study has been suggested [ 6 ]. Real-world data (RWD) offer a rich and valuable information source that can help support clinical research in this direction, especially when considering the effect of non-pharmacological and lifestyle factors on the quality of life of patients. RWD refers to data produced and collected for non-research purposes, which can also be exploited for providing valuable insights into patients’ characteristics, possible treatment patterns, progression of diseases as well as treatment outcomes. Additionally, RWD provide researchers, clinicians and policymakers with the opportunity to identify patterns, trends and associations, which may not be evident in controlled settings, enabling the generation of real-world evidence [ 7 ]. This is especially relevant when it comes to research questions related to the quality of life of patients suffering from chronic diseases, as the outcome is determined by multiple interacting variables that are difficult to control. The most common sources of RWD include information from electronic health records (EHRs) of patients’ interaction with the healthcare system, insurance claims, population health surveys, registry and biobank data as well as data obtained via wearable and Internet-of-Things devices, which are used for lifestyle or telehealth purposes [ 8 – 10 ]. It is worth mentioning that such RWD are observational by nature, since they are acquired from existing records, with researchers having no control over the interventions performed on the subjects (if any), in contrast to data generated in controlled clinical trials [ 11 ]. On the other hand, RWD present the opportunity to study larger populations, including diverse patient groups. Over the last years, the potential of RWD has been increasingly explored for inferring causal relationships and measuring treatment effects between variables of interest (see [ 12 ] as well as the overviews [ 13 , 14 ]). Despite the wealth of information offered by RWD, they are also subject to several types of bias and quality issues that present challenges in drawing safe and trustworthy inferences. Examples include representation bias (i.e., underrepresentation of certain population subgroups in the available data), measurement bias, missing data, variations in data collection practices, coding errors and inconsistencies across different sources, which are some of the challenges that may affect the validity of the analysis results. Another challenge when using RWD for causal inference is the presence of confounding factors (observed or unobserved), which affect both the outcome and the treatment variables and can lead to incorrect treatment effect estimation if they are not properly handled. Thus, ensuring data quality through data curation processes [ 15 ] is a necessary step for reliable analysis and causal inference drawn from RWD. The REBECCA project (https://rebeccaproject.eu/, accessed on 1 April 2021 ) aims at leveraging different types of RWD to facilitate research on the quality of life of breast cancer patients (BCPs). This also includes the study of osteopenia and osteoporosis from AI treatment in BCPs, as previously mentioned. In this work, we present the REBECCA data analysis workflow, a general methodology for handling real-world and observational data for research on breast cancer-induced chronic conditions as well the quality of life of BCPs and use the study of osteopenia in BCPs undergoing AI treatment as a use case. The goal is to develop a process for estimating causal effects from observational data suffering from data quality issues, as is the case with RWD. To facilitate the evaluation of the proposed methodology, it is important to know the data generating process and have access to ’ground truth’ data. For this reason, the methodology presented in this paper is evaluated on synthetically generated data. In detail, we generated a synthetic dataset of BCPs under AI treatment using a model developed based on the bibliography, in collaboration with experts from the INCLIVA Health Research Institute in Valencia, Spain. The main contributions of this work include the following: • A proposal and detailed presentation of a workflow for handling noisy observational data (such as RWD) to facilitate research on BCPs’ quality of life, including machine learning-based (ML) methods for causal effect estimation. Appl. Sci. 2024,14, 9700 3 of 26 • A causal graph associated with determinants of osteopenia and osteoporosis in patients undergoing AI treatment, which is used for synthetic data generation in the experiments. • A set of experiments simulating different data analysis challenges, to demonstrate the application and effectiveness of the proposed workflow. The remainder of this paper is organized as follows: Section 2introduces the necessary background and a summary of relevant research, while Section 3provides a description of all stages of the proposed REBECCA data analysis workflow. Section 4outlines the causal directed acyclic graph on osteopenia/osteoporosis, including the development process. Section 5provides a thorough presentation of numerical experiments based on a set of use case scenarios for the demonstration of the proposed data analysis workflow. Finally, Section 6summarizes and discusses the main contributions and limitations of the present paper, along with several interesting directions for future work. 2. Background and Relevant Research 2.1. Causal Effects The main objective of the proposed methodology is to provide accurate estimations of causal effects from RWD. In detail, we are interested in calculating the effect of an intervention or a treatment on the outcome of interest. For the purpose of our study, we consider the case of a binary treatment variable. Formally, let xi∈ X be the covariates in the covariate space, ti∈ { 0, 1 } the (binary) treatment assignment and y(xi , ti) the outcome of interest for subject or unit i , with i=1, 2, . . . , n . Each unit can be assigned into a control or treatment group, denoted as ti= 0 and ti= 1, respectively. Under the Neyman–Rubin potential outcome framework [ 16 ] and depending on the unit’s assigned group, we can either measure the outcome y(xi , 0 ) or the outcome y(xi , 1 ) , which stands for the factual outcome for i . The fundamental problem of causal inference is that we cannot observe and measure what the outcome would have been if unit i had been assigned to the other group. This outcome is known as the counterfactual outcome, or simply counterfactual, and needs to be estimated to calculate the effect of the treatment on an individual level. Specifically, the individual treatment effect (ITE) for unit i is defined as the difference of the outcomes in the treatment and control groups, ITE =y(xi, 1)−y(xi, 0)(1) The challenge in this case lies in providing an accurate estimate, ˆ y(xi , ti) , of the unobserved counterfactual outcome. For measuring the accuracy of the estimated ITE, we use the Precision in Estimation of Heterogeneous Effect (PEHE), which is defined as follows: PEHE =1 n n ∑ i=1 [(y(xi, 1)−y(xi, 0)) −(ˆ y(xi, 1)−ˆ y(xi, 0))]2(2) Given that each sample in the dataset is represented by its covariates, this problem can be approximated via the conditional average treatment effect (CATE), that is CATE(x) = E[y(X, 1)−y(X, 0)|X=x](3) where X is a random variable corresponding to the vector of covariates for each sample. If estimators ˆ y(x, 0)and ˆ y(x, 1)are available, then the CATE can be estimated as ˆ CATE(x) = 1 n n ∑ i=1 (ˆ y(xi, 1)−ˆ y(xi, 0))(4) Additionally, when interested in measuring the causal effects on a population level, the average treatment effect (ATE) is defined by ATE =E[y(X, 1)−y(X, 0)](5) Appl. Sci. 2024,14, 9700 4 of 26 which can be estimated as ˜ ATE =1 n1 n1 ∑ i=1 y(xi, 1)−1 n0 n0 ∑ i=1 y(xi, 0)(6) where n1 and n0 are the number of samples in the treatment and the control group, respectively. After the estimation of the missing counterfactual outcomes, the average treatment effect is estimated as ˆ ATE =1 n n ∑ i=1 [ˆ y(xi, 1)−ˆ y(xi, 0)] (7) To quantify the effectiveness of causal effect estimation at the population level (assuming both outcomes are available in the evaluation data), we use the absolute error on the ATE, defined by |ϵATE|= 1 n n ∑ i=1 [y(xi, 1)−y(xi, 0)] −1 n n ∑ i=1 [ˆ y(xi, 1)−ˆ y(xi, 0)] (8) 2.2. Randomized Controlled Trials for Causal Inference Randomized Controlled Trials (RCTs) are considered to be the gold standard for inferring cause-and-effect relationships between a treatment or an intervention and an outcome of interest [ 17 ], since the randomization of participants in the control and treatment group cancels out the effects of confounding variables. This ensures that any observed differences between the two groups are due to the applied intervention. There are several limitations and disadvantages to conducting RCTs. They require significant cost in terms of resources and time [ 18 ], introducing limitations on the number of enrolled participants as well as on the total duration of the studies. Furthermore, RCTs are often conducted in controlled settings, which may not reflect real-world conditions, leading to unrepresentative results for the whole population [ 19 ]. Finally, ethical restrictions are also a significant barrier for conducting RCTs, especially if the assignment of participants in the control group could result in mistreatment [ 17 ] (e.g., if the intervention already has a known benefit for participants). Such limitations are particularly pronounced in studies related to the quality of life of BCPs, since they largely depend on the behavior of patients in their daily lives, e.g., their physical activity habits and the available psychosocial support [ 2 ], which cannot be easily controlled. Therefore, researchers seek ways to leverage readily available observational RWD to study factors affecting the quality of life of BCPs and to estimate the effects of interventions. 2.3. Real-World Data RWD are often accompanied by various challenges and complications, spanning from data quality management to data analysis methods. A characteristic of RWD is that they are observational, in contrast to data gathered from RCTs, and we are able to induce various forms of bias in the analyses. 2.3.1. RWD and Bias RWD can suffer from several types of biases including (but not limited to) systematic, sampling/representation and confounding bias. A representative example of systematic bias is the underestimation of physical activity if monitoring devices (such as mobile phones and smartwatches) are not used continuously. Sampling or representation bias may also be included in the data, since subgroups of patients in the underlying population are often under-represented or over-represented. An additional type of bias commonly encountered in observational RWD is confounding bias [ 20 ]. A confounder is a variable which affects both the intervention or treatment variable as well as the study variable and, hence, there is a distortion in the measure of Appl. Sci. 2024,14, 9700 5 of 26 association between the variables of interest due to the additional effect of the confounder. It is also important to be aware of possible unobserved confounders, which might affect the causal relationship of the intervention and study variables. To address these issues, several methods for bias estimation have been proposed in the literature [ 21 ]. Through bias estimation, the sources of bias can be identified and appropriate mitigation measures can be considered. These methods enable us to quantify bias in an inference model and assess the reliability of the model. 2.3.2. RWD and Data Quality Another big challenge in working with RWD is missing data, which can occur due to both human (e.g., omission, neglect, and lack of time) and technical limitations or deficiencies (e.g., device communication and stopped recordings). A common example in the case of research on BCP quality of life includes patients who choose to not answer quality of life questionnaires, or answer only a subset of the questions. These types of errors are often handled using statistical and machine learning imputation strategies. Another common issue is data heterogeneity, where data originating from different structured or unstructured sources do not use the same encoding, even when referring to the same variables. Such data need to be mapped to a common representation format for analysis. Data heterogeneity may also originate from the use of different measurement methods and/or devices, creating the need for robust and reliable frameworks [ 22 ]. For example, IMU sensors of commercial smartwatches have different sampling rates, which may lead to differences in physical activity estimates. 2.4. Structural Causal Models One approach to the analysis of observational data, including RWD, is the use of Structural Causal Models (SCMs) [ 23 ]. SCMs are mathematical models that answer questions of causality and conceptualize the hidden underlying “causal story” of a dataset. SCMs consist of two sets of variables, the exogenous variables U , whose values are determined by external factors, and the endogenous variables V , whose values are determined by the model. Moreover, SCMs include a set of functions f that assigns each variable in V a value, based on the values of the other variables in the model [ 24 ]. SCMs correspond to directed acyclic graphs (DAGs), where each node of the SCM represents a variable and each edge connecting two nodes represents a causal relationship between the variables. Using a SCM, a practitioner or a researcher can translate how and which features for a specific case interact with each other. SCMs have been previously applied for the analysis of observational data in various disciplines. For example, Arif and MacNeil [ 25 ] used SCMs as a framework to overcome the limitations of inferring causality from observational data in the field of ecology. They highlighted that the use of statistical analysis of observational data leads to biased estimation of causal effects and instead proposed the use of DAGs to represent the causal structure of each problem. By applying graphical rules, such as the backdoor and frontdoor criteria [ 23 ], researchers can determine the necessary statistical adjustments for establishing causal relationships from observational data. Finally, they present simulated examples in which they demonstrate how the use of these criteria can provide accurate causal estimates in the field of ecology, without relying on randomized experiments. Reinhold et al. [ 26 ] presented the application of SCMs in precision medicine. In particular, they highlighted the necessity of answering causal questions (e.g., what is the response of a patient when different treatments are issued) and mentioned that SCMs can be leveraged for causal reasoning. The authors focused on the development of a SCM that captures the interactions between demographic information, disease covariates and magnetic resonance (MR) images of the brain in patients with multiple sclerosis. Using the SCM, the authors generated counterfactual images depicting how an MR image of the brain would appear if certain demographic or disease factors were altered. These counterfactual Appl. Sci. 2024,14, 9700 6 of 26 images have applications in modeling disease progression and can be utilized in downstream image processing tasks where it is necessary to control for confounding variables. Petersen and van der Laan [ 27 ] highlighted the importance of asking causal questions in the field of epidemiology and underlined the potential benefits of using formal frameworks for causal inference. In particular, the significance of causality lies in the fact that we can identify and intervene with the best way in the root cause of something, rather than simply spotting a pattern or a behavior. Following this reasoning, the authors focused on using SCMs, since their flexibility enables them to state valid assumptions and, thus, lead to the development of a causal model which can describe the true data-generating process. Overall, they aimed to emphasize the utility of causal thinking when conducting a statistical analysis, to clarify the capabilities and limitations of SCMs as well as to provide an overview of SCMs as a powerful tool offered to be used in the field of epidemiology. Finally, it is clearly stated that the judicious use of a causal framework can significantly enhance the quality of epidemiological research and improve research in various disciplines relying on statistics to understand how the world functions. 2.5. Machine Learning Models for Treatment Effect Estimation Alongside SCMs, purely data-driven machine learning models have been proposed in the bibliography to directly estimate the various types of treatment effects, introduced in Section 2.1, without the use of DAGs. Following a Bayesian non-parametric approach, Chipman et al. [ 28 ] developed a Bayesian “sum-of-trees” model, named Bayesian Additive Regression Trees (BART). The BART approach fits a parameter-rich model by using a strongly influential prior distribution. Specifically, the model uses the sum of trees to approximate the average value of the outcomes given a set of covariates, E[Y|x] . The main idea behind BART is to impose a prior, which regularizes the fit by keeping the individual tree effects small in order to elaborate the sum-of-trees model. Additionally, BART uses a tailored version of Bayesian back-fitting Markov Chain Monte Carlo [29] for fitting the sum-of-trees model. Künzel et al. [ 30 ] proposed two methodologies, named S-learner and T-learner, for the accurate estimation of treatment effects. S-learner estimates the outcomes by using all the features of the dataset, along with the treatment as an additional feature. Notice that the treatment indicator is handled by the base learner like any other feature; hence, it does not play any special role in the estimation of the effects. In contrast, T-learner utilizes two independent models: one trained on the treated data to predict outcomes under treatment and the other one on the control data to predict outcomes without treatment. Next, the treatment effect is then estimated by subtracting the predicted outcome for the control model from the predicted outcome for the treatment model. In the literature, a variety of causal inference models were proposed based on T-learner and S-learner methodologies using a variety of ML models as base learners, providing some interesting results [30,31]. Shalit at al. [ 32 ] proposed a new framework for estimating individual treatment effects, named Counterfactual Regression (CFR). This framework uses a prediction model, focusing on learning a balanced representation of the control and treatment groups. Under this balanced representation, the distributions of the two groups are considered to be similar. Specifically, the authors used two different integral probability metrics, Wasserstein (Wass) distance [ 33 ] and Maximum Mean Discrepancy (MMD) [ 34 ], for calculating the distances between the treatment and control distributions, as well as proposed a generalization bound for estimating the individual treatment effect. In addition, the authors demonstrated the performance of the proposed models, CFR (MMD) and CFR (Wass), which stand for MMD and Wass distances, respectively, and compared their performance with state-of-theart models. Finally, they proposed a variant without balance regularization, the neural network-based model TARNet. Shi et al. [ 35 ] proposed a neural network-based model for the estimation of treatment effects, named Dragonnet. The authors mainly focused on the use of observational data Appl. Sci. 2024,14, 9700 7 of 26 for treatment effect estimation, giving special attention to the average and individual level. The proposed model aimed to improve these estimations by exploiting the propensity score’s sufficiency. Additionally, the authors proposed targeted regularization, which is based on non-parametric estimation theory and focuses on reducing the bias of the estimator, therefore further improving the estimation of treatment effects. The presented experiments provided evidence about the superiority of Dragonnet over TARNet, CFR (MMD) and CFR (Wass) on a variety of challenging causal inference benchmark datasets. In more recent works, Kiriakidou and Diou [ 36 , 37 ] proposed NN-Dragonnet for estimating treatment effects, which consists of a modification of the neural network-based model Dragonnet. The rationale behind the development of this model is to capture information not only from the covariates of the samples, but also from the average outcomes of neighboring instances from both treatment and control groups. In simple words, the proposed model utilizes the average of the nearest outcomes of each instance from both control and treatment groups along with the covariates as inputs. The authors evaluated the performance of NN-Dragonnet on three collections of datasets using three different Minkowski distance metrics (i.e., Euclidean, Manhattan and Chebyshev) for the calculation of nearest neighboring instances. Their numerical experiments demonstrated that NN-Dragonnet achieves lower PEHE values than Dragonnet and TARNet models, which implies that it can be used for improved estimation of the CATE. 3. Proposed Methodology To address the limitations and challenges underlined in Section 2, we propose a methodology for using data collected in uncontrolled settings, as is the case with RWD, for clinical research purposes. This methodology has been developed in the context of the REBECCA project and is summarized in Figure 1. Figure 1. REBECCA data analysis workflow. 3.1. Stage 1: Collection of Real-World Data The first stage of the proposed data workflow is “RWD collection”. Data sources include case report forms, smartwatch and smartphone measurements as well as elements of online activity data collected from BCPs. Specifically, the case report forms consist of clinical variables providing background information for each patient, including demographic data, tumor characteristics and the associated treatment, medication information, additional medical and immunization history and finally results of clinical and medical examinations. In addition, data can include Appl. Sci. 2024,14, 9700 8 of 26 questionnaires, which are used to measure multidimensional aspects of BCPs’ quality of life, including their physical, social, emotional as well as functional well-being. Regarding the smartwatch, smartphone and online activity monitoring data, these are used along with indicator extraction algorithms [ 38 – 40 ] to provide objective measurements of the individual physical and online behavior of the patients. Data collection may include different sources with different data representations. All data are mapped to a common data model and representation format, which includes all variables of interest. 3.2. Stage 2: Data Curation The second stage of the proposed data workflow is the “Data curation” stage. This is an essential step in the process of data handling, since it involves removing errors and inconsistencies in the data to ensure that they are accurate and reliable so the analysis can be continued. These errors may include typos, missing values and outliers, while inconsistencies can include duplicate data or an inconsistent data format. Many of these issues can be addressed in an automated way. The following functionalities can facilitate this stage: 1. Missing data imputation: Several machine learning-based imputation strategies exist that attempt to estimate the missing values, such as Bayesian Ridge Regression [ 41 ], k-Nearest Neighbors [42], Random Forests [43] and Extra-Trees [44]. 2. Outlier detection: These methods identify data anomalies, which significantly differ from other observations or data trends and can be attributed to measurement errors or data entry errors. In the literature, the Isolation Forest [ 45 ], Local Outlier Factor [ 46 ] and One-Class Support Vector Machine [ 47 ] algorithms constitute some of the most popular outlier detection methods. 3. Partial measurement estimation: In several cases, the overall behavior of an individual needs to be inferred from partial measurements. For instance, users may provide measurements through smartwatches for only part of the day, or may not use their smartwatch for some activities, thus requiring estimation of overall physical activity. 4. Measurement error and bias quantification: This component augments measurements with metadata related to the possible error and bias of the measurements. This information will assist in subsequent data analysis tasks, e.g., by providing confidence intervals through sensitivity analysis. The outcome of the “Data curation” stage is curated datasets, which can be used for data analysis and statistical and causal inference. 3.3. Stage 3: Model Development The third stage of the REBECCA workflow is “Model Development”, which is focused on encoding existing domain knowledge into a directed acyclic graph (DAG), which in turn represents the causal associations between the variables under consideration in the study. The developed DAG is then used in combination with the data available from the previous stage to develop a Structural Causal Model (SCM). The resulting SCM quantifies, in a functional way, the causal variable relations. This stage may also incorporate purely data-driven ML models, which are trained for estimating the ATE and CATE, using the available collected data. 3.3.1. SCM for Osteopenia and Osteoporosis Figure 2presents the developed DAG for the “Osteopenia and Osteoporosis” use case, which aims to study various factors contributing to bone mineral density (BMD) loss (and increased risk of fractures) in BCPs, especially for those who undergo AI treatment. For measuring the variable BMD loss, we consider the T-score. The value of the T-score [ 48 ] on a patient’s bone density report suggests the difference, in standard deviations, from the bone mineral density of the average of healthy 30-year-old women. According to the World Health Organization (WHO), normal ranges are between − 1.0 and +4, while a T-score Appl. Sci. 2024,14, 9700 9 of 26 between − 2.5 and − 1.0 is considered to indicate low bone density, or else osteopenia. Finally, a T-score below − 2.5 indicates that the patient has osteoporosis. The functional relationships between the linked variables are learned from the available data, resulting in a model that can be used to assess the effect of various QoL-related parameters on BMD loss. Details regarding the DAG are provided in Section 4.1 and in the Appendix A. In this paper, the DAG is used for data generation purposes, to synthesize the dataset used in the experiments. Figure 2. Causal DAG for osteopenia/osteoporosis. A causal directed acyclic graph (DAG) is a graphical tool used for visually representing the causal connections between a set of variables. In our case, the set of variables are relevant to the clinical study for osteopenia/osteoporosis, as a result of treating breast cancer with aromatase inhibitors, in the context of the REBECCA project. 3.3.2. Data-Driven Causal Inference Models Besides the SCMs, the proposed workflow also includes ML-based approaches for treatment effect estimation, ranging from traditional linear models to tree-based (R-Forest and BART) and neural network-based models (TARNet, Dragonnet and NN-Dragonnet). In contrast to SCMs, ML models do not directly encode any knowledge about the causal relationships between variables and aim at directly estimating the values of the outcome with and without treatment, given a set of known covariates. Depending on the level of existing knowledge about the underlying causal mechanisms, these values may prove to be more accurate than SCMs for the estimation of causal effects, at the cost of lower interpretability. The decision on the approach to use (SCM, possibly with model training to learn the function at each node vs purely data-driven models) depends on the specific problem and on data availability. Appl. Sci. 2024,14, 9700 16 of 26 6. Discussion and Conclusions In this work, we propose a data analysis workflow, which is developed in the context of the REBECCA project. The main objective is to present a methodology on how to handle RWD and provide accurate and reliable estimations of causal effects for research on the quality of life of BCPs. The proposed methodology consists of the stages of data collection, data curation (including data imputation and outlier detection), model development, treatment effect estimation and finally, the presentation of results. Issues related to data quality as well as sampling, confounding and other biases have an impact on the accuracy of treatment effect estimation. To demonstrate and evaluate the proposed approach, we developed a causal DAG for the case of osteopenia and osteoporosis, which is a comorbidity of AI treatment in postmenopausal BCPs. Specifically, we used the DAG and an associated SCM to generate synthetic datasets and then we applied the proposed workflow to several use case scenarios, including cases with missing values as well as sampling and confounding biases. Based on the results of the experimental analysis, the proposed approach achieves significantly higher estimation accuracy, compared to direct computation of the ATE, in cases where bias is present. This implies that the use of ML models for causal inference is beneficial, since they provide lower estimation errors. The experimental analysis results suggest that there is promise in using automated methods for data quality control and causal effect estimation for studying factors affecting the quality of life of BCPs. The synthetic data used in this study were carefully designed based on established relationships from the literature on clinical trials, as well as input from domain experts (see Appendixes Aand B). This approach helped in ensuring that the generated data faithfully represent realistic clinical scenarios and the underlying mechanisms involved. Nevertheless, even though the generated data may not capture some of the complexity and the nuances of real patient data, they highlight the challenges that arise when attempting to estimate treatment effects on the quality of life of BCPs. Generally, synthetic data offer substantial benefits in addressing the lack of real-world datasets, especially in cases such as the inherent absence of the counterfactual outcomes [ 69 ]. However, the synthetic data generation process carries the risk of introducing biases, either from the assumptions made in defining relationships or from the algorithm used to generate the data. To the best of our knowledge, there are no available causal inference datasets for studying the comorbidity of osteopenia and osteoporosis; hence, an evaluation for ensuring that key statistical properties of the RWD are preserved by the generated synthetic is impossible. This can be considered as a limitation of this approach, since the generated synthetic data may not fully capture the complexity of RWD. An elegant approach for addressing this difficulty will certainly be included in our future research. In this research, we focused our attention on the estimation of the ATE and CATE, which constitute quantitative measures of how treatments perform on average and for specific subgroups. It is worth highlighting the importance of translating the findings made from the estimation of these metrics into hypotheses for future research as well as clinical practice for supporting clinicians in making more informed, patient-specific treatment decisions. However, this is not possible due to the lack of available real-world data. In our future work, we intend to seek and obtain real BC patient data from clinical trials for assessing the quality of the generated synthetic data. In addition, we will focus our attention on developing methods that combine the data-driven causal effect estimation models with Structural Causal Models, as well as methods for model validation and testing. Finally, another interesting direction is the enhancement of SCMs for multiple comorbidities of breast cancer, which need to be developed to support holistic, multi-level interventions to improve the quality of life of patients. Author Contributions: Conceptualization, N.K., A.B. and C.D.; methodology, N.K., A.B. and C.D.; software, N.K. and A.B.; validation, N.K., A.B. and C.D.; formal analysis, N.K., A.B., C.M.H., A.M., T.S., D.A. and C.D.; investigation, N.K., A.B. and C.D.; resources, N.K., A.B. and C.D.; data curation, Appl. Sci. 2024,14, 9700 17 of 26 N.K. and A.B.; writing—original draft, N.K., A.B., C.M.H., A.M., T.S., D.A. and C.D.; writing—review and editing, N.K., A.B., C.M.H., A.M., T.S., D.A. and C.D.; visualization, N.K.; supervision N.K. and C.D.; project administration, C.D.; funding acquisition, C.D. All authors have read and agreed to the published version of the manuscript. Funding: The work leading to these results received funding from the European Union’s Horizon 2020 research and innovation programme under Grant Agreement No. 965231, project REBECCA (REsearch on BrEast Cancer induced chronic conditions supported by Causal Analysis of multisource data). Institutional Review Board Statement: Not applicable. Informed Consent Statement: Not applicable. Data Availability Statement: The original data presented in the study are openly available in GitHub at https://github.com/kiriakidou/A-Causal-Inference-Methodology-to-Support-Researchon-Osteopenia-for-Breast-Cancer-Patients (accessed on 19 October 2024). Conflicts of Interest: The authors declare no conflict of interest. Appendix A. DAG Variables Next, we present all the links between the variables of the DAG along with an explanation for the connection of the corresponding nodes. • Age → Menopause: This is an obvious relationship, since age in the majority of the cases indicates whether the woman is pre-menopausal or post-menopausal. • Age → Estrogens: According to Lephart [ 70 ] estrogen levels peak in the mid-to-late 20s in women and then decline by 50% by 50 years of age and dramatically decrease further after menopause. • Age → Bone Mineral Density (BMD) loss: BMD loss increases as a person gets older [71]. • Menopause → Aromatase Inhibitor (AI) treatment: Only post-menopausal women undergo AI treatment [72]. • Menopause → Estrogens: Estrogen levels in post-menopausal women drop and they no longer ovulate [70]. • AI treatment → Estrogens: AI treatment specifically targets estrogens and, thus, accelerates their deprivation [70]. • Family History (patient’s ethnicity) → Estrogens: According to Visvanathan and Yager [ 73 ], there are variations in the estrogen levels of breast cancer patients among different ethnicities. • Body Mass Index (BMI) → Estrogens: Clinicians advise was that BMI is a good indication of whether the patients have better eating and exercising behavior. • Heritage → Estrogens: Clinicians informed us that genetics, mainly if the mother of the patient had osteoporosis or had a limb fracture, has an effect on estrogen levels, which afterwards lead to a reduction in BMD. • Estrogens → Calcitonin: Calcitonin is proposed as mediator of estrogen action, as is mentioned in [74]. • Estrogens → Mood: Based on Thompson and Reilly [ 75 ], a lack of estrogens worsens the patient’s mood. • Estrogens → Abdominal Fat Accumulation: Low levels of estrogens can contribute to women gaining fat in the belly area [76]. • Estrogens → Energy/Fatigue: Clinicians informed us that a lack of estrogens lowers the patient’s levels of energy and, thus, causes fatigue. • Estrogens → Sleep quality: Clinicians highlighted that information about sleep is crucial for studying the case of osteopenia and osteoporosis. As is indicated in Gava et al. [77], low estrogen levels cause sleep disturbances. Appl. Sci. 2024,14, 9700 18 of 26 • Estrogens → Ability to concentrate: The research of Hara et al. [ 78 ] suggests that estrogen levels have an impact on memory and cognition. Hence, low estrogen levels lead to difficulty in concentrating. • Estrogens → Hot flashes: Clinicians underlined that a lack of estrogens have a negative impact on patients’ hot flashes . • Estrogens → Libido: Clinicians highlighted that a lack of estrogens decreases patients’ libido. • Estrogens → Depression: The research of Studd [ 79 ] indicates that low estrogen levels are associated with depression. • Exercise → Mood: Research of Hoffman and Hoffman [ 80 ] reveals that exercise leads to an improvement in mood. • Exercise → Abdominal Fat Accumulation: Clinicians discussed that if a person does more intense exercise, then there is probability for less abdominal fat accumulation. • Exercise →Energy/Fatigue: Intense exercise lead to fatigue, as is stated in [81]. • Exercise → Sleep quality: The research of Hargens et al. [ 82 ] indicates that exercise decreases patients’ sleep complaints as well as insomnia. • Exercise → Ability to concentrate: The research of Falkai et al. [ 83 ] suggests that mild exercise can improve the ability to concentrate. • Exercise → Hot flashes: The research of Romani et al. [ 84 ] indicates that higher levels of physical activity are significantly associated with increasing odds of moderate or severe hot flashes. • Exercise → Libido: Moderate exercise is linked to increases in libido, while excessive exercise is linked to lower libido, as is supported in [85]. • Exercise → Depression: According to Mead et al. [ 86 ], exercise seems to improve the symptoms of depression. • Exercise → Bone Turnover: Results of the study of Gombos et al. [ 87 ] are consistent with previous reports in the literature indicating that the force generated by muscle contraction contribute to stimulating bone resorption. • Calcitonin → Calcium in blood: The main function of calcitonin is the decreasing of calcium levels in the blood [88]. • Calcium supplement → Calcium in blood: When the patient receives calcium supplementation, it leads to higher calcium levels in the blood. • Vit. D in Blood → Calcium in blood: Low vitamin D levels inhibit the absorption of calcium in the blood and, hence, lead to a low level of calcium in the blood [89]. • Nutrition rich in calcium → Calcium in blood: Receiving more calcium through nutrition leads to higher calcium levels in the blood. • Alcohol consumption → Calcium in blood: One of the clinical symptoms of chronic alcohol consumption the decrease in calcium in the blood, as is supported in the research in [90]. • Diabetes → Vit. D in Blood: Vitamin D deficiency is associated with a decreased insulin release, based on Mitri et al. [91]’s research. • Vit. D supplement → Vit. D in Blood: When the patient receives vitamin D supplementation, this leads to higher vitamin D levels in the blood. • Calcium in blood → Bone Turnover: Calcium is essential for bone formation, as is reported in [92]. • Cigarettes per day → Bone Turnover: According to Trevisan et al. [ 93 ], smoking negatively affects bone health and, hence, reduces the formation of bones. • Parathormone(PTH) → Bone Turnover: PTH stimulates the release of calcium in an indirect process through osteoclasts, which ultimately leads to the resorption of the bones, as is supported in [94]. • Bone Turnover → C-Telopeptides: Increased levels of C-Telopeptides indicate increased bone resorption, based on Ju et al. [95]. Appl. Sci. 2024,14, 9700 19 of 26 Appendix B. Functional Relationships of Synthetic Data Generator Each variable in the DAG is associated with one of the following four functions: •identity →The value of this variable is set beforehand; •randint →A random integer is selected from a range of predefined values; •normal →A random value drawn from a normal gaussian distribution; • variable name → Custom functions defined specifically for the generation of these variables; • parametric → The value of the variable depends on the generated values of all incoming nodes. Specifically, given that some variables (x1 , x2 , . . . , xn) directly affect a variable y in the causal DAG, the output value of y is of course dependent on the outputs of its parents, along with some inherent to the parent variables and exogenous noise factors u. Therefore, we generate the output of yas y=∑n iaixiui+U. The parameters of each function were based on values found in the literature, taking into consideration the context of the use cases described in the manuscript (i.e., menopausal women under aromatase inhibitor treatment). All relationships are described in the Table A1, where N(µ , σ2) refers to noise drawn from a normal Gaussian distribution. In addition, the custom functions for each variable mentioned in Table A1 are defined below. For the BMD Loss function, we differentiate between the following cases: Case 1: Low Exercise →the function is as follows: bmd loss =−0.1 ·calcium 10 −formation 3· N (0.5, 1) + resorption 3+age −50 50 · N (0.5, 1) +N(0.5, 0.5) + max(pa, 1) 4· N (1, 0.5) + 0.5 Case 2: Intense Exercise →the function is as follows: bmd loss =−0.1 ·calcium 10 −formation 3· N (0.5, 1) + resorption 3+age −50 50 · N (0.5, 1) +N(0.5, 0.5)−pa 4· N (0.5, 0.5) For Back Pain: back pain =     randint(0, 1), if bmd loss =0 randint(2, 3), if bmd loss =1 randint(3, 4), if bmd loss =2 For the Calcium in Blood function, we differentiate between the following cases: Case 1: No Calcium Supplementation calc in blood =max (−0.9)alcohol ·(1.1)nutri ·vit_d 20 +N(1, 1)·bone_res 2+N(1, 1),N(0.5, 1) Case 2: Calcium Supplementation calc in blood =max 6.5 +10.2 −8.5 50 −20 ·(−0.9)alcohol ·(1.1)nutri ·vit_d 20 +N(1, 1)·bone_res 2+N(1, 1), 7.5 +N(1, 1) For the generation of the Estrogens level, we calculate the following. Let (g(f,b,r, aroma, factor) be defined as follows: g(f,b,r, aroma, factor) = −factor ·(1.1)f·(1.1)r·(0.9)b·(1.9)aroma Appl. Sci. 2024,14, 9700 20 of 26 Case 1: Pre-menopausal patient u=max(abs(N(50, 5)−age), 1) f1=400 +g(family, bmi, heritage, ai, 9.3)·u Case 2: Menopausal patient u=max(abs(age − N (60, 10)), 1) f1=30 +g(family, bmi, heritage, ai, 2.31)·u Table A1. Functional relationships in synthetic data generator. Node Parent Node xiFunction Parameters ai,uiand Uor Value Abdominal Fat Accumulation Estrogens parametric a1=−1/370, u1=1, U∼N(1, 2) Exercise parametric a2=−1, u2=1, U∼N(1, 2) Ability to concentrate Estrogens parametric a1=1/370, u1=1, U∼N(0, 2) Exercise ordinal a2=1, u2=1, U∼N(0, 2) Age normal N(60, 10) AI treatment Menopause identity 1 Alcohol Consumption randint (0, 4) Back pain BMD loss Back pain Function described below BMD Loss Calcium in blood, Bone formation, Bone resorption, Age, Exercise, Calcium supplement BMD loss Function described below BMI randint (0, 2) Bone Formation Calcium in blood parametric a1=2, u1=2, U∼N(1, 1) Calcitonin parametric a2=−1/4, u2=1, U∼N(1, 1) Cigarettes per day parametric a3=−1, u3=U∼N(0.5, 1), U∼N(1, 1) Bone resorption Calcitonin parametric a1=1/2, u1=1, U∼N(0, 1) Exercise parametric a2=2, u2=1, U∼N(0, 1) PTH parametric a3=1, u3=U∼N(0.5, 1), U∼N(0, 1) Calcitonin Estrogens parametric a1=10/370, u1=1, U∼N(2, 1) Calcium in Blood Alcohol consumption, Calcium Supplement, Calcitonin, Nutrition rich in calcium, Vit D in Blood calcium in blood Function described below Calcium Supplement identity 0 Cigarettes per day randint (0, 3) Clinical Symptoms Estrogens, Exercise randint (0, 1) C-Telopeptides Bone resorption normal N(500, 100) Appl. Sci. 2024,14, 9700 21 of 26 Table A1. Cont. Node Parent Node xiFunction Parameters ai,uiand Uor Value Depression Estrogens parametric a1=1/370, u1=1, U∼N(0, 2) Exercise parametric a2=−1, u2=1, U∼N(0, 2) Diabetes randint (0, 1) Energy Loss/Fatigue Estrogens, Exercise randint (0, 4) Estrogens Family history, BMI, Heritage, AI treatment, Menopause, Age estrogens Function described below Family history randint (0, 1) Heritage randint (0, 1) Libido Estrogens parametric a1=1/370, u1=1, U∼N(0, 2) Exercise parametric a2=1/370, u2=1, U∼N(0, 2) Menopause Age identity 1 Mood Estrogens, Exercise normal N(0, 1) Number of fractures BMD Loss fractures Function described below Nutrition rich in calcium randint (0, 4) Exercise randint (0, 3) PTH normal N(35, 10) Sleep quality Estrogens parametric ordinal a1=1, u1=1, U∼N(−1, 1) Exercise parametric ordinal a2=1/370, u2=1, U∼N(−1, 1) Vit D in Blood Vit D Supplement, Diabetes Vit D in blood Function described below Vit D Supplement randint (0, 1) The final estrogen level is given by estrogens =max((f1), 0 +abs(N(0.5, 1))) For Number of fractures: number of fractures =     randint(0, 1), if bmd loss =0 randint(2, 3), if bmd loss =1 randint(3, 4), if bmd loss =2 For the generation of the Vit. D in Blood values, we calculate the following: Case 1: No Vit. D supplementation a=200 −140 15 −5 f=max((20 −a·diabetes)− N (2, 1), 0) Case 2: Vit. D Supplementation a=140 −10 50 −20 f=max(30 −a·diabetes +N(0.5, 1), 0) The final levels of vitamin D are given by vit d in blood =max(f, abs(N(0.5, 1))) Appl. Sci. 2024,14, 9700 22 of 26 Appendix C. Hyperparameter Values Used in the Experiments Table A2. Hyperparameter values of each method in the experiments. Model Hyperparameters R-Forest n_estimators =100, criterion = ‘gini’, max_depth =None, min_samples_split =2 and min_samples_leaf =1. BART n_trees =100, n_chains =4, σa=10−3,σb=10−3,α=0.95 and β=2. TARnet Topology: Three dense layers of 200 neurons with ELU activation function for producing the representation layer Z(X). The output of Z(X)is further processed by two dense layers of 100 neurons each with ELU activation function and kernel regularizer of 10−2for the prediction of the outcome of the control group and a similar branch for the treatment group. Dragonnet Topology: Three dense layers of 200 neurons with ELU activation function for producing the representation layer Z(X). The output of Z(X)is further processed by two dense layers of 100 neurons each with ELU activation function and kernel regularizer of 10−2for the prediction of the outcome of the control group and a similar branch for the treatment group. In addition, the shared representation Z(X)is used for predicting the propensity score, through the use of a simple linear map followed by a sigmoid activation function. NN-Dragonnet Topology: Three dense layers of 200 neurons with ELU activation function for producing the representation layer Z(X). Next, the output of Z(X)is concatenated with the average of the neighboring instances of control(treatment) group and the combined information is further processed by two dense layers of 100 neurons each with ELU activation function and kernel regularizer of 10−2for the prediction of the outcome of the control(treatment) group. In addition, the shared representation Z(X)is used for predicting the propensity score, through the use of a simple linear map followed by a sigmoid activation function. Notice that all neural network-based models were trained for 100 epochs using ADAM (Adaptive Moment Estimation) as the optimizer with a learning rate of 10 −3 and then for another 300 epochs using SGD (Stochastic Gradient Descent) as the optimizer with a learning rate of 10 −5 and momentum m= 0.9. In addition, the utilized loss function was t-reg with α= 1 and β= 1, while 20% of the training data were used as the validation set. References 1. Waks, A.G.; Winer, E.P. Breast Cancer Treatment: A Review. JAMA 2019,321, 288–300. [CrossRef] [PubMed] 2. Mokhatri-Hesari, P.; Montazeri, A. Health-related quality of life in breast cancer patients: Review of reviews from 2008 to 2018. Health Qual. Life Outcomes 2020,18, 338. [CrossRef] [PubMed] 3. Akram, M.; Iqbal, M.; Daniyal, M.; Khan, A.U. Awareness and current knowledge of breast cancer. Biol. Res. 2017,50, 33. [CrossRef] [PubMed] 4. Macedo, L.F.; Sabnis, G.; Brodie, A. Aromatase inhibitors and breast cancer. Ann. N. Y. Acad. Sci. 2009,1155, 162–173. [CrossRef] [PubMed] 5. Diana, A.; Carlino, F.; Giunta, E.F.; Franzese, E.; Guerrera, L.P.; Di Lauro, V.; Ciardiello, F.; Daniele, B.; Orditura, M. Cancer treatment–induced bone loss (CTIBL): State of the art and proper Management in Breast Cancer Patients on endocrine therapy. Curr. Treat. Options Oncol. 2021,22, 45. [CrossRef] 6. Nikander, R.; Sievänen, H.; Heinonen, A.; Daly, R.M.; Uusi-Rasi, K.; Kannus, P. Targeted exercise against osteoporosis: A systematic review and meta-analysis for optimising bone strength throughout life. BMC Med. 2010,8, 47. [CrossRef] 7. Chen, J.; Ho, M.; Lee, K.; Song, Y.; Fang, Y.; Goldstein, B.A.; He, W.; Irony, T.; Jiang, Q.; van der Laan, M.; et al. The current landscape in biostatistics of real-world data and evidence: Clinical study design and analysis. Stat. Biopharm. Res. 2021,15, 29–42. [CrossRef] 8. Bellows, B.K.; Kuo, K.L.; Biltaji, E.; Singhal, M.; Jiao, T.; Cheng, Y.; McAdam-Marx, C. Real-world evidence in pain research: A review of data sources. J. Pain Palliat. Care Pharmacother. 2014,28, 294–304. [CrossRef] 9. Dhruva, S.S.; Ross, J.S.; Akar, J.G.; Caldwell, B.; Childers, K.; Chow, W.; Ciaccio, L.; Coplan, P.; Dong, J.; Dykhoff, H.J.; et al. Aggregating multiple real-world data sources using a patient-centered health-data-sharing platform. NPJ Digit. Med. 2020,3, 60. [CrossRef] 10. Pintelas, E.; Livieris, I.E.; Barotsis, N.; Panayiotakis, G.; Pintelas, P. An autoencoder convolutional neural network framework for sarcopenia detection based on multi-frame ultrasound image slices. In Proceedings 17, Proceedings of the Artificial Intelligence Applications and Innovations: 17th IFIP WG 12.5 International Conference, AIAI 2021, Hersonissos, Crete, Greece, 25–27 June 2021; Springer: Berlin/Heidelberg, Germany, 2021; pp. 209–219. Appl. Sci. 2024,14, 9700 23 of 26 11. Concato, J. Observational versus experimental studies: What’s the evidence for a hierarchy? NeuroRx 2004,1, 341–347. [CrossRef] 12. Schneeweiss, S.; Rassen, J.A.; Glynn, R.J.; Avorn, J.; Mogun, H.; Brookhart, M.A. High-dimensional propensity score adjustment in studies of treatment effects using health care claims data. Epidemiology 2009,20, 512. [CrossRef] [PubMed] 13. Bica, I.; Alaa, A.M.; Lambert, C.; Van Der Schaar, M. From real-world patient data to individualized treatment effects using machine learning: Current and future methods to address underlying challenges. Clin. Pharmacol. Ther. 2021,109, 87–100. [CrossRef] [PubMed] 14. Liu, F.; Panagiotakos, D. Real-world data: A brief review of the methods, applications, challenges and opportunities. BMC Med. Res. Methodol. 2022,22, 287. [CrossRef] [PubMed] 15. Liu, B.; Zhou, X.; Wang, Y.; Hu, J.; He, L.; Zhang, R.; Chen, S.; Guo, Y. Data processing and analysis in real-world traditional Chinese medicine clinical data: Challenges and approaches. Stat. Med. 2012,31, 653–660. [CrossRef] [PubMed] 16. Rubin, D.B. Causal inference using potential outcomes: Design, modeling, decisions. J. Am. Stat. Assoc. 2005,100, 322–331. [CrossRef] 17. Listl, S.; Jürges, H.; Watt, R.G. Causal inference from observational data. Community Dent. Oral Epidemiol. 2016,44, 409–415. [CrossRef] 18. Hariton, E.; Locascio, J.J. Randomised controlled trials—The gold standard for effectiveness research. BJOG Int. J. Obstet. Gynaecol. 2018,125, 1716. [CrossRef] 19. Rothwell, P.M. Factors that can affect the external validity of randomised controlled trials. PLoS Clin. Trials 2006,1, e9. [CrossRef] 20. Groenwold, R.H.; Van Deursen, A.M.; Hoes, A.W.; Hak, E. Poor quality of reporting confounding bias in observational intervention studies: A systematic review. Ann. Epidemiol. 2008,18, 746–751. [CrossRef] 21. Mehrabi, N.; Morstatter, F.; Saxena, N.; Lerman, K.; Galstyan, A. A survey on bias and fairness in machine learning. ACM Comput. Surv. (CSUR) 2021,54, 1–35. [CrossRef] 22. Ballas, A.; Diou, C. Towards Domain Generalization for ECG and EEG Classification: Algorithms and Benchmarks. IEEE Trans. Emerg. Top. Comput. Intell. 2023,8, 44–54. [CrossRef] 23. Pearl, J. Causality; Cambridge University Press: Cambridge, UK, 2009. 24. Glymour, M.; Pearl, J.; Jewell, N.P. Causal Inference in Statistics: A Primer; John Wiley & Sons: Hoboken, NJ, USA, 2016. 25. Arif, S.; MacNeil, M.A. Applying the structural causal model framework for observational causal inference in ecology. Ecol. Monogr. 2023,93, e1554. [CrossRef] 26. Reinhold, J.C.; Carass, A.; Prince, J.L. A structural causal model for MR images of multiple sclerosis. In Proceedings, Part V 24, Proceedings of the Medical Image Computing and Computer Assisted Intervention—MICCAI 2021: 24th International Conference, Strasbourg, France, 27 September–1 October 2021; Springer: Berlin/Heidelberg, Germany, 2021; pp. 782–792. 27. Petersen, M.L.; van der Laan, M.J. Causal models and learning from data: Integrating causal modeling and statistical estimation. Epidemiology 2014,25, 418. [CrossRef] [PubMed] 28. Chipman, H.A.; George, E.I.; McCulloch, R.E. BART: Bayesian additive regression trees. Ann. Appl. Stat. 2010,4, 266–298. [CrossRef] 29. Hastie, T.; Tibshirani, R. Bayesian backfitting (with comments and a rejoinder by the authors. Stat. Sci. 2000,15, 196–223. [CrossRef] 30. Künzel, S.R.; Sekhon, J.S.; Bickel, P.J.; Yu, B. Metalearners for estimating heterogeneous treatment effects using machine learning. Proc. Natl. Acad. Sci. USA 2019,116, 4156–4165. [CrossRef] 31. Alaa, A.; Schaar, M. Limits of estimating heterogeneous treatment effects: Guidelines for practical algorithm design. In Proceedings of the International Conference on Machine Learning, PMLR, Stockholm, Sweden, 10–15 July 2018; pp. 129–138. 32. Shalit, U.; Johansson, F.D.; Sontag, D. Estimating individual treatment effect: Generalization bounds and algorithms. In Proceedings of the 34th International Conference on Machine Learning, Sydney, Australia, 6–11 August 2017; Volume 70, pp. 3076–3085. 33. Villani, C. Optimal Transport: Old and New; Springer: Berlin/Heidelberg, Germany, 2009; Volume 338. 34. Gretton, A.; Borgwardt, K.M.; Rasch, M.J.; Schölkopf, B.; Smola, A. A kernel two-sample test. J. Mach. Learn. Res. 2012, 13, 723–773. 35. Shi, C.; Blei, D.; Veitch, V. Adapting neural networks for the estimation of treatment effects. In Proceedings of the Advances in Neural Information Processing Systems 32, Vancouver, BC, Canada, 8–14 December 2019; Volume 32. 36. Kiriakidou, N.; Diou, C. An improved neural network model for treatment effect estimation. In Proceedings, Part I, Proceedings of the Artificial Intelligence Applications and Innovations: 18th IFIP WG 12.5 International Conference, AIAI 2022, Hersonissos, Crete, Greece, 17–20 June 2022; Springer: Berlin/Heidelberg, Germany, 2022; pp. 147–158. 37. Kiriakidou, N.; Diou, C. Integrating nearest neighbors on neural network models for treatment effect estimation. Int. J. Neural Syst. 2023,33. [CrossRef] 38. Diou, C.; Kyritsis, K.; Papapanagiotou, V.; Sarafis, I. Intake monitoring in free-living conditions: Overview and lessons we have learned. Appetite 2022,176, 106096. [CrossRef] Appl. Sci. 2024,14, 9700 24 of 26 39. Kyritsis, K.; Diou, C.; Delopoulos, A. A data driven end-to-end approach for in-the-wild monitoring of eating behavior using smartwatches. IEEE J. Biomed. Health Inform. 2020,25, 22–34. [CrossRef] 40. Sarafis, I.; Diou, C.; Delopoulos, A. Behaviour profiles for evidence-based policies against obesity. In Proceedings of the 2019 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Berlin, Germany, 23–27 July 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 3596–3599. 41. Loesgen, K. A generalization and Bayesian interpretation of ridge-type estimators with good prior means. Stat. Pap. 1990, 31, 147–154. [CrossRef] 42. Fix, E.; Hodges, J.L. Discriminatory analysis. Nonparametric discrimination: Consistency properties. Int. Stat. Rev. Int. Stat. 1989, 57, 238–247. [CrossRef] 43. Breiman, L.; Cutler, A. Random forests. Mach. Learn. 2001,45, 5–32. [CrossRef] 44. Geurts, P.; Ernst, D.; Wehenkel, L. Extremely randomized trees. Mach. Learn. 2006,63, 3–42. [CrossRef] 45. Liu, F.T.; Ting, K.M.; Zhou, Z.H. Isolation forest. In Proceedings of the 2008 Eighth IEEE International Conference on Data Mining, Pisa, Italy, 15–19 December 2008; IEEE: Piscataway, NJ, USA, 2008; pp. 413–422. 46. Breunig, M.M.; Kriegel, H.P.; Ng, R.T.; Sander, J. LOF: Identifying density-based local outliers. In Proceedings of the 2000 ACM SIGMOD International Conference on Management of Data, Dallas, TX, USA, 15–18 May 2000; pp. 93–104. 47. Schölkopf, B.; Platt, J.C.; Shawe-Taylor, J.; Smola, A.J.; Williamson, R.C. Estimating the support of a high-dimensional distribution. Neural Comput. 2001,13, 1443–1471. [CrossRef] 48. Carey, J.J.; Delaney, M.F. T-scores and Z-scores. Clin. Rev. Bone Miner. Metab. 2010,8, 113–121. [CrossRef] 49. Ferstad, J.O.; Vallon, J.J.; Jun, D.; Gu, A.; Vitko, A.; Morales, D.P.; Leverenz, J.; Lee, M.Y.; Leverenz, B.; Vasilakis, C.; et al. Population-level management of type 1 diabetes via continuous glucose monitoring and algorithm-enabled patient prioritization: Precision health meets population health. Pediatr. Diabetes 2021,22, 982–991. [CrossRef] 50. Prahalad, P.; Ding, V.Y.; Zaharieva, D.P.; Addala, A.; Johari, R.; Scheinker, D.; Desai, M.; Hood, K.; Maahs, D.M. Teamwork, targets, technology, and tight control in newly diagnosed type 1 diabetes: The pilot 4T study. J. Clin. Endocrinol. Metab. 2022, 107, 998–1008. [CrossRef] 51. Zaharieva, D.P.; Bishop, F.K.; Maahs, D.M. Advancements and future directions in the teamwork, targets, technology, and tight control—The 4T study: Improving clinical outcomes in newly diagnosed pediatric type 1 diabetes. Curr. Opin. Pediatr. 2022, 34, 423–429. [CrossRef] 52. Smith, I.E.; Dowsett, M. Aromatase inhibitors in breast cancer. N. Engl. J. Med. 2003,348, 2431–2442. [CrossRef] 53. Brueggemeier, R.W.; Hackett, J.C.; Diaz-Cruz, E.S. Aromatase inhibitors in the treatment of breast cancer. Endocr. Rev. 2005, 26, 331–345. [CrossRef] [PubMed] 54. Martinez, V.; Navarro, C.; Cano, C.; Fajardo, W.; Blanco, A. DrugNet: Network-based drug–disease prioritization by integrating heterogeneous data. Artif. Intell. Med. 2015,63, 41–49. [CrossRef] [PubMed] 55. Zheng, K.; Harris, C.E.; Jennane, R.; Makrogiannis, S. Integrative blockwise sparse analysis for tissue characterization and classification. Artif. Intell. Med. 2020,107, 101885. [CrossRef] 56. Amkrane, Y.; El Adoui, M.; Benjelloun, M. Towards breast cancer response prediction using artificial intelligence and radiomics. In Proceedings of the 2020 5th International Conference on Cloud Computing and Artificial Intelligence: Technologies and Applications (CloudTech), Marrakesh, Morocco, 24–26 November 2020; IEEE: Piscataway, NJ, USA, 2020; pp. 1–5. 57. Shaikh, K.; Krishnan, S.; Thanki, R.M. Artificial Intelligence in Breast Cancer Early Detection and Diagnosis; Springer: Berlin/Heidelberg, Germany, 2021. 58. Louizos, C.; Shalit, U.; Mooij, J.M.; Sontag, D.; Zemel, R.; Welling, M. Causal effect inference with deep latent-variable models. In Proceedings of the Advances in Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; Volume 30. 59. Kiriakidou, N.; Livieris, I.E.; Pintelas, P. Mutual information-based neighbor selection method for causal effect estimation. Neural Comput. Appl. 2024,36, 9141–9155. [CrossRef] 60. Montgomery, D.C.; Peck, E.A.; Vining, G.G. Introduction to Linear Regression Analysis; John Wiley & Sons: Hoboken, NJ, USA, 2021. 61. Manaye, S.; Cheran, K.; Murthy, C.; Bornemann, E.A.; Kamma, H.K.; Alabbas, M.; Elashahab, M.; Abid, N.; Franchini, A.P.A.; Elashahab, M. The Role of High-intensity and High-impact Exercises in Improving Bone Health in Postmenopausal Women: A Systematic Review. Cureus 2023,15, e34644. [CrossRef] 62. Zehnacker, C.H.; Bemis-Dougherty, A. Effect of weighted exercises on bone mineral density in post menopausal women a systematic review. J. Geriatr. Phys. Ther. 2007,30, 79–88. [CrossRef] 63. Cadore, E.L.; Brentano, M.A.; Kruel, L.F.M. Effects of the physical activity on the bone mineral density and bone remodelation. Rev. Bras. Med. Esporte 2005,11, 373–379. [CrossRef] 64. Aleksi´c, D. A novel test of missing completely at random: U-statistics-based approach. Statistics 2024,58, 1004–1023. [CrossRef] 65. Barata, A.P.; Takes, F.W.; van den Herik, H.J.; Veenman, C.J. Imputation methods outperform missing-indicator for data missing completely at random. In Proceedings of the 2019 International Conference on Data Mining Workshops (ICDMW), Beijing, China, 8–11 November 2019; IEEE: Piscataway, NJ, USA, 2019; pp. 407–414. 66. Livieris, I.E. A novel forecasting strategy for improving the performance of deep learning models. Expert Syst. Appl. 2023, 230, 120632. [CrossRef] Appl. Sci. 2024,14, 9700 25 of 26 67. Kistler-Fischbacher, M.; Yong, J.S.; Weeks, B.K.; Beck, B.R. High-intensity exercise and geometric indices of hip bone strength in postmenopausal women on or off bone medication: The MEDEX-OP randomised controlled trial. Calcif. Tissue Int. 2022, 111, 256–266. [CrossRef] 68. Cosman, F.; de Beur, S.J.; LeBoff, M.; Lewiecki, E.; Tanner, B.; Randall, S.; Lindsay, R. Clinician’s guide to prevention and treatment of osteoporosis. Osteoporos. Int. 2014,25, 2359–2381. [CrossRef] [PubMed] 69. Kiriakidou, N.; Livieris, I.E.; Diou, C. C-XGBoost: A tree boosting model for causal effect estimation. In Proceedings of the IFIP International Conference on Artificial Intelligence Applications and Innovations, Corfu, Greece, 27–30 June 2024; Springer: Cham, Switzerland, 2024; pp. 58–70. 70. Lephart, E.D. A review of the role of estrogen in dermal aging and facial attractiveness in women. J. Cosmet. Dermatol. 2018, 17, 282–288. [CrossRef] 71. Khosla, S. Pathogenesis of age-related bone loss in humans. J. Gerontol. Ser. Biomed. Sci. Med. Sci. 2013,68, 1226–1235. [CrossRef] [PubMed] 72. Gibson, L.; Lawrence, D.; Dawson, C.; Bliss, J. Aromatase inhibitors for treatment of advanced breast cancer in postmenopausal women. Cochrane Database Syst. Rev. 2009,2009, CD003370. 73. Visvanathan, K.; Yager, J.D. Ethnic Variations in Estrogen and Its Metabolites: Sufficient to Explain Differences in Breast Cancer Incidence Rates? J. Natl. Cancer Inst. 2016,108, djw147. [CrossRef] [PubMed] 74. Agnusdei, D.; Civitelli, R.; Camporeale, A.; Gennari, C. Calcitonin and estrogens. J. Endocrinol. Investig. 1990,13, 625–630. [CrossRef] [PubMed] 75. Thompson, E.A.; Reilly, D. The homeopathic approach to the treatment of symptoms of oestrogen withdrawal in breast cancer patients. A prospective observational study. Homeopathy 2003,92, 131–134. [CrossRef] [PubMed] 76. Babaei, P.; Dastras, A.; Tehrani, B.S.; Roudbaneh, S.P. The effect of estrogen replacement therapy on visceral fat, serum glucose, lipid profiles and apelin level in ovariectomized rats. J. Menopausal Med. 2017,23, 182–189. [CrossRef] 77. Gava, G.; Orsili, I.; Alvisi, S.; Mancini, I.; Seracchioli, R.; Meriggiola, M.C. Cognition, mood and sleep in menopausal transition: The role of menopause hormone therapy. Medicina 2019,55, 668. [CrossRef] 78. Hara, Y.; Waters, E.M.; McEwen, B.S.; Morrison, J.H. Estrogen effects on cognitive and synaptic health over the lifecourse. Physiol. Rev. 2015,95, 785–807. [CrossRef] 79. Studd, J. Estrogens and depression in women. In Women’s Health in Menopause: Behaviour, Cancer, Cardiovascular Disease, Hormone Replacement Therapy; Springer Science & Business Media: Dordrecht, The Netherlands, 1994; pp. 229–231. 80. Hoffman, M.D.; Hoffman, D.R. Exercisers achieve greater acute exercise-induced mood enhancement than nonexercisers. Arch. Phys. Med. Rehabil. 2008,89, 358–363. [CrossRef] [PubMed] 81. Ament, W.; Verkerke, G.J. Exercise and fatigue. Sport. Med. 2009,39, 389–422. [CrossRef] [PubMed] 82. Hargens, T.A.; Kaleth, A.S.; Edwards, E.S.; Butner, K.L. Association between sleep disorders, obesity, and exercise: A review. Nat. Sci. Sleep 2013,5, 27–35. [CrossRef] [PubMed] 83. Falkai, P.; Schmitt, A.; Rosenbeiger, C.P.; Maurus, I.; Hattenkofer, L.; Hasan, A.; Malchow, B.; Heim-Ohmayer, P.; Halle, M.; Heitkamp, M. Aerobic exercise in severe mental illness: Requirements from the perspective of sports medicine. Eur. Arch. Psychiatry Clin. Neurosci. 2022,272, 643–677. [CrossRef] [PubMed] 84. Romani, W.A.; Gallicchio, L.; Flaws, J.A. The association between physical activity and hot flash severity, frequency, and duration in mid-life women. Am. J. Hum. Biol. Off. J. Hum. Biol. Assoc. 2009,21, 127–129. [CrossRef] 85. Guay, A.T.; Spark, R.F.; Bansal, S.; Cunningham, G.R.; Goodman, N.F.; Nankin, H.R.; Petak, S.M.; Perez, J.B.; Law, B.; Garber, J.R. American Association of Clinical Endocrinologists medical guidelines for clinical practice for the evaluation and treatment of male sexual dysfunction: A couple’s problem–2003 update. Endocr. Pract. 2003,9, 77–95. [CrossRef] 86. Mead, G.E.; Morley, W.; Campbell, P.; Greig, C.A.; McMurdo, M.; Lawlor, D.A. Exercise for depression. Cochrane Database Syst. Rev. 2008,8, CD004366. 87. Gombos, G.C.; Bajsz, V.; Pék, E.; Schmidt, B.; Sió, E.; Molics, B.; Betlehem, J. Direct effects of physical training on markers of bone metabolism and serum sclerostin concentrations in older adults with low bone mass. BMC Musculoskelet. Disord. 2016,17, 254. [CrossRef] 88. Copp, D.H.; Cameron, E.; Cheney, B.A.; Davidson, A.G.F.; Henze, K. Evidence for calcitonin—a new hormone from the parathyroid that lowers blood calcium. Endocrinology 1962,70, 638–649. [CrossRef] 89. Staud, R. Vitamin D: More than just affecting calcium and bone. Curr. Rheumatol. Rep. 2005,7, 356–364. [CrossRef] 90. Rylander, R.; Megevand, Y.; Lasserre, B.; Amstutz, W.; Granbom, S. Moderate alcohol consumption and urinary excretion of magnesium and calcium. Scand. J. Clin. Lab. Investig. 2001,61, 401–405. [CrossRef] [PubMed] 91. Mitri, J.; Muraru, M.; Pittas, A. Vitamin D and type 2 diabetes: A systematic review. Eur. J. Clin. Nutr. 2011,65, 1005–1015. [CrossRef] [PubMed] 92. Dorozhkin, S.V. Calcium orthophosphates. J. Mater. Sci. 2007,42, 1061–1095. [CrossRef] 93. Trevisan, C.; Alessi, A.; Girotti, G.; Zanforlini, B.M.; Bertocco, A.; Mazzochin, M.; Zoccarato, F.; Piovesan, F.; Dianin, M.; Giannini, S. The impact of smoking on bone metabolism, bone mineral density and vertebral fractures in postmenopausal women. J. Clin. Densitom. 2020,23, 381–389. [CrossRef]