Discovering the Best Choice for Spline’s Knots and Intervals Using Order of Polynomial Regression Model
- 1 Department of Statistics, College of Arts and Science, University of Benghazi, Benghazi, Libya
- 2 Department of Mathematics, College Arts and Science, University of Benghazi, Benghazi, Libya
- 3 Department of Statistics, College of Science, University of Misurata, Misurata, Libya
Abstract
In this work, we seek the relationship between the order of the polynomial model and the number of knots and intervals that we need to fit the splines regression model. Regression models (polynomial and spline regression models) are presented and discussed in detail in order to discover the relation. Intrinsically, both models are dependent on the linear regression model. Spline is designed to draw curves to balance the goodness of fit and minimize the mean square error of the regression model. In the splines model, the curve at any point depends only on the observations at that point and some specified neighboring points. Using the boundaries of the intervals of the splines, we fit a smooth cubic interpolation function that goes through ( n + 1) data points. On the other hand, polynomial regression is a useful technique when the pattern of the data indicates a nonlinear relationship between the dependent and independent variables. Moreover, higher-degree polynomials can capture more intricate patterns, but it can also lead to overfitting. A simulation study is implemented to illustrate the performance of splines and spline segments based on the degree of the polynomial model. For each model, we compute the Akaike Information Criterion (AIC) and Bayesian Information Criterion (BIC) to compare the optimal polynomial order for fitting the data with the number of knots and intervals for the splines model. Both AIC and BIC can help to identify the model that best balances fit and complexity, aiming to prevent overfitting by penalizing the use of excessive parameters. We compare the results that we got from applying the polynomial regression model with the splines model results in terms of point estimates, the mean sum of squared errors, and the fitted regression line. We can say that order five of the polynomial model may be used to estimate splines with five segments.
- Green, P.J. and Silverman, B.W. (1993) Nonparametric Regression and Generalized Linear Models: A Roughness Penalty Approach. CRC Press. https://doi.org/10.1201/b15710
- Sykes, A.O. (1993) An Introduction to Regression Analysis. Coase-Sandor Institute for Law & Economics Working Paper No. 20.
- Hamad, F. and Kachouie, N.N. (2018) A Hybrid Method to Estimate the Full Parametric Hazard Model. Communications in Statistics — Theory and Methods , 48, 5477-5491. https://doi.org/10.1080/03610926.2018.1513149
- Elmesmari, N., Hamad, F. and Abdalla, A. (2021) Parameters Estimation Sensitivity of the Linear Mixed Model to Alternative Prior Distribution Specifications. Scholars Journal of Physics , Mathematics and Statistics , 8, 166-170. https://doi.org/10.36347/sjpms.2021.v08i09.001
- Hamad, F., Younus, N., Muftah, M.M. and Jaber, M. (2023) Specify Underlining Distribution for Clustering Linearly Separable Data: Normal and Uniform Distribution Case. Journal of Data Acquisition Processing , 38, 4675.
- Milliken, G.A., Bates, D.M. and Watts, D.G. (1990) Nonlinear Regression Analysis and Its Applications. Technometrics , 32, 219-220. https://doi.org/10.2307/1268866
- Kim, Y. and Oh, H. (2021) Comparison between Multiple Regression Analysis, Polynomial Regression Analysis, and an Artificial Neural Network for Tensile Strength Prediction of BFRP and GFRP. Materials , 14, Article 4861. https://doi.org/10.3390/ma14174861
- Theil, H. (1950) A Rank-Invariant Method of Linear and Polynomial Regression Analysis. Indagationes Mathematicae , 12, 173.
- Jaber, M., Hamad, F., Breininger, R.D. and Kachouie, N.N. (2023) An Enhanced Spatial Capture Model for Population Analysis Using Unidentified Counts through Camera Encounters. Axioms , 12, Article 1094. https://doi.org/10.3390/axioms12121094
- Hamad, A., Abdulkarim, S. and Hamad, F. (2023) First Order Harmonic Flow of Heavy Quarks Using a Hybrid Transport Model. Scholars Journal of Physics , Mathematics and Statistics , 10, 49-52. https://doi.org/10.36347/sjpms.2023.v10i02.001
- Griggs, W. (2013) Penalized Spline Regression and Its Applications. Whitman Coll. https://www.whitman.edu/Documents/Academics/Mathematics/Griggs.pdf
- Keele, L. (2007) Semiparametric Regression for the Social Sciences. Wiley. https://doi.org/10.1002/9780470998137
- Jaber, M., Breininger, R.D., Hamad, F. and Kachouie, N.N. (2024) Spatiotemporal Bayesian Machine Learning for Estimation of an Empirical Lower Bound for Probability of Detection with Applications to Stationary Wildlife Photography. Computers , 13, Article 255. https://doi.org/10.3390/computers13100255