تحسين طريقة بايزي لتقدير معامل هيرست في العلوم السلوكية Optimizing a Bayesian Method for Estimating the Hurst Exponent in Behavioral Sciences

شارك:
المجلة: Axioms، المجلد: 14، العدد: 6
DOI: https://doi.org/10.3390/axioms14060421
تاريخ النشر: 2025-05-29
المؤلف: Madhur Mangalam وآخرون
الموضوع الرئيسي: الأنظمة المعقدة وتحليل السلاسل الزمنية

نظرة عامة

تقدم طريقة هيرست-كولموغوروف (HK) بايزيان تقديرًا أكثر دقة لمؤشر هيرست لسلاسل الزمن مقارنةً بتحليل التذبذب غير المنحرف (DFA) التقليدي، خاصةً بالنسبة لسلاسل الزمن القصيرة. ومع ذلك، فإن هذه الدقة المتزايدة مصحوبة بأوقات حسابية أعلى بكثير، والتي يمكن أن تنمو بشكل أسي مع عدد نقاط البيانات \( N \). على سبيل المثال، يمكن أن تتجاوز أوقات الحساب عدة ساعات لـ \( N = 1024 \)، مما يطرح تحديات للتطبيقات في الوقت الحقيقي مثل التغذية الراجعة البيولوجية وواجهات الدماغ-الكمبيوتر.

لتخفيف هذه التحديات الحسابية، تقدم الدراسة نتائج حول دقة تقدير مؤشر هيرست \( H \) لسلاسل الزمن الاصطناعية، مع الأخذ في الاعتبار عوامل مثل القيم المعروفة مسبقًا لـ \( H \)، وطول سلسلة الزمن، وحجم العينة المحاكية من التوزيع البعدي. تشير النتائج إلى أن حجم العينة المحاكية الذي يصل إلى \( n = 25 \) يمكن أن يوفر دقة معقولة لسلاسل الزمن التي تحتوي على 256 قياسًا فقط. ومع ذلك، فإن زيادة حجم العينة إلى ما بعد \( n = 50 \) تؤدي إلى تحسينات هامشية فقط في الدقة، مما يشير إلى الحاجة إلى تحقيق توازن بين حجم العينة وكفاءة الحساب. يوصي المؤلفون بحجم عينة أدنى قدره \( n = 50 \)، مع اعتبار أحجام أكبر بناءً على الموارد الحسابية المتاحة.

مقدمة

تناقش المقدمة أهمية مؤشر هيرست، الذي يُرمز له بـ $H$، والذي يقيس الارتباطات بعيدة المدى في بيانات سلسلة الزمن. تم تصورها في الأصل من قبل إدوين هيرست وشُهرت من قبل بينوا ماندلبروت، حيث يعمل $H$ كتقدير للقياس الفركتالي للاعتماد الذاتي، مما يشير إلى الاستمرارية (عندما يكون $0.5 < H < 1.0$) أو عدم الاستمرارية (عندما يكون $0 < H < 0.5$). تشمل تطبيقاته مجالات متنوعة، بما في ذلك الأرصاد الجوية والاقتصاد والعلوم السلوكية، حيث يساعد في فهم العمليات مثل التحكم في الوضعية والإدراك. الطريقة الأكثر شيوعًا لتقدير $H$ هي تحليل التذبذب غير المنحرف (DFA)، الذي يتفوق في تقييم سلاسل الزمن غير الثابتة ولكنه له قيود، خاصةً مع سلاسل الزمن القصيرة، حيث يميل إلى تقدير $H$ بشكل مفرط. تم اقتراح نهج بايزي بديل، يُشار إليه باسم "طريقة HK"، لتحسين تقدير $H$. وقد أظهرت هذه الطريقة، التي طورها تيراليس وكوتسويانيس، أنها تتفوق على DFA في عدة جوانب، بما في ذلك الدقة مع سلاسل الزمن القصيرة وتقليل التشتت في التقديرات. ومع ذلك، فإن طريقة HK تتطلب حسابات مكثفة، خاصةً بالنسبة لسلاسل الزمن الأطول، مما يطرح تحديات للتطبيقات في الوقت الحقيقي في العلوم السلوكية. يهدف المؤلفون إلى تحسين كفاءة الحساب لطريقة HK مع تقديم رؤى حول حجم العينة الضروري من التوزيع البعدي لـ $H$ لتحقيق تقديرات دقيقة. تهدف نتائجهم إلى تسهيل الاعتماد الأوسع لطريقة HK في تقدير مؤشر هيرست عبر مجالات البحث المختلفة.

