Statistical models for analyzing count data: predictors of length of stay among HIV patients in Portugal using a multilevel model
- PMID: 33882911
- PMCID: PMC8061202
- DOI: 10.1186/s12913-021-06389-1
Statistical models for analyzing count data: predictors of length of stay among HIV patients in Portugal using a multilevel model
Abstract
Background: This study offers a comprehensive approach to precisely analyze the complexly distributed length of stay among HIV admissions in Portugal.
Objective: To provide an illustration of statistical techniques for analysing count data using longitudinal predictors of length of stay among HIV hospitalizations in Portugal.
Method: Registered discharges in the Portuguese National Health Service (NHS) facilities Between January 2009 and December 2017, a total of 26,505 classified under Major Diagnostic Category (MDC) created for patients with HIV infection, with HIV/AIDS as a main or secondary cause of admission, were used to predict length of stay among HIV hospitalizations in Portugal. Several strategies were applied to select the best count fit model that includes the Poisson regression model, zero-inflated Poisson, the negative binomial regression model, and zero-inflated negative binomial regression model. A random hospital effects term has been incorporated into the negative binomial model to examine the dependence between observations within the same hospital. A multivariable analysis has been performed to assess the effect of covariates on length of stay.
Results: The median length of stay in our study was 11 days (interquartile range: 6-22). Statistical comparisons among the count models revealed that the random-effects negative binomial models provided the best fit with observed data. Admissions among males or admissions associated with TB infection, pneumocystis, cytomegalovirus, candidiasis, toxoplasmosis, or mycobacterium disease exhibit a highly significant increase in length of stay. Perfect trends were observed in which a higher number of diagnoses or procedures lead to significantly higher length of stay. The random-effects term included in our model and refers to unexplained factors specific to each hospital revealed obvious differences in quality among the hospitals included in our study.
Conclusions: This study provides a comprehensive approach to address unique problems associated with the prediction of length of stay among HIV patients in Portugal.
Keywords: Count data analysis; HIV; Hospital performance; Length of stay (LOS); Multilevel model#; Quality indicator; Random - effects model.
Conflict of interest statement
The authors declare no conflict of interest.
Figures




Similar articles
-
Risk of Readmission Among HIV Patients in Public Portuguese Hospitals: Longitudinal Multilevel Population-Based Study.Front Public Health. 2020 Feb 21;8:15. doi: 10.3389/fpubh.2020.00015. eCollection 2020. Front Public Health. 2020. PMID: 32154201 Free PMC article.
-
HIV/AIDS length of stay in Portugal under financial constraints: a longitudinal study for public hospitals, 2009-2014.BMC Health Serv Res. 2019 May 10;19(1):303. doi: 10.1186/s12913-019-4131-0. BMC Health Serv Res. 2019. PMID: 31077218 Free PMC article.
-
HIV disease burden, cost, and length of stay in Portuguese hospitals from 2000 to 2010: a cross-sectional study.BMC Health Serv Res. 2015 Apr 8;15:144. doi: 10.1186/s12913-015-0801-8. BMC Health Serv Res. 2015. PMID: 25889920 Free PMC article.
-
A comparison of statistical methods for modeling count data with an application to hospital length of stay.BMC Med Res Methodol. 2022 Aug 4;22(1):211. doi: 10.1186/s12874-022-01685-8. BMC Med Res Methodol. 2022. PMID: 35927612 Free PMC article.
-
Some effects of the rising case load of adult HIV-related disease on a hospital in Nairobi.J Acquir Immune Defic Syndr Hum Retrovirol. 1998 Jul 1;18(3):234-40. doi: 10.1097/00042560-199807010-00006. J Acquir Immune Defic Syndr Hum Retrovirol. 1998. PMID: 9665500
Cited by
-
Evaluating the performance of different Bayesian count models in modelling childhood vaccine uptake among children aged 12-23 months in Nigeria.BMC Public Health. 2023 Jun 21;23(1):1197. doi: 10.1186/s12889-023-16155-z. BMC Public Health. 2023. PMID: 37344872 Free PMC article.
-
Deep phenotyping of oxidative stress in emergency room patients reveals homoarginine as a novel predictor of sepsis severity, length of hospital stay, and length of intensive care unit stay.Front Med (Lausanne). 2022 Nov 25;9:1033083. doi: 10.3389/fmed.2022.1033083. eCollection 2022. Front Med (Lausanne). 2022. PMID: 36507541 Free PMC article.
-
Length of Stay Analysis of COVID-19 Hospitalizations Using a Count Regression Model and Quantile Regression: A Study in Bologna, Italy.Int J Environ Res Public Health. 2022 Feb 16;19(4):2224. doi: 10.3390/ijerph19042224. Int J Environ Res Public Health. 2022. PMID: 35206411 Free PMC article.
-
Impact of COVID-19 epidemic on temporal pattern of new HIV diagnoses in Italy, 2021 database.Eur J Public Health. 2023 Dec 9;33(6):1171-1176. doi: 10.1093/eurpub/ckad156. Eur J Public Health. 2023. PMID: 37651709 Free PMC article.
-
Variational Bayes machine learning for risk adjustment of general outcome indicators with examples in urology.NPJ Digit Med. 2024 Sep 14;7(1):249. doi: 10.1038/s41746-024-01244-z. NPJ Digit Med. 2024. PMID: 39277683 Free PMC article.
References
-
- Feng CX, Li L. Modeling zero inflation and overdispersion in the length of hospital stay for patients with ischaemic heart disease. Adv Stat Methods Data Sci. 2016:35–53. 10.1007/978-981-10-2594-5_3 Springer.
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
Other Literature Sources
Medical