توزيع جديد من نوع لوغ-لومكس، الخصائص، سعر السهم، وتوقعات النوبات القلبية باستخدام تقنيات التعلم الآلي
A new Log-Lomax distribution, properties, stock price, and heart attack predictions using machine learning techniques

شارك:
المجلة: AIMS Mathematics، المجلد: 10، العدد: 5
DOI: https://doi.org/10.3934/math.2025575
تاريخ النشر: 2025-01-01
المؤلف: Aliyu Ismail Ishaq وآخرون
الموضوع الرئيسي: تقدير التوزيع الإحصائي وتطبيقاته

نظرة عامة

في هذه الدراسة، قدم المؤلفون توزيع لوغاريتمي-لومكس، وهو نموذج احتمالي مرن مصمم لالتقاط مجموعة متنوعة من الخصائص الإحصائية. تم هيكلة البحث في قسمين رئيسيين: الأول ركز على نمذجة أسعار صرف الأسهم باستخدام توزيع لوغاريتمي-لومكس، بينما استكشف الثاني دمج ميزات لوغاريتمي-لومكس في نماذج التعلم الآلي لتحسين دقة التنبؤ. أظهر توزيع لوغاريتمي-لومكس، الذي يتميز بتحويله اللوغاريتمي ومعامل الأس، خصائص مثل الانحراف الأيسر والأيمن، والتزايد، وشكل حوض الاستحمام. تم تقييم تقنيات تقدير المعلمات من خلال دراسات المحاكاة، وتم تطبيق النموذج على مجموعات بيانات من سوق الأسهم النيجيرية (نايرا إلى يورو ونايرا إلى ريال) بالإضافة إلى مجموعة بيانات مرضى النوبات القلبية.

في قسم التنبؤ، استندت الدراسة إلى رؤى من مرحلة النمذجة وتدفقات العمل في التعلم الآلي لتحسين دقة التنبؤ وتقليل الإفراط في التخصيص. تم تقييم التنبؤات باستخدام كل من البيانات الخام والميزات المستمدة من نموذج لوغاريتمي-لومكس. من الجدير بالذكر أن استخدام ميزات لوغاريتمي-لومكس مع الغابة العشوائية وXGBoost حقق معدلات دقة ملحوظة بلغت 99.87% لمجموعة بيانات اليورو، و98.67% و99.33% لمجموعة بيانات الريال، على التوالي. بالنسبة لمجموعة بيانات النوبات القلبية، حققت النماذج معدلات دقة بلغت 91.25% و88.75%. تشير النتائج إلى أن الغابة العشوائية وXGBoost هما الأسلوبان المفضلان للنمذجة بسبب أدائهما المتفوق في التنبؤ واستقرارهما عبر مجموعات بيانات مختلفة.

مقدمة

تسلط مقدمة هذه الورقة البحثية الضوء على التعقيدات والتحديات المرتبطة بالنمذجة التنبؤية في المجالات المالية والطبية، مع التركيز بشكل خاص على اتجاهات سوق الأسهم وتنبؤات النوبات القلبية. تتأثر أسعار الأسهم بمجموعة متنوعة من العوامل، بما في ذلك المؤشرات الاقتصادية ومشاعر المستثمرين، مما يؤدي إلى سلوك غير منتظم ومتقلب يعقد التنبؤ الدقيق. وبالمثل، غالبًا ما تقدم البيانات الطبية، خاصة فيما يتعلق بالنوبات القلبية، أبعادًا عالية وانحرافًا، مما يتطلب تقنيات نمذجة قوية. لقد برز التعلم الآلي كأداة قوية لتحليل مثل هذه البيانات المعقدة، حيث يمكنه استيعاب العلاقات غير الخطية ولا يعتمد على افتراضات توزيع صارمة، على عكس الطرق الإحصائية التقليدية.

