Abstract
The article deals with the definition and estimation of the parameters of a nonlinear regression model using a genetic algorithm. Parameter estimation is a type of optimization problem that can be solved using stochastic algorithms, which presents the possibility of using such algorithms to fit nonlinear regression models. The trees data set, which displays the non-linear relationship between traits, was investigated. The nonlinear method of least squares (NLS) was used to find the coefficients of the regression equation using a genetic algorithm on the trees data set belonging to the spuRs library. The set contains 1200 observations and three variables: tree ID; age of the tree; volume of wood. Visual analysis revealed the presence of additional signs that affect the volume of wood. Only data for trees with a certain location are selected for further work. As a result, the sample has 12 observations and two variables. The dependence of the volume of wood (Vol) on the age of the tree (Age) was analyzed. Attention to tree locations made it possible to choose the Richards logistic function as a functional dependence, nonlinear both in terms of parameters and variables. A genetic algorithm was used to estimate the parameters of the Richards function. The result of the work of the genetic algorithm depends on how its parameters are configured. When implementing the genetic algorithm, the following parameters were set: population size; the maximum number of iterations after which the work of the genetic algorithm stops; the number of consecutive generations without any improvement in the value of the fitness function before stopping the algorithm. A random scheme was used for the selection operation. A mutation operation involves changing a randomly selected bit. The type of crossover operation is one-point. Coefficients of nonlinear models were calculated for randomly selected tree locations. The coefficient of determination R2 was used to assess the quality of the models.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have