الطرق

تحدد هذه القسم المنهجية المستخدمة في البحث لتقدير مؤشر هيرست ($H$) باستخدام طريقة هيرست-كولموغوروف (HK)، وهي نهج بايزي يعالج قيود تحليل التذبذب غير المنحرف (DFA). لقد أظهرت طريقة HK أنها تتفوق على DFA في سياقات مختلفة، خاصةً من حيث كفاءة الحساب مع الحفاظ على الدقة في استعادة $H$ من بيانات سلسلة الزمن. يعتمد الجانب الأساسي من طريقة HK على دالة الاعتماد الذاتي المعرفة لعملية HK، والتي تمثل كـ $\rho_k = |k + 1|^{2H/2} – 2|k|^{2H/2} + |k – 1|^{2H}$، حيث يُشير $k$ إلى تأخير الزمن و$\rho_k$ إلى الاعتماد الذاتي عند كل تأخير.

يتضمن الإطار البايزي لتقدير $H$ أخذ عينات من التوزيع البعدي، والذي يتم اشتقاقه من مصفوفة الاعتماد الذاتي $R_n$ ويشمل الأشكال التربيعية لعكسها. يتم استخدام خوارزمية القبول-الرفض لأخذ العينات، حيث يتم أخذ عينة من توزيع اقتراح أبسط $g(x)$ لتقريب التوزيع المستهدف $f(x)$، والذي يتوافق مع لوغاريتم التوزيع البعدي. تستمر العملية حتى يتم الحصول على العدد المطلوب من العينات، حيث يعمل الوسيط للتوزيع البعدي كنقطة تقدير لـ $H$. تم إجراء التحليل باستخدام بيئة برمجة R وحزمة “HKprocess”، مع التركيز على تحقيق توازن بين دقة التقدير وكفاءة الحساب.

النتائج

توضح النتائج المقدمة في الأشكال 1 و2 أداء تقدير مؤشر هيرست باستخدام طريقة HK عبر ظروف مختلفة، بما في ذلك قيم مختلفة لمؤشر هيرست ($H = 0.1, 0.2, \ldots, 0.9$)، وأطوال سلاسل الزمن ($N = 32, 64, \ldots, 1024$)، وأحجام العينات من التوزيع البعدي ($n = 1, 2, \ldots, 500$). تشير النتائج إلى أن مؤشر هيرست المقدر ($\hat{H}$) يتماشى عن كثب مع $H$ الفعلي لسلاسل الزمن التي يبلغ طولها 128 على الأقل. ومع ذلك، بالنسبة لسلاسل الزمن القصيرة (مثل $N = 32, 64$)، يميل $\hat{H}$ إلى تقدير مبالغ فيه لقيم $H$ الفعلية الأصغر وتقدير ناقص للقيم الأكبر. من الجدير بالذكر أن دقة $\hat{H}$ تتحسن مع زيادة أحجام العينات البعدية، على الرغم من أن هذا الاتجاه يتناقص مع سلاسل الزمن الأطول.

يكشف التحليل أنه بالنسبة لسلاسل الزمن القصيرة جدًا ($N = 32$)، يمكن أن يتجاوز الخطأ المطلق في تقدير $\hat{H}$ 0.1، وهو ما يكفي لإخفاء الفروق في مؤشرات هيرست التجريبية عبر المجموعات، مثل تلك التي لوحظت في سلاسل زمن الفترات بين الخطوات أثناء المشي. مع زيادة طول سلسلة الزمن، ينخفض الخطأ المطلق، ليصل إلى قيم حدية أقل (مثل < 0.05 لـ $N = 256$ و< 0.03 لـ $N = 512$) مع أحجام عينات كافية من التوزيع البعدي. من المهم أن زيادة حجم العينة إلى ما بعد $n = 50$ لا تعزز دقة $\hat{H}$ ولكنها تزيد من التكاليف الحسابية، مما يشير إلى أن حجم عينة صغير نسبيًا كافٍ لتقدير دقيق لمؤشر هيرست.