تقدم الورقة توزيع لوغاريتمي-لومكس، وهو نموذج احتمالي جديد مشتق من توزيع لومكس الكلاسيكي من خلال تحويل لوغاريتمي. تم تصميم هذا النموذج الجديد لالتقاط الانحراف، والذيل الثقيل، والأنماط غير الخطية السائدة في البيانات المالية والطبية بشكل أفضل. يعزز توزيع لوغاريتمي-لومكس مرونة النمذجة من خلال استيعاب وظائف خطر متنوعة، وقد أظهر تفوقه على النماذج التقليدية المستندة إلى لومكس في التنبؤ باتجاهات أسعار الأسهم ووقوع النوبات القلبية. من خلال دمج ميزات من توزيع لوغاريتمي-لومكس في خوارزميات التعلم الآلي مثل الغابة العشوائية وXGBoost، توضح الدراسة تحسينات كبيرة في دقة التنبؤ، مما يثبت أن توزيع لوغاريتمي-لومكس هو أداة قيمة للنمذجة الإحصائية في هذه المجالات. ستتناول الأقسام اللاحقة من الورقة خصائص وتطبيقات وآثار توزيع لوغاريتمي-لومكس في تحليل البيانات في العالم الحقيقي.

طرق

في هذا القسم، يستنتج المؤلفون توزيع لوغاريتمي-لومكس (LLomax) من خلال تحويل لوغاريتمي يتضمن معامل أس. تشمل العلاقات المستخدمة \( x^\alpha = \log(y) \) لـ \( y > 0 \) و \( \alpha > 0 \)، بالإضافة إلى تحويل دالة كثافة الاحتمال (pdf) \( f(x; \beta, \theta) = f(y; \beta, \theta) \frac{dy}{dx} \). يتم التعبير عن pdf لتوزيع LLomax على النحو التالي:

\[
f(x; \beta, \theta, \alpha) = \alpha \beta \theta x^{\alpha – 1} e^{x^\alpha} (1 + e^{x^\alpha})^{-(\beta + 1)}, \quad x \in \mathbb{R}.
\]

تشير هذه الصياغة إلى أن متغيرًا عشوائيًا \( X \) يتبع التوزيع \( X \sim \text{LLomax}(\beta, \theta, \alpha) \). يشير المؤلفون إلى أن pdf يمكن أن تظهر إما انحرافًا يمينيًا أو يساريًا، مما يجعلها مناسبة لنمذجة مجموعات البيانات المنحرفة، كما هو موضح في الشكل 1.

نتائج

في هذا القسم، تقدم الدراسة نتائج نماذج التعلم الآلي المدربة على مجموعتي بيانات: مجموعة بيانات اليورو ومجموعة بيانات الريال. تم استخدام بيئة بايثون مع سرعة معالج تبلغ 2.30 جيجاهرتز و16.0 جيجابايت من ذاكرة الوصول العشوائي، مع استخدام تقسيم البيانات بنسبة 80/20 و10-fold cross-validation لتقليل الإفراط في التخصيص. تشير النتائج إلى أن النماذج المستندة إلى الأشجار، وخاصة الغابة العشوائية وXGBoost، تظهر دقة عالية وموثوقية عند دمج ميزات لوغاريتمي-لومكس، مما يعالج بشكل فعال الانحراف والذيل الثقيل في توقعات أسعار الأسهم. بالنسبة لمجموعة بيانات اليورو، حقق KNN أعلى دقة (0.9873) ودرجة F1 (0.9871) مع الميزات الخام، بينما تفوقت الغابة العشوائية وXGBoost بعد دمج توزيعات لوغاريتمي-لومكس، محققة دقتين قدرهما 0.9987 و0.9988، على التوالي.

وبالمثل، كشفت نتائج مجموعة بيانات الريال أن XGBoost والغابة العشوائية حافظتا على أداء قوي بعد دمج لوغاريتمي-لومكس، حيث حقق XGBoost أعلى دقة (91.25%) ودرجة F1 (91.51%). كما حقق KNN أداءً جيدًا، بينما كان أداء SVM ضعيفًا باستمرار عبر كلا المجموعتين. أظهر تحليل ملاءمة النموذج، كما يتضح من قيم AIC وBIC وHQIC، أن الغابة العشوائية وXGBoost قدما توازنًا مثاليًا بين التعقيد ودقة التنبؤ. بشكل عام، عزز دمج توزيعات لوغاريتمي-لومكس بشكل كبير أداء النموذج عبر كلا المجموعتين، مما أثبت أن الغابة العشوائية هي النموذج الأكثر فعالية لتوقعات الأسهم وسياقات اتخاذ القرار الطبي.

