
This repository contains the R analysis code for the study examining the relationships among food inflation–related nutritional behavior change, food insecurity, and anxiety in 1,042 Turkish adults using a Conditional Gaussian Bayesian Network. The code covers the full analytic pipeline: Gaussian Mixture Model categorization of the EFINUB Food Consumption subscale, descriptive and group-comparison statistics, bootstrap-averaged Bayesian Network structure learning, Markov blanket analysis, conditional probability queries, what-if policy scenarios, sample representativeness checks, and the sensitivity and diagnostic analyses conducted during peer review (continuous-versus-categorized network comparison, conditional Gaussian assumption diagnostics, and bootstrap-threshold justification). Participant-level survey data are not included because the governing ethics approval does not permit public sharing of the questionnaire data; the code is released to allow full inspection and reproduction of the analytic workflow. Analyses were run in R 4.5.2; package versions are documented in the manuscript's Supplementary Material.
