In this paper we develop a method for constructing a paired regression model in the class of piecewise linear continuous functions with fixed nodes. The concept of linear division of the correlation field, its partial sections and its nodes is introduced into consideration. Using the linear division of the correlation field, a class of piecewise linear functions with fixed nodes is determined. The linear division is revealed during the visual analysis of the correlation field. Using the least squares method, a system of linear equations is compiled to find point estimates of the parameters of the approximating function. With the exception of two unknown angular coefficients (unknown) this system is reduced to a tridiagonal system of equations, the unknowns of which are the nodal values of the approximating function. The tridiagonal system is solved by the run-through method. An algorithm was constructed to demonstrate the operation of the developed method. Its initial data is arrays of the corresponding values of the explanatory and dependent variables, as well as an array of numbers of the right ends of the intervals defining the nodes. An array of fixed nodes is constructed from an array of values of the explanatory variable and an array of numbers of the right ends of the intervals. Next, an array of point estimates of the parameters of the approximating function is constructed. This algorithm is implemented in Python in the form of user-defined functions.
Read full abstract