مناقشة

في قسم المناقشة من الورقة البحثية، يتحقق المؤلفون من دالة كثافة الاحتمال (pdf) المقترحة لتوزيع LLomax من خلال إثبات أنها تتكامل إلى واحد عبر مجالها، مما يؤكد مشروعيتها كتوزيع إحصائي. يتم تحقيق ذلك من خلال سلسلة من التحولات الرياضية والاستبدالات التي تثبت في النهاية أن تكامل pdf يساوي واحدًا، كما هو معبر عنه في المعادلة (2.4). يتم اشتقاق دالة التوزيع التراكمي (cdf) من pdf، مما يؤدي إلى صياغة cdf لتوزيع LLomax، ودالة البقاء، ودالة الخطر، والتي تعتبر أساسية لفهم سلوك التوزيع في سياقات مختلفة.

يستكشف المؤلفون أيضًا خصائص توزيع LLomax، بما في ذلك لحظاته، ودالة الكمية، وإحصاءات الترتيب. يستنتجون تعبيرات لأربعة لحظات الأولى، والتباين، والانحراف، والكراتوز، كاشفين كيف تؤثر معلمات مثل $\alpha$ و$\theta$ على خصائص التوزيع. من الجدير بالذكر أنه مع زيادة $\alpha$، يرتفع المتوسط، مما يشير إلى تحول في الاتجاه المركزي، بينما يظهر الانحراف والكراتوز تغييرات كبيرة، مما يسمح لتوزيع LLomax بنمذجة مجموعة من سلوكيات البيانات، من التوزيعات المتماثلة إلى التوزيعات المنحرفة بشدة. يختتم القسم بمناقشة حول طرق تقدير المعلمات، بما في ذلك تقدير الاحتمالية القصوى (MLE)، وأقل المربعات (LS)، وأقل المربعات الموزونة (WLS)، مع تسليط الضوء على فعالية MLE في تحقيق أخطاء مربعة متوسطة (MSE) أقل لتقديرات المعلمات عبر أحجام عينات مختلفة.

Journal: AIMS Mathematics, Volume: 10, Issue: 5
DOI: https://doi.org/10.3934/math.2025575
Publication Date: 2025-01-01
Author(s): Aliyu Ismail Ishaq et al.
Primary Topic: Statistical Distribution Estimation and Applications

Overview

In this study, the authors introduced the log-Lomax distribution, a flexible probabilistic model designed to capture a variety of statistical properties. The research was structured into two main sections: the first focused on modeling stock price exchange rates using the log-Lomax distribution, while the second explored the integration of log-Lomax features into machine learning models for enhanced prediction accuracy. The log-Lomax distribution, characterized by its logarithmic transformation and an exponent parameter, exhibited properties such as left and right skewness, monotonicity, and a bathtub shape. Parameter estimation techniques were assessed through simulation studies, and the model was applied to datasets from the Nigerian stock exchange (Naira-to-Euro and Naira-to-Riyal) as well as a heart attack patient dataset.

In the prediction section, the study leveraged insights from the modeling phase and machine learning workflows to improve prediction accuracy and mitigate overfitting. Predictions were evaluated using both raw data and features derived from the log-Lomax model. Notably, employing log-Lomax features with Random Forest and XGBoost achieved remarkable accuracy rates of 99.87% for the Euro dataset, and 98.67% and 99.33% for the Riyal dataset, respectively. For the heart attack dataset, the models yielded accuracy rates of 91.25% and 88.75%. The findings suggest that Random Forest and XGBoost are the preferred modeling approaches due to their superior prediction performance and stability across different datasets.

Introduction

The introduction of this research paper highlights the complexities and challenges associated with predictive modeling in financial and medical domains, particularly focusing on stock market trends and heart attack predictions. Stock prices are influenced by a myriad of factors, including economic indicators and investor sentiment, leading to irregular and volatile behavior that complicates accurate forecasting. Similarly, medical data, especially regarding heart attacks, often presents high dimensionality and skewness, necessitating robust modeling techniques. Machine learning has emerged as a powerful tool for analyzing such complex data, as it can accommodate non-linear relationships and does not rely on strict distributional assumptions, unlike traditional statistical methods.

