This study aims to analyze the factors that contribute to diabetes using the logistic regression method. The data used in this study include variables of number of pregnancies, glucose levels, blood pressure, skin thickness, insulin levels, body mass index (BMI), family history of diabetes, and age. The logistic regression model was applied to determine the effect of each variable on the likelihood of a person having diabetes. Evaluation of model performance was carried out using the ROC (Receiver Operating Characteristic) curve, and the results obtained showed an AUC value of 0.8391, which indicated a very good classification ability of the model. The results of the analysis showed that the number of pregnancies, glucose levels, blood pressure, BMI, and family history of diabetes had a significant effect on the risk of diabetes.
                        
                        
                        
                        
                            
                                Copyrights © 2025