In this study, we propose a new agricultural data analysis method that can predict the weight during the growth stages of the field onion using a functional regression model. We have used onion weight on growth stages as the response variable and six environmental factors such as average temperature, average ground temperature, rainfall, wind speed, sunshine, and humidity as the explanatory variables in the functional regression model. We then define a least minimum integral squared residual (LMISE) measure to obtain an estimate of the function regression coefficient. In addition, a principal component regression analysis was applied to derive the estimates that minimize the defined measures. Next, to evaluate the performance of the proposed model, data were collected, and the following results were identified through analyses of the collected data. First, through graphical and correlation analysis, the ground temperature, mean temperature, and humidity have a very significant effect on the onion weights, but environmental factors such as wind speed, sunshine, and rainfall have a small negative effect on onion weights. Second, through functional regression analysis, we can determine that the ground temperature, sunshine, and precipitation have a significant effect on onion growth and are essential in the goodness-of-fit test. On the other hand, wind speed, mean temperature, and humidity did not significantly affect onion growth. In conclusion, to promote onion growth, the appropriate ground temperature and amount of sunshine are essential, the rainfall and the humidity must be low, and the appropriate wind or mean temperature must be maintained.