المناقشة

في هذا القسم، يناقش المؤلفون تطبيق طريقة HK لتقدير مؤشر هيرست ($\hat{H}$) لسلاسل زمن الضوضاء الغاوسية الكسرية الاصطناعية (fGn) التي تم إنشاؤها باستخدام خوارزمية ديفيس-هارت. يبرزون مزايا طريقة HK على تحليل التذبذب غير المنحرف (DFA)، خاصةً من حيث الدقة لسلاسل الزمن القصيرة. ومع ذلك، يشير المؤلفون إلى أن طريقة HK تتطلب حسابات مكثفة بسبب إطارها البايزي، مما قد يعيق اعتمادها في العلوم السلوكية حيث تحتوي سلاسل الزمن غالبًا على مئات إلى آلاف القياسات.

يوفر المؤلفون بيانات تجريبية تشير إلى أن حجم عينة محاكية من التوزيع البعدي لـ $H$ يصل إلى $n = 50$ يمكن أن يوفر دقة معقولة في تقدير $\hat{H}$. يقترحون أنه بينما قد تحسن أحجام العينات الأكبر الدقة، فإن المكاسب الهامشية قد لا تبرر الطلبات الحسابية المتزايدة. تناقش المناقشة أيضًا القضايا المحتملة في البيانات التجريبية، مثل الاتجاهات، وعدم الثبات، والتقاطعات، التي قد تؤثر على دقة التقدير. على الرغم من هذه التحديات، يدعو المؤلفون إلى الاستخدام المنهجي لطريقة HK، خاصةً في التطبيقات في الوقت الحقيقي مثل التغذية الراجعة البيولوجية وواجهات الدماغ-الكمبيوتر، ويؤكدون على أهمية تحسين الموارد الحسابية للتنفيذ الفعال.

Journal: Axioms, Volume: 14, Issue: 6
DOI: https://doi.org/10.3390/axioms14060421
Publication Date: 2025-05-29
Author(s): Madhur Mangalam et al.
Primary Topic: Complex Systems and Time Series Analysis

Overview

The Bayesian Hurst-Kolmogorov (HK) method offers a more accurate estimation of the Hurst exponent for time series compared to traditional detrended fluctuation analysis (DFA), particularly for shorter time series. However, this increased accuracy is accompanied by significantly higher computation times, which can grow exponentially with the number of data points \( N \). For instance, computation times can exceed several hours for \( N = 1024 \), posing challenges for real-time applications such as biofeedback and brain-computer interfaces.

To mitigate these computational challenges, the study presents findings on the estimation accuracy of the Hurst exponent \( H \) for synthetic time series, considering factors such as a priori known values of \( H \), time series length, and the size of the simulated sample from the posterior distribution. The results indicate that a simulated sample size as small as \( n = 25 \) can yield reasonable accuracy for time series with as few as 256 measurements. However, increasing the sample size beyond \( n = 50 \) results in only marginal improvements in accuracy, suggesting a need to balance the sample size against computational efficiency. The authors recommend a minimum sample size of \( n = 50 \), with larger sizes considered based on available computational resources.

Introduction

The introduction discusses the significance of the Hurst exponent, denoted as $H$, which quantifies long-range correlations in time series data. Originally conceptualized by Edwin Hurst and popularized by Benoit Mandelbrot, $H$ serves as a fractal-scaling estimate of autocorrelation, indicating persistence (when $0.5 < H < 1.0$) or anti-persistence (when $0 < H < 0.5$). Its applications span various fields, including meteorology, economics, and behavioral sciences, where it aids in understanding processes such as postural control and cognition. The most common method for estimating $H$ is detrended fluctuation analysis (DFA), which excels in assessing non-stationary time series but has limitations, particularly with short time series, where it tends to overestimate $H$. An alternative Bayesian approach, referred to as the "HK method," has been proposed to improve the estimation of $H$. This method, developed by Tyralis and Koutsoyiannis, has been shown to outperform DFA in several aspects, including accuracy with short time series and reduced dispersion in estimates. However, the HK method is computationally intensive, especially for longer time series, which poses challenges for real-time applications in behavioral sciences. The authors aim to optimize the HK method's computational efficiency while providing insights into the necessary sample size from the posterior distribution of $H$ to achieve accurate estimates. Their findings are intended to facilitate the broader adoption of the HK method in estimating the Hurst exponent across various research domains.

