Modelling and Forecasting of Pulse Crop Area and Production in Selected Districts of Telangana Using Generalized Additive Models
Abstract
A statistical modelling framework was developed using a 30-year time-series dataset (1993-2022) to analyse and forecast the area, production, and productivity of pulse crops in three districts of Telangana state, namely Adilabad, Mahbubnagar, and Nizamabad. Several competing models, including linear, quadratic, exponential, monomolecular, and Generalized Additive Models (GAM), were evaluated for forecasting performance. Model selection was based on diagnostic criteria such as the coefficient of determination (R²), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE). The results consistently indicated that the Generalized Additive Model outperformed the other models across all districts and variables. The GAM effectively captured the non-linear trends in pulse crop cultivation, providing reliable forecasts of area, production, and productivity. The findings highlight the suitability of GAM for agricultural time-series forecasting and offer valuable insights into the dynamics of pulse crop cultivation in Telangana, emphasizing the importance of robust statistical models for informed planning and policy formulation.
Full Text
Tables and figures are in the full-text PDF.
Introduction
Rapid climatic changes, increasing population pressure, and shrinking arable land pose significant challenges to global food and nutritional security. In this context, food legumes play a crucial role due to their high protein content and ability to supplement cereal-based diets, particularly in developing countries such as India (Savadatti, 2017) [9] . Pulses not only contribute to nutritional security but also enhance soil fertility through biological nitrogen fixation, thereby supporting sustainable agricultural systems (Darekar and Reddy, 2017) [4] . India occupies a dominant position in global pulse production, accounting for nearly 90% of the world's red gram (pigeon pea) cultivation and approximately 75% of Bengal gram (chickpea) production. Major pulse-producing states in the country include Maharashtra, Uttar Pradesh, Rajasthan, Madhya Pradesh, Andhra Pradesh, and Telangana (Vishwajith et al, 2014) [12] . In Telangana, pulse crops occupy a substantial share of the cultivated area. During 2021-22, pulses accounted for about 16.1% of the total cropped area and nearly 31.6% of the area under food grains. The total area under pulse cultivation in the state was approximately 5.17 lakh hectares, with a production of 5.49 lakh tonnes. Among the pulses grown, Bengal gram, red gram, black gram, and green gram together contributed nearly 94.33% of the state's total pulse production. Bengal gram is one of the most important pulse crops in Telangana, widely used in various forms such as whole grain and flour for the preparation of diverse food products. During 2021-22, Bengal gram was cultivated over 1.28 lakh hectares in the state, producing about 2.38 lakh tonnes with an average productivity of 1,668 kg ha⁻¹. Red gram also occupies a prominent position in pulse cultivation, covering an area of about 2.95 lakh hectares with a production of 1.75 lakh tonnes and an average productivity of 596 kg ha⁻¹ during the same period.
Accurate forecasting of agricultural variables such as area, production, and productivity is essential for effective planning and policy formulation (Rahman et al, 2013) [8] . Forecasting enables stakeholders to anticipate future trends based on historical data, thereby assisting farmers, researchers, and policymakers in making informed decisions related to resource allocation, crop planning, and market interventions (Mishra et al, 2021) [6] . Given the inherent variability in agricultural systems, both linear and non-linear statistical models are increasingly employed to capture complex trends in crop performance. In this backdrop, the present study aims to analyse historical trends and forecast future patterns in the area, production, and productivity of Bengal gram and red gram in three major pulse-growing districts of Telangana, namely Adilabad, Mahbubnagar, and Nizamabad. The study employs a range of statistical models, including linear, quadratic, exponential, monomolecular, and Generalized Additive Models (GAM), to identify the most suitable approach for pulse crop forecasting. The findings of this study are expected to provide valuable insights for agricultural planning, policy formulation, and future research aimed at enhancing pulse production and ensuring sustainable agricultural growth in the region.
Materials and Methods
A. Data Collection
The present study is based on secondary time-series data on area, production, and productivity of Bengal gram and red gram for a period of 30 years (1993-2022). District-wise data for Adilabad, Mahbubnagar, and Nizamabad of Telangana state were collected from the Statistical Abstracts of Telangana, the Directorate of Economics and Statistics (DES), and the Indiastat database (www.indiastat.com).
B. Statistical Models
To analyse growth patterns and generate forecasts, both linear and non-linear statistical models were employed. The models considered in the study include linear, quadratic, exponential, monomolecular, and Generalized Additive Models (GAM). These models were fitted separately for area, production, and productivity of each crop and district.
C. Generalized Additive Model (GAM)
The Generalized Additive Model was fitted using the local scoring algorithm, which iteratively estimates weighted additive models through the backfitting procedure. The backfitting algorithm is a Gauss-Seidel method that fits additive components by repeatedly smoothing partial residuals. This approach separates the parametric and nonparametric components of the model and estimates the parametric part using weighted least squares within the iterative framework (Ahmed et al, 2020) [1] . A generalized additive model can be expressed as a sum of smooth functions of predictor variables (Hastie and Tibshirani, 1987) and is represented as:
Where, 𝑌 𝑡 = represents area or production in time period 𝑡, 𝑓(𝑡)= 𝛼 0 + 𝑏 𝑡 (𝑡)𝛼, represents the smooth function of the time 𝑡, where 𝛼 is some parameter and 𝑏 𝑡 (𝑡) are the basis function. The following are the three nonlinear growth curves, which were used to describe the growth of present time-series.
D. Model Adequacy and Diagnostic Criteria
Model performance was evaluated using multiple diagnostic statistics to ensure robustness and reliability of forecasts.
E. Coefficient of Determination (R²)
The coefficient of determination (R²) measures the proportion of variability in the dependent variable explained by the fitted model and serves as an indicator of goodness of fit (Marcillo et al, 2021) [5] . It is defined as:
Where, 𝐸𝑆𝑆 = Error sum of squares, 𝑅𝑆𝑆 = Regression sum of squares and 𝑇𝑆𝑆 = Total sum of squares The value of 𝑅 2 ranges between 0 and 1, with values closer to 1 indicating a better model fit. Adjusted 𝑅 2 was also considered to account for model complexity.
F. Mean Absolute % age Error (MAPE)
Mean Absolute%age Error (MAPE) is a widely used, scaleindependent measure for evaluating forecast accuracy. It expresses prediction errors as%ages, allowing comparison across different series. MAPE is given by:
Where, 𝑌 𝑖 = Actual values, 𝑌 ̂𝑖= Predicted values and 𝑛 = number of observations The model with the lowest MAPE value was considered superior (Chattopadhyay and Mitra, 2018) [2] .
G. Root Mean Square Error (RMSE)
Root Mean Square Error (RMSE) measures the average magnitude of prediction errors and reflects the model's ability to capture variability in the data (Sullivan and Hileman, 2020). It is computed as:
H. Model Selection and Forecasting
The best-fitting model for each crop, district, and variable was selected based on the combined performance of 𝑅 2 , RMSE, and MAPE values. The selected models were then used to generate forecasts for area, production, and productivity up to the year 2027.
Results and Discussion
Bengal Gram Area and Production Adilabad District Among the competing models, the Generalized Additive Model (GAM) emerged as the best-performing model for forecasting both area and production of Bengal gram in Adilabad district, as evidenced by the highest 𝑅 2 values and the lowest RMSE, MSE, and MAPE values. The superior performance of GAM indicates its ability to capture nonlinear temporal trends present in the historical data (Solanki et al, 2017) [10] . Based on GAM projections, the area under Bengal gram is expected to increase steadily from 32.11 thousand hectares in 2023 to 36.09 thousand hectares by 2027. Similarly, production is projected to rise from 21.90 thousand tonnes to 25.79 thousand tonnes during the same period. The upward trend suggests favourable conditions and increasing adoption of Bengal gram cultivation in the district. The observed and forecasted trends further demonstrate the smooth growth pattern captured by the GAM, reinforcing its suitability for time-series forecasting of pulse crops.
Mahbubnagar District
In Mahbubnagar district, GAM was identified as the most appropriate model for forecasting Bengal gram area and production due to its superior diagnostic performance, similar to the results of Chen et al, 2019 [3] . The projected area under Bengal gram is expected to increase from 6.88 thousand hectares in 2023 to 8.97 thousand hectares by 2027.
Correspondingly, production is forecasted to rise from 131.09 thousand tonnes to 146.23 thousand tonnes. The increasing trend reflects gradual expansion of Bengal gram cultivation in the district, possibly driven by improved agronomic practices and market demand. The GAM's flexibility allowed it to effectively model the underlying nonlinear growth pattern observed in the historical data.
Red Gram Adilabad District
The GAM model was found to be the best-fitting model for forecasting red gram area and production in Adilabad district. Forecasts indicate a marginal but steady increase in area from 44.38 thousand hectares in 2023 to 44.49 thousand hectares by 2027. Production is projected to rise from 42.21 thousand tonnes to 47.69 thousand tonnes over the same period.
Although the expansion in cultivated area is relatively modest, the increase in production suggests improvements in productivity or crop management practices. The GAM effectively captured these subtle trends, which were not adequately represented by linear or other non-linear models.
Mahbubnagar District
In Mahbubnagar district, GAM demonstrated the highest forecasting accuracy for red gram. The area under red gram is projected to increase substantially from 146.34 thousand hectares in 2023 to 162.18 thousand hectares by 2027.
Production is expected to rise from 69.26 thousand tonnes to 72.75 thousand tonnes during the forecast period. The pronounced upward trend reflects the district's growing reliance on red gram cultivation. The flexibility of GAM allowed it to model the accelerating growth pattern effectively, making it a robust tool for medium-term agricultural forecasting.
Nizamabad District
For Nizamabad district, the GAM model again outperformed other models for red gram forecasting. The projected area under red gram is expected to increase from 4.42 thousand hectares in 2023 to 4.81 thousand hectares by 2027. Production is forecasted to rise from 3.89 thousand tonnes to 4.45 thousand tonnes. Although the scale of cultivation is comparatively smaller, the consistent upward trend highlights the gradual expansion of red gram in the district. The GAM successfully captured these incremental changes, demonstrating its suitability even for districts with relatively smaller cultivated areas.
Overall Discussion
Across all districts and crops, the Generalized Additive Model consistently outperformed linear, quadratic, exponential, and monomolecular models. Its superior performance can be attributed to its ability to model complex, non-linear relationships without imposing rigid functional forms. The findings align with earlier studies that reported the effectiveness of GAM in agricultural and environmental forecasting. The increasing trends observed for both Bengal gram and red gram across the three districts underscore the growing importance of pulse crops in Telangana's agricultural landscape. Reliable forecasts generated through GAM can support informed decision-making related to crop planning, resource allocation, and policy formulation.
Summary
The present study examined the temporal trends and forecasted the area and production of two major pulse crops, Bengal gram and red gram, across three important pulsegrowing districts of Telangana state-Adilabad, Mahbubnagar, and Nizamabad. A 30-year district-level timeseries dataset (1993-2022), obtained from official sources including the Directorate of Economics and Statistics, Telangana, and Indiastat, was analysed using various statistical growth models. Both linear and non-linear models, namely linear, quadratic, exponential, monomolecular, and Generalized Additive Models (GAM), were fitted separately for area and production of each crop and district. Model performance was evaluated using diagnostic criteria such as the coefficient of determination (𝑅 2 ), Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Mean Absolute%age Error (MAPE). Based on these criteria, the GAM consistently emerged as the most appropriate model across crops and districts. Using the best-fitting GAM, forecasts were generated up to the year 2027. In Adilabad district, Bengal gram area and production are projected to reach 36.09 thousand hectares and 25.79 thousand tonnes, respectively. In Mahbubnagar district, the corresponding forecasts indicate an area of 8.96 thousand hectares and a production of 4.41 thousand tonnes by 2027. In Nizamabad district, Bengal gram area and production are expected to reach 11.28 thousand hectares and 21.65 thousand tonnes, respectively. For red gram, GAM-based projections indicate that in Adilabad district, the area and production are expected to reach 44.49 thousand hectares and 47.69 thousand tonnes by 2027. In Mahbubnagar district, red gram is projected to cover 162.18 thousand hectares with a production of 72.75 thousand tonnes. In Nizamabad district, the projected area and production of red gram are 4.81 thousand hectares and 4.45 thousand tonnes, respectively.
Conclusion
The study demonstrates that the Generalized Additive Model is a robust and reliable approach for modelling and forecasting pulse crop area and production under non-linear and dynamic agricultural conditions. Compared to traditional linear and parametric non-linear models, GAM exhibited superior performance in capturing temporal variability, as reflected by higher 𝑅 2 values and lower RMSE, MSE, and MAPE values. The forecast results indicate a consistent upward trend in both Bengal gram and red gram cultivation across all three districts of Telangana, highlighting the increasing importance of pulse crops in the state's agricultural system. These projections provide valuable insights for policymakers, extension agencies, and researchers in planning future crop strategies, resource allocation, and market interventions. Overall, the study underscores the importance of adopting flexible and data-driven modelling techniques such as GAM for agricultural forecasting. The findings can serve as a useful reference for future research aimed at enhancing pulse productivity and ensuring sustainable agricultural development in Telangana and similar agro-climatic regions.
References
- Ahmed M, Ahmad S, Hayat R, Raza MA. Application of generalized additive model for rainfall forecasting in rainfed Pothwar, Pakistan. Systems Modeling. Singapore. 2020;1-10.
- Chattopadhyay M, Mitra SK. Assessing the predictability of different kinds of models in estimating impacts of climatic factors on food grain availability in India. Opsearch. 2018;55(1):50-64.
- Chen K, O'Leary RA, Evans FH. A simple and parsimonious generalized additive model for predicting wheat yield in a decision support tool. Agric Syst. 2019;173:140-150.
- Darekar A, Reddy AA. Price forecasting of pulses: case of pigeonpea. J Food Legumes. 2017;30(3):212-216.
- Marcillo GS, Martin NF, Diers BW, Da Fonseca Santos M, Leles EP, Chigeza G, Francischini JH. Implementation of a generalized additive model (GAM) for soybean maturity prediction in African environments. Agronomy. 2021;11(6):1043.
- Mishra P, Yonar A, Yonar H, Kumari B, Abotaleb M, Das SS, Patil SG. State of the art in total pulse production in major states of India using ARIMA techniques. Curr Res Food Sci. 2021;4:800-806.
- Rahman NMF, Imam MF. Growth, instability and forecasting of pigeon pea, chickpea and field pea pulse production in Bangladesh. Bangladesh J Agric Econ. 2008;31:81-95.
- Rahman NMF, Aziz MA, Rahman MM, Mohammad N. Modeling on grass pea and mung bean pulse production in Bangladesh using ARIMA model. IOSR J Agric Vet Sci. 2013;6(1):20-31.
- Savadatti PM. Trend and forecasting analysis of area, production and productivity of total pulses in India. Indian J Econ Dev. 2017;5(12):1-10.
- Solanki HU, Bhatpuria D, Chauhan P. Applications of generalized additive model (GAM) to satellite-derived variables and fishery data for prediction of fishery resources distributions in the Arabian Sea. Geocarto Int. 2017;32(1):30-43.
- Sullivan RM, Hileman JP. Time series modeling and forecasting of a highly regulated riverine system: implications for fisheries management. Calif Fish Wildl. 2020;106:221-259.
- Vishwajith KP, Dhekale BS, Sahu PK, Mishra P, Noman MD. Time series modeling and forecasting of pulses production in India. J Crop Weed. 2014;10(2):147-154.
How this paper connects to the literature. Drag to explore, click any node to open that paper.
