{"doi":"10.2147/nss.s547335","title":"Prevalence and Factors Associated with Insomnia Among Chronic Disease Patients in Bangladesh: A Machine Learning Study","abstract":"Background: Insomnia significantly impairs both mental and physical health, and its bidirectional relationship with chronic diseases exacerbates outcomes for both conditions. While insomnia risk factors are well-studied in general populations, little is known about its prevalence and determinants among chronic disease patients in Bangladesh. Using machine learning (ML) alongside traditional analyses may improve prediction and early identification of insomnia risk in this high-vulnerability group. Methods: This cross-sectional study recruited 1,222 adult chronic disease patients from healthcare facilities in Dhaka and Chattogram between May and November 2024. Insomnia was assessed using the Insomnia Severity Index (ISI-7). Multivariable logistic regression identified significant risk and protective factors. Six ML classifiers, K-Nearest Neighbors (KNN), Random Forest (RF), Support Vector Machine (SVM), Gradient Boosting Machine (GBM), Extreme Gradient Boosting (XGBoost), and Categorical Boosting (CatBoost), were trained and tested (with Synthetic Minority Over-sampling Technique for class imbalance), and model performance was evaluated using accuracy, precision, F1 score, log loss, and the area under the receiver operating characteristic curve (AUC-ROC). Feature importance was determined via SHapley Additive exPlanations (SHAP) and gain values. Results: Insomnia affected 41.3% of patients. Risk factors included female gender, joint family, urban residence, smokeless tobacco and substance use, prolonged daytime napping, late disease onset, presence of other chronic diseases, and unmet mental healthcare needs. Protective factors were physical activity, 7-9 hours of nighttime sleep, met mental healthcare needs, and notably, presence of urinary disease. Among ML models, CatBoost outperformed others (accuracy 71.67%, AUC 77.27%, F1 score 71.23%), followed closely by RF and SVM. Feature importance analysis consistently identified mental healthcare need fulfillment and nighttime sleep duration as the strongest predictors of insomnia. Conclusion: Insomnia was common among Bangladeshi chronic disease patients and linked to sociodemographic, behavioral, clinical, and mental health factors. CatBoost and other ML models showed strong predictive ability, supporting their use in early screening. Prospective studies are needed to validate these findings and guide targeted interventions.","journal":"Nature and Science of Sleep","year":2025,"id":554313,"datarank":0.0,"base_score":0.0,"endowment":0.0,"self_citation_contribution":0.0,"citation_network_contribution":0.0,"self_endowment_contribution":0.0,"citer_contribution":0.0,"corpus_percentile":null,"corpus_rank":null,"citation_count":1,"citer_count":0,"citers_with_citation_signal":0,"citers_with_endowment":0,"datacite_reuse_total":0,"is_dataset":false,"is_dataset_confidence":0.9549,"is_data_producer":false,"deposit_databanks":null,"is_oa":true,"file_count":0,"downloads":0,"has_version_chain":false,"published_date":"2025-01-01","fair_score":null,"fair_percentile":null,"algorithm_id":"datarank_citation_only_1hop_v6","ranking_scope":"data_only","authors":[{"id":1451563,"name":"Mohammad Arif","orcid":"0009-0003-6182-7810","position":1,"is_corresponding":false},{"id":1233472,"name":"Md Emran Hasan","orcid":"0000-0003-0221-1090","position":2,"is_corresponding":false},{"id":1233473,"name":"Moneerah Mohammad ALmerab","orcid":"0000-0003-4987-0309","position":3,"is_corresponding":false},{"id":1451564,"name":"Abdullah Al Habib","orcid":"0009-0009-3508-8093","position":4,"is_corresponding":false},{"id":1233471,"name":"Firoj Al‐Mamun","orcid":"0000-0003-4611-9624","position":5,"is_corresponding":false},{"id":1033355,"name":"Mohammed A. Mamun","orcid":"0000-0002-1728-8966","position":6,"is_corresponding":false},{"id":278385,"name":"David Gozal","orcid":"0000-0001-8195-6036","position":7,"is_corresponding":false},{"id":1451562,"name":"Pronab Das","orcid":"0009-0007-2407-2518","position":0,"is_corresponding":true}],"reference_count":82,"raw_metadata":null,"created_at":"2026-07-19T02:54:50.112989Z","pmid":"41079000","pmcid":null,"fwci":null,"citation_percentile":null,"influential_citations":0,"oa_status":null,"license":null,"views":0,"total_file_size_bytes":0,"version_count":0,"fair_f":null,"fair_a":null,"fair_i":null,"fair_r":null,"fair_zscore":null,"fair_rationale":null,"fair_model":null,"fair_agent_version":null,"fair_fulltext_source":null,"fair_has_llm":null,"fair_computed_at":null,"clinical_trials":[],"software_tools":[],"db_accessions":[],"linked_datasets":[],"topics":[]}