Lag-Length Hyperparameter Impacts on Unit Root Testing: Toward Robust SARIMA Integration Order Estimation | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Lag-Length Hyperparameter Impacts on Unit Root Testing: Toward Robust SARIMA Integration Order Estimation Mohamed Slimane, Neila Bedioui, Mongi Besbes This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-7656296/v1 This work is licensed under a CC BY 4.0 License Status: Published Journal Publication published 04 Dec, 2025 Read the published version in International Journal of Data Science and Analytics → Version 1 posted 13 You are reading this latest preprint version Abstract Accurate estimation of integration orders (d,D) is a foundational step in SARIMA modeling, directly influencing model stationarity, predictive performance, and structural stability. However, the sensitivity of these estimates to lag-length hyperparameterization within unit root testing procedures remains underexplored. This study investigates the computational impact of various lag-selection strategies—specifically AIC, BIC, HQIC, t-statistics, and rule-based heuristics—on the determination of differencing orders in the context of natural gas demand forecasting. Using high-resolution hourly consumption data from ten Gas Pressure Reducing and Metering Stations (GPRMS) in Central Tunisia (2015–2023), we conduct extensive simulations across multiple temporal aggregations (weekly, monthly, quarterly). Integration orders were derived using the Augmented Dickey-Fuller (ADF) and Kwiatkowski-Phillips-Schmidt-Shin (KPSS) tests, applied under varying lag-length configurations. The resulting SARIMA models were benchmarked using MAPE and the Overall Weighted Average (OWA) metrics. Results reveal significant variation in model performance tied to lag-length selection, particularly for low-frequency data, where BIC-based selection consistently achieved superior accuracy and stability. In contrast, t-stat heuristics led to over-differencing in some high-frequency cases. These findings highlight the critical role of lag-length specification in statistical preprocessing and provide practical recommendations for enhancing robustness in time series modeling workflows. Natural gas demand SARIMA Unit Root Testing Integration orders Lag length Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Published Journal Publication published 04 Dec, 2025 Read the published version in International Journal of Data Science and Analytics → Version 1 posted Editorial decision: Revision requested 31 Oct, 2025 Reviews received at journal 31 Oct, 2025 Reviews received at journal 20 Oct, 2025 Reviewers agreed at journal 16 Oct, 2025 Reviewers agreed at journal 15 Oct, 2025 Reviewers agreed at journal 14 Oct, 2025 Reviewers agreed at journal 14 Oct, 2025 Reviewers agreed at journal 14 Oct, 2025 Reviewers agreed at journal 14 Oct, 2025 Reviewers invited by journal 14 Oct, 2025 Editor assigned by journal 13 Oct, 2025 Submission checks completed at journal 20 Sep, 2025 First submitted to journal 19 Sep, 2025 You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-7656296","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":534274835,"identity":"240ee6eb-7cd8-4bb1-b7ee-3542a1f802ac","order_by":0,"name":"Mohamed Slimane","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABDUlEQVRIiWNgGAWjYFACHhDBzMDAztgAYskxMEAYRGhhhqg0BmppBLIMGBjYCGqBcBMbINbg1qLb3nvw040Kawb5ZubWDT932KT3Sze3P2Bs+xPNIN97AJsWszPnkqVzzqQzGBxmbLvZeyYtd+acg40NjG0GuQ1sfAlYtdzIMZDObTvMYMDM2HaDt+1w7oYbiTAtPAY4tBj/zv13GOgwoC1/2/6n2xOhxUw6t+EwAwPQYbd52w4kGEgQ0nLmjJl1zrF0HpBfbsu2JRvOANoyI+GccW4bWw52Lcd7jG/n1FjLybe3P7v5ts1Onn9G+oMPH8rkcvuZz2DVAgM8qNwEBjwxOQpGwSgYBaOAIAAA3O5iOxPTSDcAAAAASUVORK5CYII=","orcid":"","institution":"National Engineering School of Tunis","correspondingAuthor":true,"prefix":"","firstName":"Mohamed","middleName":"","lastName":"Slimane","suffix":""},{"id":534274836,"identity":"a6ca55f3-c05a-4b1b-9023-9be9d900e418","order_by":1,"name":"Neila Bedioui","email":"","orcid":"","institution":"University of Carthage","correspondingAuthor":false,"prefix":"","firstName":"Neila","middleName":"","lastName":"Bedioui","suffix":""},{"id":534274837,"identity":"10329894-3977-43fe-bfd0-89510980b5c8","order_by":2,"name":"Mongi Besbes","email":"","orcid":"","institution":"University of Carthage","correspondingAuthor":false,"prefix":"","firstName":"Mongi","middleName":"","lastName":"Besbes","suffix":""}],"badges":[],"createdAt":"2025-09-19 08:38:19","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-7656296/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-7656296/v1","draftVersion":[],"editorialEvents":[{"content":"https://doi.org/10.1007/s41060-025-00978-7","type":"published","date":"2025-12-04T15:57:21+00:00"}],"editorialNote":"","failedWorkflow":false,"files":[{"id":94581985,"identity":"4f33c30e-7082-4edb-9741-5578c74306b5","added_by":"auto","created_at":"2025-10-28 18:12:52","extension":"docx","order_by":0,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":4423959,"visible":true,"origin":"","legend":"","description":"","filename":"PaperSARIMALagLengthSelectionImpact.docx","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/790bbcf6b7ad84ab15c6520b.docx"},{"id":94582603,"identity":"3bdcf715-286e-4de8-afa6-d57a2f2ab6de","added_by":"auto","created_at":"2025-10-28 18:13:17","extension":"json","order_by":1,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":5638,"visible":true,"origin":"","legend":"","description":"","filename":"9273691b39574a91951cc5e891249968.json","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/afd334eef0fb540dcef74965.json"},{"id":94581785,"identity":"c440f0b7-97fe-4b9b-9e84-2077f6158604","added_by":"auto","created_at":"2025-10-28 18:12:43","extension":"xml","order_by":2,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":165239,"visible":true,"origin":"","legend":"","description":"","filename":"9273691b39574a91951cc5e8912499681enriched.xml","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/2e26d5b59f828419743daa43.xml"},{"id":94582628,"identity":"a87f3dcb-e0b0-469d-b077-23e2931d097c","added_by":"auto","created_at":"2025-10-28 18:13:19","extension":"png","order_by":3,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":54175,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage1.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/3ac19798a8abf30eb845904a.png"},{"id":94581989,"identity":"8f087444-2ecb-4894-b0ed-11dc6e2d7929","added_by":"auto","created_at":"2025-10-28 18:12:52","extension":"png","order_by":4,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":22399,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage10.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/880aa197740772b2c4aebd3a.png"},{"id":94582482,"identity":"ec6f4a40-6a88-4ecf-b4c6-45feb741258d","added_by":"auto","created_at":"2025-10-28 18:13:12","extension":"png","order_by":5,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":115540,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage11.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/ebfb618eb5604c1bc83d1a8a.png"},{"id":94582699,"identity":"b72701b9-4850-4b28-bce8-fc2a153a8df4","added_by":"auto","created_at":"2025-10-28 18:13:23","extension":"png","order_by":6,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":15131,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage12.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/f718935849f88b9cc2afae61.png"},{"id":94581081,"identity":"2d777bfe-ac85-4ae6-8055-e9f26c889ea6","added_by":"auto","created_at":"2025-10-28 18:12:20","extension":"png","order_by":7,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":1290,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage13.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/1d9d75a01fb7802ec39ac0cd.png"},{"id":94580990,"identity":"235df442-620a-4e36-982e-5eb4c3dcefd2","added_by":"auto","created_at":"2025-10-28 18:12:18","extension":"emf","order_by":8,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":155816,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage14.emf","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/b90e17ef33dbbadf83042721.emf"},{"id":94581434,"identity":"dfa200ab-91df-4645-8f35-799631549e54","added_by":"auto","created_at":"2025-10-28 18:12:32","extension":"png","order_by":9,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":5078,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage15.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/345327a07d37075879db0fea.png"},{"id":94580914,"identity":"51ad0b07-5748-4c74-b485-36408ec1aff1","added_by":"auto","created_at":"2025-10-28 18:12:15","extension":"emf","order_by":10,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":184076,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage16.emf","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/875c0273b6843ebd30540ee3.emf"},{"id":94582624,"identity":"74b6be4e-4879-466d-a3a8-1e0398bf1a63","added_by":"auto","created_at":"2025-10-28 18:13:18","extension":"emf","order_by":11,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":428500,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage17.emf","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/9c98c7c426beb8feb4cd5772.emf"},{"id":94582630,"identity":"fe349d29-19e4-441d-96eb-fa4db2955dbf","added_by":"auto","created_at":"2025-10-28 18:13:20","extension":"jpeg","order_by":12,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":1074,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage18.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/8e4498c561815fa7e92ff8b1.jpeg"},{"id":94582623,"identity":"8477d5fa-c242-449b-af3d-8752b80befa7","added_by":"auto","created_at":"2025-10-28 18:13:18","extension":"emf","order_by":13,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":394788,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage2.emf","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/60203b0c23869d149990c1cc.emf"},{"id":94580898,"identity":"ee3b9a1c-8a3f-4421-b8fd-dc3ac7376e07","added_by":"auto","created_at":"2025-10-28 18:12:14","extension":"emf","order_by":14,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":106300,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage3.emf","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/4247aa6a15983e9c45c60d98.emf"},{"id":94582509,"identity":"c28b33c2-9f5e-472f-82bd-512a52ea825d","added_by":"auto","created_at":"2025-10-28 18:13:12","extension":"png","order_by":15,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":13896,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage4.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/18ec61e9f712e8df6f8c608d.png"},{"id":94580516,"identity":"e4958083-2948-4f58-8ce5-5017faa64d14","added_by":"auto","created_at":"2025-10-28 18:12:02","extension":"png","order_by":16,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":22735,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage5.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/64f43e74c3ab8e1e8654ba4e.png"},{"id":94582843,"identity":"311b69ad-a951-4ec9-bc07-44d8fe954337","added_by":"auto","created_at":"2025-10-28 18:13:31","extension":"jpeg","order_by":17,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":13003,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage6.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/21e3b243de12566aa502a73b.jpeg"},{"id":94582173,"identity":"de84ac72-9318-4529-a50e-26951960094f","added_by":"auto","created_at":"2025-10-28 18:12:59","extension":"png","order_by":18,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":11348,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage7.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/c389e35e2d4b62dd069fc366.png"},{"id":94582532,"identity":"51d5bf48-5e7d-4c0a-b586-09bc1af26af5","added_by":"auto","created_at":"2025-10-28 18:13:13","extension":"png","order_by":19,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":8450,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage8.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/b265d2fbb40386ff0157ff49.png"},{"id":94580614,"identity":"a65bce3c-cce8-4cf2-838b-654eafa72e9a","added_by":"auto","created_at":"2025-10-28 18:12:06","extension":"png","order_by":20,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":8935,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage9.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/1f17fa4222c5acd974d7a742.png"},{"id":94581411,"identity":"b6f29bc8-20ee-4bb1-a4e4-6d14c804cd0e","added_by":"auto","created_at":"2025-10-28 18:12:31","extension":"jpeg","order_by":21,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":12411,"visible":true,"origin":"","legend":"","description":"","filename":"groupimage1.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/89cae0e86368efd5f188217f.jpeg"},{"id":94582839,"identity":"f5d34645-6e98-4d4a-814c-ce25cace89d2","added_by":"auto","created_at":"2025-10-28 18:13:30","extension":"png","order_by":22,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":16762,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage1.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/41a8e890818355356605aefe.png"},{"id":94581662,"identity":"7b5ae428-d47d-41d1-b72f-7392004f0b62","added_by":"auto","created_at":"2025-10-28 18:12:37","extension":"png","order_by":23,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":5086,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage10.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/f3d67ff8a1e36e00101d65b1.png"},{"id":94581987,"identity":"41089d82-e73b-478e-b3a7-7c4d42ca64e4","added_by":"auto","created_at":"2025-10-28 18:12:52","extension":"png","order_by":24,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":32198,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage11.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/af670d61f4b3a274a7e49e91.png"},{"id":94582631,"identity":"5f2f12c0-5c0e-4740-8265-bd0060d1b473","added_by":"auto","created_at":"2025-10-28 18:13:20","extension":"png","order_by":25,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":3682,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage12.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/e9a7e22e2f1dfd028974fe0e.png"},{"id":94581896,"identity":"6073ec4d-43a0-49ef-a7c0-b2172ea2d162","added_by":"auto","created_at":"2025-10-28 18:12:48","extension":"png","order_by":26,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":555,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage13.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/ac088d12918f9db14f20e640.png"},{"id":94580905,"identity":"287fbc7b-b605-4281-be9c-62869970a715","added_by":"auto","created_at":"2025-10-28 18:12:15","extension":"png","order_by":27,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":732622,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage14.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/e76d7f6fbc2b3bffdf325bb1.png"},{"id":94581671,"identity":"f4a28cc0-1bb7-4fb5-8363-bdb2acf10773","added_by":"auto","created_at":"2025-10-28 18:12:38","extension":"png","order_by":28,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":1370,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage15.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/f6bd477c4fe30dbd2a74f056.png"},{"id":94582530,"identity":"c3e8b9f7-b280-439f-a173-20a11d675b2b","added_by":"auto","created_at":"2025-10-28 18:13:13","extension":"png","order_by":29,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":350769,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage16.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/044ff25272302f6bf2ebb120.png"},{"id":94581863,"identity":"a6d2def1-d4bd-47f5-a926-23903c1acfba","added_by":"auto","created_at":"2025-10-28 18:12:47","extension":"png","order_by":30,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":541664,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage17.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/9b7471edfd32419ed94ca15f.png"},{"id":94581941,"identity":"87b0508d-2a00-4ef5-ace8-a2e1b010e9e2","added_by":"auto","created_at":"2025-10-28 18:12:50","extension":"png","order_by":31,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":935,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage18.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/3d321cd5706609b4f2077948.png"},{"id":94580520,"identity":"e26b6f22-686f-458c-b723-92cdde8bf03e","added_by":"auto","created_at":"2025-10-28 18:12:03","extension":"png","order_by":32,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":257157,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage2.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/e302ee2c5d9b2c2333f1ece8.png"},{"id":94581419,"identity":"f522cc84-baef-48a6-852b-916cca0942ab","added_by":"auto","created_at":"2025-10-28 18:12:31","extension":"png","order_by":33,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":227512,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage3.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/e1ec8fe7305c8ddf577e7fe8.png"},{"id":94582629,"identity":"ba129d21-dfd7-4740-ab6d-ae6e091a931e","added_by":"auto","created_at":"2025-10-28 18:13:19","extension":"png","order_by":34,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":2926,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage4.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/6851f56ad11a002cdbe177f6.png"},{"id":94581678,"identity":"81f5c0f8-6495-4429-9e02-cdbe451296a7","added_by":"auto","created_at":"2025-10-28 18:12:38","extension":"png","order_by":35,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":4741,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage5.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/6c697261197201bde794b67a.png"},{"id":94581675,"identity":"8829fd6f-d0da-45ba-9d32-dfe34f3acd39","added_by":"auto","created_at":"2025-10-28 18:12:38","extension":"png","order_by":36,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":3889,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage6.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/0a9ff372e910464be61810ac.png"},{"id":94582080,"identity":"f3d19e2b-443d-4e50-bd65-471b8eb07362","added_by":"auto","created_at":"2025-10-28 18:12:54","extension":"png","order_by":37,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":2536,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage7.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/0434b9cc1c299e30d907697f.png"},{"id":94582168,"identity":"8a35280c-bd50-46a0-95f0-876027ab1984","added_by":"auto","created_at":"2025-10-28 18:12:58","extension":"png","order_by":38,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":1975,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage8.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/9fb2cab7f2168e3393afcf2e.png"},{"id":94582475,"identity":"0dad8486-9497-4dd7-9d92-cc13c546cec1","added_by":"auto","created_at":"2025-10-28 18:13:11","extension":"png","order_by":39,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":2021,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage9.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/34df09d5dc10edbcb6d328a4.png"},{"id":94595601,"identity":"dfa2fe1e-67a7-4a0a-bd98-5d6c493551cc","added_by":"auto","created_at":"2025-10-28 18:35:23","extension":"png","order_by":40,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":12799,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinegroupimage1.png","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/3035403003d643225a7addb7.png"},{"id":94582622,"identity":"8c126175-2fe8-4d93-8c94-d793ad615789","added_by":"auto","created_at":"2025-10-28 18:13:18","extension":"xml","order_by":41,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":159488,"visible":true,"origin":"","legend":"","description":"","filename":"9273691b39574a91951cc5e8912499681structuring.xml","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/33c8e40b56d9f231bd37195a.xml"},{"id":94582106,"identity":"b2db6372-44fb-4d31-a922-088e5eae2094","added_by":"auto","created_at":"2025-10-28 18:12:54","extension":"html","order_by":42,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":175429,"visible":true,"origin":"","legend":"","description":"","filename":"earlyproof.html","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1/fc682c203fb0933d73993408.html"},{"id":97724093,"identity":"54ce10fc-354c-4b9c-8156-40d11d6d2862","added_by":"auto","created_at":"2025-12-08 16:11:48","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1072142,"visible":true,"origin":"","legend":"","description":"","filename":"PaperSARIMALagLengthSelectionImpact.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7656296/v1_covered_2a9116fd-a751-4cba-8540-30d68790d376.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Lag-Length Hyperparameter Impacts on Unit Root Testing: Toward Robust SARIMA Integration Order Estimation","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":false,"highlight":"","institution":"","isAcceptedByJournal":true,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"international-journal-of-data-science-and-analytics","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"jdsa","sideBox":"Learn more about [International Journal of Data Science and Analytics](http://link.springer.com/journal/41060)","snPcode":"41060","submissionUrl":"https://submission.nature.com/new-submission/41060/3","title":"International Journal of Data Science and Analytics","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"em","reportingPortfolio":"Springer Hybrid","inReviewEnabled":true,"inReviewRevisionsEnabled":false},"keywords":"Natural gas demand, SARIMA, Unit Root Testing, Integration orders, Lag length","lastPublishedDoi":"10.21203/rs.3.rs-7656296/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-7656296/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eAccurate estimation of integration orders (d,D) is a foundational step in SARIMA modeling, directly influencing model stationarity, predictive performance, and structural stability. However, the sensitivity of these estimates to lag-length hyperparameterization within unit root testing procedures remains underexplored. This study investigates the computational impact of various lag-selection strategies\u0026mdash;specifically AIC, BIC, HQIC, t-statistics, and rule-based heuristics\u0026mdash;on the determination of differencing orders in the context of natural gas demand forecasting. Using high-resolution hourly consumption data from ten Gas Pressure Reducing and Metering Stations (GPRMS) in Central Tunisia (2015\u0026ndash;2023), we conduct extensive simulations across multiple temporal aggregations (weekly, monthly, quarterly). Integration orders were derived using the Augmented Dickey-Fuller (ADF) and Kwiatkowski-Phillips-Schmidt-Shin (KPSS) tests, applied under varying lag-length configurations. The resulting SARIMA models were benchmarked using MAPE and the Overall Weighted Average (OWA) metrics. Results reveal significant variation in model performance tied to lag-length selection, particularly for low-frequency data, where BIC-based selection consistently achieved superior accuracy and stability. In contrast, t-stat heuristics led to over-differencing in some high-frequency cases. These findings highlight the critical role of lag-length specification in statistical preprocessing and provide practical recommendations for enhancing robustness in time series modeling workflows.\u003c/p\u003e","manuscriptTitle":"Lag-Length Hyperparameter Impacts on Unit Root Testing: Toward Robust SARIMA Integration Order Estimation","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-10-28 15:57:49","doi":"10.21203/rs.3.rs-7656296/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"decision","content":"Revision requested","date":"2025-10-31T09:49:54+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-10-31T08:54:29+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-10-20T11:06:54+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"317199911350440198330816751833920982969","date":"2025-10-16T07:30:44+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"293608995718549701629373190202561560106","date":"2025-10-15T14:02:05+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"18122951344863915306459564962566305214","date":"2025-10-14T09:57:53+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"105454385708511168483291962147500227057","date":"2025-10-14T08:00:00+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"267925499429896916164938230149174954957","date":"2025-10-14T05:05:51+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"83020163648463928542763503757054083469","date":"2025-10-14T04:58:50+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2025-10-14T04:52:52+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2025-10-14T02:32:15+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2025-09-20T05:31:16+00:00","index":"","fulltext":""},{"type":"submitted","content":"International Journal of Data Science and Analytics","date":"2025-09-19T08:28:19+00:00","index":"","fulltext":""}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"international-journal-of-data-science-and-analytics","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"jdsa","sideBox":"Learn more about [International Journal of Data Science and Analytics](http://link.springer.com/journal/41060)","snPcode":"41060","submissionUrl":"https://submission.nature.com/new-submission/41060/3","title":"International Journal of Data Science and Analytics","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"em","reportingPortfolio":"Springer Hybrid","inReviewEnabled":true,"inReviewRevisionsEnabled":false}}],"origin":"","ownerIdentity":"5895e98d-ebae-4da1-ba0c-30f501967422","owner":[],"postedDate":"October 28th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"published-in-journal","subjectAreas":[],"tags":[],"updatedAt":"2025-12-08T16:07:22+00:00","versionOfRecord":{"articleIdentity":"rs-7656296","link":"https://doi.org/10.1007/s41060-025-00978-7","journal":{"identity":"international-journal-of-data-science-and-analytics","isVorOnly":false,"title":"International Journal of Data Science and Analytics"},"publishedOn":"2025-12-04 15:57:21","publishedOnDateReadable":"December 4th, 2025"},"versionCreatedAt":"2025-10-28 15:57:49","video":"","vorDoi":"10.1007/s41060-025-00978-7","vorDoiUrl":"https://doi.org/10.1007/s41060-025-00978-7","workflowStages":[]},"version":"v1","identity":"rs-7656296","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-7656296","identity":"rs-7656296","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.