The paper introduces the log-Lomax distribution, a novel probabilistic model derived from the classical Lomax distribution through a logarithmic transformation. This new model is designed to better capture the skewness, heavy tails, and nonlinear patterns prevalent in financial and medical data. The log-Lomax distribution enhances modeling flexibility by accommodating various hazard functions and is shown to outperform traditional Lomax-based models in predicting stock price trends and heart attack occurrences. By integrating features from the log-Lomax distribution into machine learning algorithms like Random Forest and XGBoost, the study demonstrates significant improvements in prediction accuracy, establishing the log-Lomax distribution as a valuable tool for statistical modeling in these fields. The subsequent sections of the paper will elaborate on the properties, applications, and implications of the log-Lomax distribution in real-world data analysis.

Methods

In this section, the authors derive the log-Lomax (LLomax) distribution through a log transformation involving an exponent parameter. The relationships utilized include \( x^\alpha = \log(y) \) for \( y > 0 \) and \( \alpha > 0 \), along with the transformation of the probability density function (pdf) \( f(x; \beta, \theta) = f(y; \beta, \theta) \frac{dy}{dx} \). The pdf of the LLomax distribution is expressed as:

\[
f(x; \beta, \theta, \alpha) = \alpha \beta \theta x^{\alpha – 1} e^{x^\alpha} (1 + e^{x^\alpha})^{-(\beta + 1)}, \quad x \in \mathbb{R}.
\]

This formulation indicates that a random variable \( X \) follows the distribution \( X \sim \text{LLomax}(\beta, \theta, \alpha) \). The authors note that the pdf can exhibit either right or left skewness, making it suitable for modeling skewed datasets, as illustrated in Figure 1.

Results

In this section, the study presents the results of machine learning models trained on two datasets: the Euro and Riyal datasets. The training utilized a Python environment with a processor speed of 2.30 GHz and 16.0 GB of RAM, employing an 80/20 data split and 10-fold cross-validation to mitigate overfitting. The findings indicate that tree-based models, particularly Random Forest and XGBoost, exhibit high accuracy and robustness when integrating log-Lomax features, effectively addressing skewness and heavy tails in stock price predictions. For the Euro dataset, KNN achieved the highest accuracy (0.9873) and F1 score (0.9871) with raw features, while Random Forest and XGBoost excelled after incorporating log-Lomax distributions, achieving accuracies of 0.9987 and 0.9988, respectively.

Similarly, the Riyal dataset results revealed that XGBoost and Random Forest maintained strong performance post-log-Lomax integration, with XGBoost achieving the highest accuracy (91.25%) and F1 score (91.51%). KNN also performed well, while SVM consistently underperformed across both datasets. The analysis of model fit, indicated by AIC, BIC, and HQIC values, showed that Random Forest and XGBoost provided optimal balances of complexity and predictive accuracy. Overall, the integration of log-Lomax distributions significantly enhanced model performance across both datasets, establishing Random Forest as the most effective model for stock predictions and medical decision-making contexts.

Discussion

In the discussion section of the research paper, the authors validate the proposed probability density function (pdf) of the LLomax distribution by demonstrating that it integrates to one over its domain, confirming its legitimacy as a statistical distribution. This is achieved through a series of mathematical transformations and substitutions that ultimately prove the integral of the pdf equals one, as expressed in Equation (2.4). The cumulative distribution function (cdf) is derived from the pdf, leading to the formulation of the LLomax distribution’s cdf, survival function, and hazard function, which are essential for understanding the distribution’s behavior in various contexts.

The authors further explore the properties of the LLomax distribution, including its moments, quantile function, and order statistics. They derive expressions for the first four moments, variance, skewness, and kurtosis, revealing how parameters such as $\alpha$ and $\theta$ influence the distribution’s characteristics. Notably, as $\alpha$ increases, the mean rises, indicating a shift in central tendency, while skewness and kurtosis exhibit significant changes, allowing the LLomax distribution to model a range of data behaviors, from symmetric to highly skewed distributions. The section concludes with a discussion on parameter estimation methods, including maximum likelihood estimation (MLE), least squares (LS), and weighted least squares (WLS), highlighting the effectiveness of MLE in achieving lower mean squared errors (MSE) for parameter estimates across various sample sizes.