Methods

The section outlines the methodology employed in the research to estimate the Hurst exponent ($H$) using the Hurst-Kolmogorov (HK) method, which is a Bayesian approach that addresses limitations of the detrended fluctuation analysis (DFA). The HK method has been shown to outperform DFA in various contexts, particularly in terms of computational efficiency while maintaining accuracy in recovering $H$ from time series data. The foundational aspect of the HK method is based on the autocorrelation function defined for the HK process, represented as $\rho_k = |k + 1|^{2H/2} – 2|k|^{2H/2} + |k – 1|^{2H}$, where $k$ denotes the time lag and $\rho_k$ the autocorrelation at each lag.

The Bayesian framework for estimating $H$ involves sampling from the posterior distribution, which is derived from the autocorrelation matrix $R_n$ and incorporates the quadratic forms of its inverse. The accept-reject algorithm is utilized for sampling, where a simpler proposal distribution $g(x)$ is sampled to approximate the target distribution $f(x)$, which corresponds to the logarithm of the posterior distribution. The process continues until the desired number of samples is obtained, with the median of the posterior distribution serving as the point estimate for $H$. The analysis was conducted using the R programming environment and the “HKprocess” package, focusing on balancing estimation accuracy with computational efficiency.

Results

The results presented in Figures 1 and 2 illustrate the performance of the Hurst exponent estimation using the HK method across various conditions, including different values of the Hurst exponent ($H = 0.1, 0.2, \ldots, 0.9$), time series lengths ($N = 32, 64, \ldots, 1024$), and sample sizes from the posterior distribution ($n = 1, 2, \ldots, 500$). The findings indicate that the estimated Hurst exponent ($\hat{H}$) closely aligns with the actual $H$ for time series with lengths of at least 128. However, for shorter time series (e.g., $N = 32, 64$), $\hat{H}$ tends to overestimate for smaller actual $H$ values and underestimate for larger ones. Notably, the accuracy of $\hat{H}$ improves with larger posterior sample sizes, although this trend diminishes for longer time series.

The analysis reveals that for very short time series ($N = 32$), the absolute error in estimating $\hat{H}$ can exceed 0.1, which is significant enough to obscure differences in empirical Hurst exponents across groups, such as those observed in stride-to-stride interval time series during walking. As the time series length increases, the absolute error decreases, reaching lower asymptotic values (e.g., < 0.05 for $N = 256$ and < 0.03 for $N = 512$) with sufficient sample sizes from the posterior distribution. Importantly, increasing the sample size beyond $n = 50$ does not enhance the accuracy of $\hat{H}$ but does increase computational costs, suggesting that a relatively small sample size is adequate for high-accuracy estimation of the Hurst exponent.

Discussion

In this section, the authors discuss the application of the HK method for estimating the Hurst exponent ($\hat{H}$) of synthetic fractional Gaussian noise (fGn) time series generated using the Davies-Harte algorithm. They highlight the advantages of the HK method over the detrended fluctuation analysis (DFA), particularly in terms of accuracy for shorter time series. However, the authors note that the HK method is computationally intensive due to its Bayesian framework, which can hinder its adoption in behavioral sciences where time series often contain hundreds to thousands of measurements.

The authors provide empirical data indicating that a simulated sample size from the posterior distribution of $H$ as small as $n = 50$ can yield reasonable accuracy in estimating $\hat{H}$. They suggest that while larger sample sizes may improve accuracy, the marginal gains may not justify the increased computational demands. The discussion also addresses potential issues in empirical data, such as trends, nonstationarities, and crossovers, which could affect estimation accuracy. Despite these challenges, the authors advocate for the systematic use of the HK method, particularly in real-time applications like biofeedback and brain-computer interfaces, and emphasize the importance of optimizing computational resources for effective implementation.