Abstract
Purpose: To analyze the stochastic dynamics of fertilizer prices in Brazil by developing a synthetic NPK futures index weighted by Brazil’s fertilizer imports, and proposing a benchmark for over-the-counter (OTC) derivative development.
Originality/value: This is the first study to implement stochastic convenience-yield modeling in Brazilian fertilizer markets, with a replicable methodology applicable to other agricultural commodity markets.
Design/methodology/approach: Quantitative study using daily urea futures prices from the CME (Jun/2019 – Apr/2024) and monthly import data (Feb/2020 – Apr/2024). The Schwartz two-factor model is estimated using the Kalman filter to extract the stochastic convenience yield. A weighted NPK index (urea, MAP, potassium chloride) is constructed, and the filtered yield is applied to generate the synthetic futures index. Johansen cointegration tests, VECM, and minimum variance hedge ratios assess long-term relationships and hedging effectiveness.
Findings: The synthetic index showed strong adherence to spot prices, with backwardation of -6.87%. Cointegration tests (trace: 61.55, p<0.01) confirmed a stable long-term equilibrium. Hedging effectiveness reached 95.8%, with hedge ratios ranging from 0.54 to 0.64 and significant deterioration beyond 5% volatility.
Contribution/implications: Extends the commodity derivatives literature to an emerging-economy context, offering a practical benchmark for OTC derivatives and dynamic hedging strategies.
Keywords:
fertilizers; urea; stochastic modeling; derivatives; futures prices
Resumo
Objetivo: Explicar a dinâmica estocástica dos preços de fertilizantes no Brasil por meio de um índice sintético de futuros NPK ponderado pelas importações brasileiras, propondo um benchmark para o desenvolvimento de derivativos de balcão (OTC).
Originalidade/valor: Primeiro estudo a aplicar o convenience yield estocástico ao mercado brasileiro de fertilizantes, com metodologia replicável em outros mercados agrícolas.
Design/metodologia/abordagem: Estudo quantitativo com preços diários dos futuros de ureia da CME (jun/2019 – abr/2024) e dados mensais de importação (fev/2020 – abr/2024). O modelo de dois fatores de Schwartz é estimado por meio de um filtro de Kalman para extrair o convenience yield estocástico. Um índice NPK ponderado (ureia, MAP e cloreto de potássio) é construído, e o yield filtrado é aplicado para gerar o índice sintético futuro. Testes de cointegração de Johansen, VECM e hedge ratio de mínima variância avaliam as relações de longo prazo e a efetividade do hedge.
Resultados: O índice sintético apresentou forte aderência aos preços à vista, com backwardation de –6,87%. A cointegração (traço: 61,55; p < 0,01) confirmou um equilíbrio estável de longo prazo. A efetividade do hedge atingiu 95,8%, com ratios variando de 0,54 a 0,64 e uma deterioração significativa acima de 5% de volatilidade.
Contribuição/implicações: Estende a literatura sobre derivativos de commodities a um contexto de economia emergente, oferecendo um benchmark prático para derivativos OTC e para estratégias de hedge dinâmico.
Palavras-chave:
fertilizantes; ureia; modelagem estocástica; derivativos; preços futuros
INTRODUCTION
In recent years, the fertilizer market has faced significant challenges, including supply chain disruptions during the COVID-19 pandemic and the Russia-Ukraine conflict. Brazil relies heavily on fertilizer imports, with 86% of its 2022 volume imported. Russia, the major supplier, accounted for 20% of Brazil’s imports (SNA, 2022). In 2022, potassium chloride prices surged by 150% in the first half compared to 2021. Over the last five years (2018-2023), Brazil’s fertilizer import composition has been: potassium chloride (38%), urea (22%), and monoammonium phosphate (MAP) (14%), collectively representing 74% of total imports (CEPEA, 2023). Brazil’s dependence on imported fertilizers makes price volatility a major concern for local producers, as these inputs account for a significant share of operational costs. Tools like futures and swaps can help manage this risk. However, access to fertilizer derivatives, such as those traded on the Chicago Mercantile Exchange (CME), remains limited, particularly for small and mediumsized producers.
This paper aims to develop a synthetic derivative fertilizer index based on the weighted average of Brazil’s fertilizer imports. The derivative is decomposed using daily urea futures price series contracts traded on the CME, using the first contract expiration, since June 2019. First, we apply the Kalman filter to extract the dynamic convenience yield and spot price from urea futures contracts, using the Schwartz 2-factor Model. Second, we combine spot prices for urea, MAP, and potassium, weighted by monthly import volumes, to generate a weighted NPK index (where N represents nitrogen from urea, P represents phosphorus from MAP, and K represents potassium) in USD. We then apply the convenience yields as the stochastic component to model synthetic future NPK index prices. Additionally, cointegration tests and vector error correction models (VECMs) assess the interdependence between prices and the effectiveness of futures prices as a hedging tool. Finally, we apply a minimum-variance hedge ratio to analyze the sensitivity and robustness of the relationship between spot and synthetic NPK prices.
Based on the research objectives, this study tests four main hypotheses. H1 (Model Specification): The Schwartz two-factor model with stochastic convenience yield adequately captures the dynamics of urea futures prices. H2 (Index Construction): A synthetic NPK futures index constructed from Brazil’s main fertilizer imports provides a representative benchmark for fertilizer price movements. H3 (Long-term Relationship): A stable cointegration relationship exists between spot and synthetic NPK futures indices. H4 (Hedging Effectiveness): The synthetic NPK futures index effectively hedges spot price risk for Brazilian producers.
This study contributes to fertilizer market literature as the first to apply stochastic convenience yield modeling specifically to Brazilian fertilizer markets. The framework provides a replicable methodology for other agricultural commodity markets and offers Brazilian producers a potential benchmark for developing over-the-counter (OTC) derivatives.
The remainder of the paper is organized as follows. Section 2 presents the theoretical background and literature review. Section 3 describes the methodology and data treatment. Section 4 presents the model parameters, application, cointegration tests, hedge ratio analysis, and a discussion of the results. Section 5 concludes with practical implications and future research directions.
Stochastic models and convenience yield applied to commodities
Although commodities are traded in cash, their prices are primarily formed in the futures market. Under simplified and intuitive assumptions, commodity prices can be modeled as following a random walk, represented by geometric Brownian motion. However, this fails to capture mean-reverting price behavior over time, as capital adjusts to microeconomic dynamics. This dynamic leads to backwardation (short-term futures prices higher than long-term prices) and contango (long-term prices higher than short-term prices).
Beyond spot and future dynamics, the convenience yield (also called the cost of carrying) represents the rate of return for owning the physical commodity rather than a futures contract. This yield captures short-term deviations from the futures curve, bridging physical storage and futures markets through inventory fluctuations. Gibson & Schwartz (1990) proposed a two-factor model where the spot price follows a stochastic process and the convenience yield reverts to its mean. Schwartz (1997) further expanded these models, incorporating stochastic convenience yields for pricing futures contracts.
In the two-factor approach introduced by Schwartz & Smith (2000), the spot price is decomposed into two distinct components: an equilibrium price level that follows a geometric Brownian motion (GBM) with drift, and short-run deviations that exhibit arithmetic mean reversion to zero. Additionally, other researchers considered stochastic convenience yield with Poisson jump factors (Hilliard & Reis, 1998; Deng, 2000; Crosby, 2008). In introducing stochastic volatility in the convenience yield, Liu & Tang (2011) used a regime-switching framework, and Chen et al. (2022) studied seasonal effects on price modeling.
Another stream of literature investigates multi-factor models for oil and gas forward curves. Ladokhin et al. (2021) introduce a two-factor model measuring stochastic volatility. Lai & Mellios (2016) proposed a three-factor model using West Texas Intermediate (WTI) contracts and U.S. Treasury bills as the third factor (interest rates). Ladokhin & Borovkova (2021) also apply the Kalman filter to Brent oil futures using a three-factor model, incorporating a synthetic spot price, a stochastic level of mean reversion, and an analog of the stochastic convenience yield. Studies also find applications in the electricity market (Lucia & Schwartz, 2002; Weron, 2008; Higgs & Worthington, 2008) and mineral commodities (Fernandez, 2020).
Stochastic models and convenience yield applied to agricultural derivatives
Supply obeys specific harvesting cycles for agricultural commodities and is especially dependent on seasonal factors. Agricultural commodities offer benefits from physical ownership that futures contracts do not, especially during shortages. The convenience yield represents this benefit and reduces the cost of replicating futures contract payoffs. The initial step in our research is to obtain the convenience yield of urea futures prices using the Kalman filter, based on Schwartz (1997). Extending this model, Kacowicz (2012) calibrated it for cattle contracts, and Aiube et al. (2020) for soybean scenarios.
Sorensen (2002) investigated the stochastic behavior of corn, soybeans, and wheat, using the Kalman filter. The study provides empirical evidence of a negative relationship between inventory levels and convenience yields. Geman & Nguyen (2005) demonstrated an inverse relationship between price volatility and inventory on the term structure of soybean futures prices from the United States, Brazil, and Argentina. Ma, Ma, & Wu (2020) addressed seasonality by incorporating time-varying functions into the convenience yield volatility process.
The literature specifically focused on fertilizer markets has grown in recent years. Applying the EGARCH model before and after the 2007 financial crisis, Lahmiri (2017b) documented asymmetric and persistent responses in fertilizer price volatility, showing that negative shocks have stronger effects than positive ones, with implications for hedging strategies. Lahmiri (2017a) examined cointegration and causal relationships between different regimes, demonstrating that fertilizer markets became more closely linked during periods of high volatility, particularly after the 2007 financial crisis – a relevant case for our study, which relates to periods of high price fluctuations and crises such as the Russia-Ukraine conflict. Diammonium phosphate (DAP), urea, and potassium chloride are among the fertilizers examined in both analyses. Taken together, these studies suggest that hedging effectiveness deteriorates under market stress conditions. In a complementary study, Lahmiri & Bekiros (2018) investigated mean-variance relationships using entropy-based methods and found complex nonlinear relationships.
Understanding fertilizer price formation also requires examining linkages with related markets. Sanyal et al. (2015) investigated the impact of energy price variability on global fertilizer prices, applying alternative volatility models, including GARCH and GJR, to identify how fluctuations in petroleum and natural gas prices propagate through fertilizer markets. Investigating price and volatility transmission among natural gas, ammonia, and corn markets, Etienne et al. (2016) found significant relationships between fertilizer and corn prices but a weak association with natural gas, despite natural gas’s role in nitrogen production. Expanding on this perspective, Yang et al. (2022) revisited the transmission of price and volatility across the same markets, showing that the strength of these linkages varies over time, weakening in the post-2010 period. Kim & Brorsen (2017) constructed an autoregressive forecasting model for urea prices, while Maples et al. (2019) studied hedge ratios for urea and DAP swaps, indicating poor performance as short-term hedging instruments but improved effectiveness after six weeks in protecting against risk. In a complementary dimension, Khabarov & Obersteiner (2017) examined the 2008 phosphate price spike, emphasizing how national policies amplify price shocks. And Tröster (2023) used linear optimization to assess the value of organic fertilizer, highlighting the role of framework in fertilizer economics.
Despite this literature, studies applying stochastic convenience yield models to fertilizer derivatives remain limited. Our approach uniquely combines Kalman filtering of urea convenience yields, construction of a weighted NPK index reflecting Brazil’s import composition, and application of filtered yields to generate synthetic futures. We apply the daily convenience yield of urea, derived from the two-factor model, to the weighted index as a daily adjustment. We intend to test cointegration using the Johansen test and a VECM to understand short- and long-term relationships. We use a minimum-variance hedge ratio to understand better the relationship between the spot index and the synthetic future.
Fertilizer market background
The post-pandemic recovery and geopolitical risks from the Ukraine war disrupted global supply chains, affecting agricultural production costs. As IPEA (2024) highlights, both events caused immediate price increases, particularly for fertilizers such as ammonia and urea, which rely on natural gas. Russian exports accounted for 23% of the ammonia market, 21% of potassium, 14% of urea, and 10% of phosphate. This hit food-exporting countries like Brazil especially hard. Fertilizer prices surged, with urea rising from around US$400 in 2020 to US$1,000 in April 2022. Although prices have stabilized, they remain above 2020 levels due to ongoing geopolitical risks. Figure 1 below shows the spot price movement of the three fertilizers.
After the price spike, geopolitical risks persist. Brazilian producers sought alternative suppliers, with nitrogen fertilizer imports, especially urea, increasingly coming from the Middle East and North Africa. Oman, Qatar, and Nigeria became major exporters to Brazil in 2023, replacing some of Russia’s supply and highlighting the need for supplier diversification (Green Markets, 2024).
Despite new suppliers, the war made clear the strong dependence of Brazilian agribusiness on imported fertilizers. As noted by MDIC (2023), Brazil accounts for 8.3% of global consumption, behind only China (24%), India (14.6%), and the United States (10.3%). However, Brazil has low domestic production, making it the world’s largest importer of fertilizers. Currently, more than 87% of the fertilizers used in Brazilian agriculture are imported, amounting to US$25 billion per year.
METHODOLOGY
This section describes the proposed method by Schwartz (1997). It first briefly introduces Schwartz’s one-factor model, then describes in detail the two-factor model and the Kalman filter used in the study.
Schwartz one-factor model (1997)
It is commonly noted that energy (and other commodity) prices display a mean-reverting pattern. Early models incorporated mean reversion in commodity spot prices. These models were essentially one-factor models, with the spot price as the sole stochastic factor influencing the evolution of forward curves, such as the Schwartz (1997) one-factor model. The model defines the temporal dynamics of the spot price according to the stochastic process below:
The k variable is the speed of mean reversion; σ is the volatility of the spot price, and dWt is the standard Wiener increment. As described in Bastian-Pinto et al. (2009), a common and intuitive assumption is to consider that μ represents the long-term mean level, such that μ = lnS̅. The variable S̅ is the price equilibrium level to which the process reverts in the long run, which provides:
Assuming X = lnS and applying Ito’s Lemma1, the variable log price is characterized by an Ornstein-Uhlenbeck (OU) process, which provides the mean , and the equation is adjusted as:
This transformation allows the price variable S not to present negative values. It is also desirable that the model is equivalent in the risk-neutral2, measure, being written as follows:
To model the increment dt in a discrete interval Δt, the stochastic variable must be discretized. In this way, the future price FT = E [St] is priced considering Xt an Ornstein-Uhlenbeck (OU) process discretized in the risk-neutral measure, according to equations (5) and (6). Finally, we arrive at the expression of the futures contract as described in equation (7).
It is worth noting that Schwartz (1997) obtained statistical evidence of mean reversion for both oil and copper prices. The model relies on constant mean μ. Such a mean is hard to calibrate, as it can change significantly over time. As described in Ladokhin & Borovkova (2021), this model is unrealistic for several reasons. It has only one stochastic factor, which is not enough to explain all variability in the forward curve’s shape. Although the volatility of futures prices is, as expected, a decreasing function of time to maturity, it approaches zero for long maturities, which is not empirically observed.
Schwartz two-factor model (1997)
The second model was proposed by Gibson and Schwartz (1990) as a closed-form formula for futures prices. The model describes the dynamics of the underlying spot price St and the stochastic convenience yield δt. The convenience yield represents the benefit or premium of holding the physical commodity instead of a futures contract. It varies by maturity and changes over time. They jointly follow stochastic processes:
The W1 and W2 are two correlated Brownian motions. In the model, the convenience yield (δt) follows an OU mean reversion stochastic process, and its effect on the spot price occurs in the drift (term that multiplies dt). The convenience yield plays an analogous role to a continuous dividend yield in stock price modeling. If the convenience yield were deterministic in this form δt = κ lnS, this model would reduce to a one-factor model. Assuming X = lnS and applying Itô’s lemma, the first equation is reduced to:
In the risk-neutral measure, the parameter λ (market risk premium) is introduced for the convenience yield, since it cannot be hedged. In this model, λ is considered constant over time. Then, the model is solved by a partial differential equation, with condition F(S,δ,0) = S. The solution to the equation3 can be simplified as:
Where:
In this model for both oil and copper, there was a strong indication of mean reversion. A lower degree of mean reversion was also obtained when longer maturities were used for oil futures. Schwartz (1997) suggests that this small degree of mean reversion may be spurious and capture a mean reversion of interest rates4. In general, it presented itself as a model that was more in line with the price series.
Kalman filter estimation
The Kalman filter5 is a recursive algorithm that allows for the sequential estimation of the value of latent variables in dynamic systems represented in the space state form. When the perturbations and the initial state vectors are normally distributed, the filter enables calculation of the likelihood function and estimation of unknown parameters, providing a basis for statistical tests. At each iteration, the Filter takes as input an estimate for the vector Xt conditional on the information known up to time t − 1 and the value of yt, and thus calculates the expectation for Xt + 1.
To facilitate implementation, it is convenient to write the equations governing the dynamics of stochastic processes in State Space form. The representation of systems in State Space allows models to be described in terms of unobservable variables. Schwartz’s two-factor model can be expressed in this format. Once the model has been molded into this shape, the likelihood can be calculated and maximized numerically.
State space
Considering yt a vector of future prices (nx1) observed on date t and αt a state vector (2x1) for the spot price and the convenience yield. The state-space representation of the y dynamics is given by the linear system below.
Where εt ~ N (0, I2) and 㮷t ~ N (0, In) · Ft and Ht are assumed to be time-invariant. The error in the yt equation is assumed to be independent. Therefore:
The above simplification is necessary when a not-so-small number of contracts is used. Optimized parameters grow quadratically with the number of contracts when estimating the covariances of each pair of maturities.
To organize the equations X = log S, Δt = tk+1− tk, and nt (i) represent the time to maturity for the contract expiration Ft (i). Using the functions A(T) and B(T) from equations (16) and (17), the components of the state space are defined as follows:
The next step is to write the measurement equation. As the spot price is not observable, the price of the n most liquid future traded is used as an observable variable. The discretized measurement equation (23) and the matrix formation (24) for pricing futures contracts are represented below.
Data treatment
The data used for the model application were daily urea futures price series contracts, traded on the Chicago Mercantile Exchange (CME)6. The contract consists of the Urea (Granular) Futures Free On Board (FOB) United States Gulf Coast (USGC). To reflect the liquidity of the contracts, we have used the first contract since 10/06/2019. The model is applied via the R package schwartz977. Figure 2 below shows the urea price series.
To calculate the fertilizer index, we used import data from Bloomberg’s Green Markets report, weighting monthly import volumes (in tons) to the respective average spot prices of urea (N), MAP (P), and potassium (K), starting in February 2020. Since the import volume is recorded monthly, the initial assembly of the index is limited to this periodicity.
The index was calculated by weighting import volumes (x/ton), available monthly, and respective average spot prices of the commodities urea (N), MAP (P), and potassium (K), starting from February 2020. We expect this index to serve as a representative parameter that reflects both price movements and trade volumes in fertilizers. Details in formula (25) below.
Where:
f – weighted commodities
Vf – import volume in the month m
Pf – spot price in the month m
The synthetic NPK future index is based on the daily convenience yield generated by the 2-factor model. The synthetic future adjustment starts from the monthly reference value calculated for the weighted NPK index. The convenience yield is applied to adjust the daily future value.
Specifically, the construction process works as follows: we begin with the weighted index price from the previous month, then apply daily convenience yield adjustments throughout the current month. At month-end, we update the base value with the newly calculated weighted index and repeat the process sequentially. At the end of the month, we update the value with the weighted index and repeat the process sequentially. The synthetic NPK corresponds to:
Where:
NPK Indexm – index value on the last business day of the previous month m δt – daily convenience yield
We have the first day of February (03/02/2020) as the initial register, using the monthly index price from January 2020 as the reference for the weighted index’s first register. For each new month, this dynamic is reapplied, updating the weighted index’s value on the last business day of the month. Finally, we smoothed the observed synthetic NPK values using the Cubic Spline8 method.
MODEL PARAMETERS AND APPLICATION
The two-factor model captures the joint dynamics of the spot price and convenience yield as state variables. Its parameters describe the behavior of these variables under physical and risk-neutral probability measures. The model was simulated 5,000 times. Given their greater liquidity, the calibration process uses urea future price contracts with the first maturity. The dataset included a total of 1,277 daily observations, starting from 10/06/2019. The table below presents the parameters obtained through maximum-likelihood estimation using the Kalman filter.
The initial price S0 for the contract is assumed in the table below, and the convenience yield (δ0) on the initial date starts from 0. The volatilities of the price (σS) and the convenience yield (σE) are estimated by the model. To a better fit, the k (convenience yield speed of mean-reversion) was held constant at 1, as package parameters9 suggestions. The risk-free interest rate is set at 3%. The parameters can be found in the table below:
The parameter estimation and model convergence provide initial support for H1 (Model Specification), suggesting that the Schwartz two-factor model with stochastic convenience yield adequately captures urea futures price dynamics.
Spot price and convenience yield
The filtered time series of spot prices is presented in the figures below. In Figure 3, we show the estimated spot price (in red) compared with the price of the historical futures contract (in blue). The prices show good adherence. Generally, process estimation is naturally accurate because the value directly affects the price level. In Figure 4, we observe a mean-reversion tendency in the estimated convenience yield.
Regarding a brief statistical description of the two parameters (see table below), the spot price has an estimated mean price of USD 393.83 and a standard deviation of USD 172.36. During the analysis period, the series ranged from USD 704.96, reinforcing the large price variation. The series exhibits positive asymmetry (1.022), indicating a long right tail, with most values concentrated below the mean but some very high values that pull the distribution to the right. The kurtosis value of 3.10 indicates a leptokurtic distribution, which implies a moderately sharp peak and heavier tails. Although it also exhibits leptokurtic characteristics, the kurtosis value is closer to normality than the convenience yield kurtosis, as shown below.
The convenience yield has a mean of 0.0067, with values ranging from -0.1227 to 0.1131. The presence of negative returns and the median result suggest a slight negative asymmetry in the data. With additional insights, skewness is slightly negative (-0.0629), indicating a slightly left-skewed distribution. The value of 3.30 indicates a leptokurtic distribution, suggesting a sharper peak and heavier tails compared to a normal distribution. This pattern suggests a greater concentration of data points around the mean and a greater likelihood of extreme values.
Model application
In this section, we applied the parameters to price the synthetic future index. Table 3 presents descriptive statistical results comparing spot index and synthetic futures. The results show that the synthetic future follows the spot index well. The mean and median results suggest that the synthetic model can reasonably replicate the central tendency of observed prices. The synthetic index exhibits a slightly higher standard deviation (253.12 vs. 244.19) and a broader price range (964.93 vs. 931.20), both of which are expected and desirable for a futures-based index, as they should amplify short-term price fluctuations while maintaining the overall trend.
Both indices have the same asymmetry value (0.95) with a slight positive slope. There is a greater probability of values above the average than below. The spot NPK kurtosis (2.92) indicates a platykurtic distribution, suggesting a flatter shape than a normal distribution. In this case, the data are more dispersed around the mean and have fewer extreme values.
The synthetic NPK kurtosis value of 2.74 suggests a flatter distribution and significant dispersion of the data. Specifically, indicates more uniformly distributed values around the mean and a reduced probability of extreme values occurring. Figure 5 below illustrates the NPK spot index series and the respective synthetic future. The results show that the synthetic model can reproduce the index’s general behavior quite efficiently, with a slight tendency to increase volatility and widen the price range.
These results support H2 (Index Construction), demonstrating that the synthetic NPK futures index derived from Brazil’s main fertilizer imports serves as a representative benchmark for fertilizer price movements. The close alignment between synthetic and spot indices validates the weighted construction methodology.
Model application for forward curve projection
After the parameters were defined, it was possible to project the forward curve of the NPK synthetic future. For this purpose, we use the model parameters and the index last price registered on 30/04/2024 (USD 346.94). The projection of monthly movement over two years is illustrated in Figure 6.
Analyzing the dynamics of equations (13) and (14), it is expected that the spot price drift is negative in the case of δt > r. This case leads to backwardation, and the opposite applies to a contango scenario. Given the established parameters, the model projects a price for the NPK future at USD 323.08 (a downside of 6.87% from the price defined on the initial date). The projection follows the downward trend of the contract in the analyzed series, to some extent corresponding to a backwardation scenario.
Cointegration tests
In this section, we examine the cointegration between the two series (spot NPK and synthetic NPK). To do so, we use the Johansen test (1988), which verifies the existence of one or more cointegration relationships among non-stationary series. Before the test, we perform the Augmented Dickey-Fuller (ADF) unit root test to assess the stationarity of the asset price time series. The test verifies whether a time series has a unit root (non-stationary) as the null hypothesis (H0), and the alternative hypothesis (H1) when the series does not have a unit root (is stationary). The test results for the logarithmic variables are presented in the following Table.
Both results indicate a high p-value and consequent non-stationarity of the series, which allows the application of the proposed cointegration model. The Johansen test verifies whether there is a cointegration vector, which represents a long-term relationship between the series. The null hypothesis (H0) of the Johansen test is that there is no cointegration (no long-term relationship), and the alternative hypothesis (H1) is that there is at least one cointegration relationship. The test statistic, known as the trace statistic λtrace, is given by:
Where:
T: number of observations
λ̂: eigenvalues
r: number of hypothesized cointegration relationships
Below, we present statistics for the test and analysis of the results:
-
r ≤ 1: Test statistic = 1.54, less than the critical value for 10% (7.52). We fail to reject the null hypothesis that there is at most one cointegrating vector.
-
r = 0: Test statistic = 61.55, greater than the critical value for 1% (24.60). We reject the null hypothesis that there are no cointegrating vectors (r = 0).
The test indicates at least one cointegrating vector, suggesting insufficient evidence to reject the hypothesis that the series are cointegrated. These cointegration results strongly support H3 (Long-term Relationship), confirming the existence of a stable cointegration relationship between the spot and synthetic NPK futures indices.
Vector error correction model
Also seeking short-term relationships, we used the Vector Error Correction Model (VECM), introduced by Engle & Granger (1987) and expressed as follows:
Where:
Δyt: first order difference of the variable yt
ectt−1: error correction term
β: long-term error adjustment coefficient
y: short-term coefficients
c: contstant
Specifically, the ectt−1 of the spot series (-0.09137) indicates that 9.1% of the deviation from the long-run equilibrium is adjusted in each period for the series. Regarding the lag of the variables, the series presents a negative effect (-0.12774) on the own lag and a positive effect (0.50811) on the independent series, indicating that changes in the synthetic affect the spot price. While the ectt−1 of the synthetic series has a coefficient of -0.01185, also significant at the 1% level, suggesting a slower correction. Regarding the lags, the coefficient of 0.5991 of the own lag indicates positive and significant autocorrelation. With the dependent series, the impact is also positive and significant (0.082730). Below, we consolidate the results and also test the logarithmic variables.
The coefficient equations indicate that the variable ectt−1 has a significant effect on the short-term changes of both series, suggesting that the error correction adjusts the discrepancies between the series in the long run. The result also suggests that the cointegration relationship between spot NPK and synthetic NPK was adjusted over time. After analyzing the VECM model, we tested the stationarity of the residuals of the equations generated for spot and synthetic. Both were also tested via ADF, suggesting that the residuals are stationary. The results confirm that the VECM is suitable for describing the long-term relationship among the variables, given the stationarity of the equations’ residuals.
The VECM results further reinforce H3, providing evidence of both short-term dynamics and long-term equilibrium adjustment mechanisms between the series.
Hedge ratio
The hedge ratio (HR) measures the proportion of an asset used to protect the exposure of another asset against price changes. In this case, the values indicate the number of futures contracts required to cover the exposure to the underlying asset’s risk. The minimum variance hedge ratio, introduced by Johnson (1960), is a widely used method. Adjusted for the study, it will be estimated by:
Where HRMV represents the minimum variance hedge ratio, cov denotes covariance, and var denotes variance. The Hedge Ratio was 0.958. The model suggests that a synthetic contract can be used to hedge about 95.8% of the risk associated with spot prices. We added a risk analysis, a sensitivity test, and a robustness test to the analysis. This baseline result provides initial support for H4 (Hedging Effectiveness). We sought to verify how the hedge ratio behaves under different conditions.
Risk analysis
To measure the effectiveness of synthetic futures as a hedging tool, a risk analysis is an important aspect of understanding the volatility and potential losses associated with a hedging strategy. We use three metrics to measure the risk of synthetic price series: Standard Deviation (StD), Value at Risk (VaR), and Expected Shortfall (ES). Specifically for each metric, we have the results below:
-
StD: We apply the standard deviation to log returns to measure market price volatility.
-
VaR: calculated to determine the largest expected loss with a given confidence level (5% in this case).
-
ES: measures the average of losses exceeding VaR, representing extreme risk.
The daily volatility of synthetic NPK is relatively low (0.887%). The 5% VaR indicates that, with 95% confidence, synthetic can have losses of up to 1.09%. While the Expected Shortfall for synthetic NPK was −0.01889. The result implies that when losses exceed the VaR, the synthetic market incurs losses of up to 1.889%. After obtaining the risk metrics, we tested the hedge ratio’s sensitivity and robustness in the next section.
Sensitivity and robustness test
To assess the stability of our synthetic NPK futures index as a hedging instrument, we conducted temporal sensitivity and noise-based robustness tests. For temporal sampling, we divided observations into two equal chronological subsamples: Early Period (February 2020 to August 2021) and Late Period (September 2021 to April 2024). The Early Period resulted in an HR of 0.5352, indicating a smaller adjustment required between spot and synthetic prices. In contrast, the Late Period HR was 0.6431. This increase suggests that synthetic movements became more sensitive to spot movements toward the end of the period. Overall, these results indicate that the hedge ratio varies over time, with synthetic prices becoming increasingly responsive to spot price dynamics. The rise in HR suggests improved market integration and a stronger correlation between the two series.
To conduct a Noise-based Robustness Test of the hedging strategy, we added Gaussian noise (with a standard deviation set to a specified level) to log returns to simulate external market fluctuations. Three levels were tested: 1%, 5%, and 10%. The hedge ratios were reduced to 0.2091, -0.0057, and -0.068, respectively. Table 9 consolidates these results.
The sensitivity and robustness tests reveal important limitations to H4. While the synthetic index demonstrates strong hedging performance under normal conditions, effectiveness varies substantially across time periods and degrades significantly under market stress, suggesting that H4 is only partially confirmed.
DISCUSSION OF RESULTS
Our empirical findings provide comprehensive evidence for the four research hypotheses and reveal important practical and theoretical insights. The Model Specification (H1) was confirmed, as the Schwartz two-factor model effectively captured the dynamics of urea futures prices. The filtered spot price and convenience yield exhibited theoretically consistent statistical properties.
The NPK Index Construction (H2) showed good alignment with the weighted spot NPK index, confirming that Brazil’s import-weighted construction serves as a representative benchmark. The observed backwardation in our forward curve (-6.87% over two years) aligns with Gibson & Schwartz (1990) and reflects tight supply conditions in which convenience yields exceed risk-free rates. This creates economic incentives for immediate procurement rather than delayed purchases – strategically relevant given Brazil’s 86% import dependency and geopolitical supply disruptions.
The Long-term Relationship (H3) received support from multiple tests. Johansen cointegration tests reject the null hypothesis (test statistic: 61.55, significant at 1% level), confirming a stable long-term equilibrium. The VECM analysis revealed error correction coefficients of -0.09137 for the spot index and -0.01185 for the synthetic index (both significant at the 1% level), indicating adjustment speeds of 9.1% and 1.2% per period, respectively. The coefficient of 0.50811 on the synthetic NPK lag in the spot equation suggests that synthetic prices provide price discovery benefits that lead spot market movements.
The Hedging Effectiveness (H4) was partially confirmed with important nuances. The baseline minimum variance hedge ratio of 0.9579 indicates that approximately 95.8% of spot price risk can be hedged under normal market conditions—a performance exceeding previous fertilizer hedging studies. Maples et al. (2019) found that urea and DAP swaps exhibited poor short-term hedging effectiveness. Our improvement likely stems from: (i) Brazil-specific import weights; (ii) incorporation of stochastic convenience yields; and (iii) synthetic construction reflecting actual NPK composition. However, sensitivity analysis revealed substantial temporal variation and deterioration in stress periods. The hedge ratio increased from 0.5352 (early period) to 0.6431 (late period), aligning with Lahmiri’s (2017b) findings that fertilizer markets become more closely linked during periods of high volatility. Conversely, noise-based robustness tests showed degradation. This deterioration is consistent with documented minimum-variance hedging behavior during crises (Hull, 2018), in which correlation breakdown occurs due to risk amplification.
These findings have practical implications for Brazilian producers. First, the synthetic index protects against normal conditions but requires complementary strategies during periods of high volatility, such as currency hedging and inventory diversification. Second, the temporal variation suggests the need for dynamic hedging strategies that adapt to market regimes. Third, risk thresholds indicate the synthetic index retains value under normal conditions, but producers should scale down exposure beyond 5% volatility.
From a financial perspective, the hedge ratio helps producers mitigate exposure to spot price exposure under market conditions. This can translate into productive gains such as stabilized cash flows and reduced working capital needs. The synthetic index also provides a transparent, model-based benchmark for fertilizer prices, strengthening producers’ negotiating positions – particularly important for small and medium-sized producers lacking sophisticated market intelligence infrastructure.
CONCLUSIONS
In this paper, we applied the Schwartz two-factor model to describe the dynamics of future urea prices, filtering their stochastic convenience yield using Kalman filtering. Using daily urea futures prices from June 2019 to April 2024 and monthly Brazilian import data from February 2020 to April 2024, we extracted spot price and convenience yield series that closely track observed market prices. We then constructed a weighted NPK spot index using monthly Brazilian import data and applied the daily convenience yield to generate a synthetic NPK futures index.
The Schwartz two-factor model effectively captured the dynamics of urea futures prices, confirming that stochastic convenience yield modeling is appropriate for fertilizer markets. The synthetic NPK index construction proved successful, providing a representative benchmark based on Brazil’s import composition. The synthetic index showed good adherence to spot prices, with a forward curve exhibiting backwardation, consistent with tight supply conditions analyzed in the fertilizer markets. Strong cointegration relationships and vector error correction mechanisms confirmed a stable long-term equilibrium between the spot and synthetic series. The hedging effectiveness hypothesis was partially confirmed: The synthetic index demonstrated strong baseline performance, though effectiveness varied substantially across time periods.
This study makes important contributions to fertilizer market literature as the first to apply stochastic convenience yield modeling specifically to Brazilian fertilizer markets. The complete methodological framework provides a replicable approach for other agricultural commodity markets. For Brazilian agricultural producers, the synthetic NPK index could serve as a potential benchmark for OTC derivative development. The temporal sensitivity analysis revealed that hedging relationships can strengthen over time in response to structural shocks, whereas noise-based robustness tests showed that their effectiveness degrades during market stress.
As a research limitation, the two-factor model assumes constant interest rates and ignores stochastic volatility and seasonal effects. Static hedge ratios ignore time-varying correlations. Transaction costs, liquidity constraints, basis risk, and optimal recalibration frequency are not incorporated. Future research could introduce stochastic volatility, as in Ladokhin et al. (2021), or fit three-factor models, as in Lai & Mellios (2016) and Ladokhin & Borovkova (2021). Additionally, future studies could investigate advanced hedging strategies that integrate machine learning techniques. For instance, Zhang & Huang (2021) demonstrated LSTM-RNN models applied to option hedging under market frictions, while Li et al. (2024) employed deep learning for volatility prediction and for constructing dynamic hedging strategies. Building on these contributions, future research could further compare the performance of diverse machine learning approaches – such as XGBoost and Random Forests with traditional statistical models (GARCH family-type) in capturing volatility dynamics and enhancing hedging effectiveness across varying market conditions and asset classes.
As Brazil navigates the transition toward fertilizer self-sufficiency, effective risk management tools remain essential for managing residual import exposure and price volatility. In this context, this study contributes both to academic literature on commodity derivatives and to the practical enhancement of agricultural risk management – an area vital to Brazilian economic competitiveness.
1
2
3
4
5
6
7
9
Open data
The contents underlying the research text are included in the manuscript.
REFERENCES
-
Aiube, F. A. L., Ferreira, B. C. F., & Levy, A. (2020). Modelo de fatores para commodities e cenários de preços no curto prazo: O caso da soja. Estudos Econômicos, 50(1), 159–182. https://doi.org/10.1590/0101-41615016fba
» https://doi.org/10.1590/0101-41615016fba -
Bastian-Pinto, C. L., Brandão, L., & Hahn, W. J. (2009). Flexibility as a source of value in the production of alternative fuels: The ethanol case. Energy Economics, 31(3), 411–422. https://doi.org/10.1016/j.eneco.2009.02.004
» https://doi.org/10.1016/j.eneco.2009.02.004 -
Bloomberg. (2024). Fertilizer futures and spot data https://www.bloomberg.com
» https://www.bloomberg.com -
CEPEA. (2023). Com forte dependência do mercado externo, setor nacional de fertilizantes enfrenta desafios https://www.cepea.esalq.usp.br
» https://www.cepea.esalq.usp.br -
Chen, S. H., Chiou-Wei, S. Z., & Zhu, Z. (2022). Stochastic seasonality in commodity prices: The case of US natural gas. Empirical Economics, 62(5), 2263–2284. https://link.springer.com/article/10.1007/s00181-021-02094-4
» https://link.springer.com/article/10.1007/s00181-021-02094-4 -
CME. (2024). CBOT fertilizer set https://www.cmegroup.com
» https://www.cmegroup.com -
Crosby, J. (2008). A multi-factor jump-diffusion model for commodities. Quantitative Finance, 8(2), 181–200. https://doi.org/10.1080/14697680701253021
» https://doi.org/10.1080/14697680701253021 -
Deng, S. (2000). Stochastic models of energy commodity prices and their applications: Mean-reversion with jumps and spikes (Working Paper PWP-073). University of California Energy Institute. https://haas.berkeley.edu/wp-content/uploads/pwp073.pdf
» https://haas.berkeley.edu/wp-content/uploads/pwp073.pdf -
Engle, R. F., & Granger, C. W. J. (1987). Co-integration and error correction: Representation, estimation, and testing. Econometrica, 55(2), 251–276. https://doi.org/10.2307/1913236
» https://doi.org/10.2307/1913236 -
Etienne, X. L., Trujillo-Barrera, A., & Wiggins, S. (2016). Price and volatility transmissions between natural gas, fertilizer, and corn markets. Agricultural Finance Review, 76(1), 151–171. https://doi.org/10.1108/AFR-10-2015-0044
» https://doi.org/10.1108/AFR-10-2015-0044 -
Fernandez, V. (2020). The predictive power of convenience yields. Resources Policy, 65, 101532. https://doi.org/10.1016/j.resourpol.2019.101532
» https://doi.org/10.1016/j.resourpol.2019.101532 -
Geman, H., & Nguyen, V. (2005). Soybean inventory and forward curve dynamics. Management Science, 51(7), 1076–1091. https://www.jstor.org/stable/20110399
» https://www.jstor.org/stable/20110399 -
Gibson, R., & Schwartz, E. S. (1990). Stochastic convenience yield and the pricing of oil contingent claims. The Journal of Finance, 45(3), 959–976. https://doi.org/10.1111/j.1540-6261.1990.tb05114.x
» https://doi.org/10.1111/j.1540-6261.1990.tb05114.x -
Green Markets. (2024). Bloomberg Green Markets Brazil https://www.green-markets.com
» https://www.green-markets.com - Hamilton, J. D. (1994). Time series analysis Princeton University Press.
-
Higgs, H., & Worthington, A. (2008). Stochastic price modeling of high volatility, mean-reverting, spike-prone commodities: The Australian wholesale spot electricity market. Energy Economics, 30(6), 3172–3185. https://doi.org/10.1016/j.eneco.2008.04.006
» https://doi.org/10.1016/j.eneco.2008.04.006 -
Hilliard, J. E., & Reis, J. (1998). Valuation of commodity futures and options under stochastic convenience yields, interest rates, and jump diffusions in the spot. Journal of Financial and Quantitative Analysis, 33(1), 61–86. https://doi.org/10.2307/2331378
» https://doi.org/10.2307/2331378 - Hull, J. C. (2018). Options, futures, and other derivatives (10th ed.). Pearson.
-
IPEA (2024). Os conflitos bélicos recentes e os preços [Box 1]. Carta de Conjuntura, 62(27), 43–46. https://www.ipea.gov.br/cartadeconjuntura/wp-content/uploads/2024/04/240403_cc_62_nota_27.pdf
» https://www.ipea.gov.br/cartadeconjuntura/wp-content/uploads/2024/04/240403_cc_62_nota_27.pdf -
Johansen, S. (1988). Statistical analysis of cointegration vectors. Journal of Economic Dynamics and Control, 12(2–3), 231–254. https://doi.org/10.1016/0165-1889(88)90041-3
» https://doi.org/10.1016/0165-1889(88)90041-3 -
Johnson, L. L. (1960). The theory of hedging and speculation in commodity futures. The Review of Economic Studies, 27(3), 139–151. https://doi.org/10.2307/2296076
» https://doi.org/10.2307/2296076 -
Kacowicz, L. (2012). Calibração do modelo Gibson-Schwartz para dados de commodities no Brasil [Master’s thesis, Instituto Nacional de Matemática Pura e Aplicada]. https://impa.br/wp-content/uploads/2017/08/projetos_fim_curso_leon_kacowicz.pdf
» https://impa.br/wp-content/uploads/2017/08/projetos_fim_curso_leon_kacowicz.pdf -
Khabarov, N., & Obersteiner, M. (2017). Global phosphorus fertilizer market and national policies: A case study revisiting the 2008 price peak. Frontiers in Nutrition, 4(22). https://doi.org/10.3389/fnut.2017.00022
» https://doi.org/10.3389/fnut.2017.00022 -
Kim, S., & Brorsen, B. W. (2017). Forecasting urea prices. Applied Economics, 49(49), 4970–4981. https://doi.org/10.1080/00036846.2017.1296554
» https://doi.org/10.1080/00036846.2017.1296554 -
Ladokhin, S., & Borovkova, S. (2021). Three-factor commodity forward curve model and its joint P and Q dynamics. Energy Economics, 101, 105418. https://doi.org/10.1016/j.eneco.2021.105418
» https://doi.org/10.1016/j.eneco.2021.105418 -
Ladokhin, S., Schmeck, M. D., & Borovkova, S. (2021). Commodity forward curves with stochastic time change [Preprint]. SSRN https://papers.ssrn.com/sol3/papers.cfm?abstract_id=387168
» https://papers.ssrn.com/sol3/papers.cfm?abstract_id=387168 -
Lai, A. N., & Mellios, C. (2016). Valuation of commodity derivatives with an unobservable convenience yield. Computers & Operations Research, 66, 402–414. https://doi.org/10.1016/j.cor.2015.03.007
» https://doi.org/10.1016/j.cor.2015.03.007 -
Lahmiri, S. (2017a). Cointegration and causal linkages in fertilizer markets across different regimes. Physica A, 471, 181–189. https://doi.org/10.1016/j.physa.2016.12.033
» https://doi.org/10.1016/j.physa.2016.12.033 -
Lahmiri, S. (2017b). Asymmetric and persistent responses in price volatility of fertilizers through stable and unstable periods. Physica A, 466, 405–414. https://doi.org/10.1016/j.physa.2016.09.036
» https://doi.org/10.1016/j.physa.2016.09.036 -
Lahmiri, S., & Bekiros, S. (2018). The Informational Dynamics of Mean-Variance Relationships in Fertilizer Markets: An Entropic Investigation. Entropy, 20(9), 677. https://doi.org/10.3390/e20090677
» https://doi.org/10.3390/e20090677 -
Li, H., Sun, M., & Wang, Z. (2024). Application of deep learning to option hedging strategy. Systems and Soft Computing, 6, 200117. https://doi.org/10.1016/j.sasc.2024.200117
» https://doi.org/10.1016/j.sasc.2024.200117 -
Liu, P., & Tang, K. (2011). The stochastic behavior of commodity prices with heteroskedasticity in the convenience yield. Journal of Empirical Finance, 18(2), 211–224. https://doi.org/10.1016/j.jempfin.2010.12.003
» https://doi.org/10.1016/j.jempfin.2010.12.003 -
Lucia, J. J., & Schwartz, E. S. (2002). Electricity prices and power derivatives: Evidence from the Nordic power exchange. Review of Derivatives Research, 5, 5–50. https://doi.org/10.1023/A:1013846631785
» https://doi.org/10.1023/A:1013846631785 -
Ma, Z., Ma, C., & Wu, Z. (2020). Closed-form analytical solutions for options on agricultural futures with seasonality and stochastic convenience yield. Chaos, Solitons & Fractals, 137, 109849. https://doi.org/10.1016/j.chaos.2020.109849
» https://doi.org/10.1016/j.chaos.2020.109849 -
Maples, W. E., Brorsen, B. W., & Etienne, X. L. (2019). Hedging effectiveness of fertilizer swaps. Applied Economics, 51(53), 5793–5801. https://doi.org/10.1080/00036846.2019.1624916
» https://doi.org/10.1080/00036846.2019.1624916 -
MDIC. (2023). Plano nacional de fertilizantes (PNF) 2050: Uma estratégia para os fertilizantes no Brasil https://www.gov.br/mdic/pt-br/centrais-de-conteudo/publicacoes/documentos/pnf/pnf-v-07-21-11-23.pdf
» https://www.gov.br/mdic/pt-br/centrais-de-conteudo/publicacoes/documentos/pnf/pnf-v-07-21-11-23.pdf -
Princeton University Library (2024). Cubic interpolation in R: Hands-on R tutorial https://libguides.princeton.edu/R-Cubic
» https://libguides.princeton.edu/R-Cubic -
RDRR.IO. (2019). Schwartz97fitting: Schwartz 1997 two-factor parameter estimation https://rdrr.io/rforge/schwartz97/man/schwartz97fitting.html
» https://rdrr.io/rforge/schwartz97/man/schwartz97fitting.html -
Sanyal, S., Malczynski, L., & Kaplan, M. (2015). Impact of energy price variability on global fertilizer price: application of alternative volatility models. Sustainable Agriculture Research, 4(4). http://dx.doi.org/10.5539/sar.v4n4p132
» http://dx.doi.org/10.5539/sar.v4n4p132 -
Schwartz, E. S. (1997). The stochastic behavior of commodity prices: Implications for valuation and hedging. The Journal of Finance, 52(3), 923–973. https://doi.org/10.1111/j.1540-6261.1997.tb02721.x
» https://doi.org/10.1111/j.1540-6261.1997.tb02721.x -
Schwartz, E., & Smith, J. E. (2000). Short-term variations and long-term dynamics in commodity prices. Management Science, 46(7), 893–911. https://doi.org/10.1287/mnsc.46.7.893.12034
» https://doi.org/10.1287/mnsc.46.7.893.12034 -
SNA. (2022). Fertilizantes: Preços no mercado brasileiro sobem com a crise entre Rússia e Ucrânia https://sna.agr.br/fertilizantes-precos-no-mercado-brasileirosobem-com-a-crise-entre-russia-e-ucrania/
» https://sna.agr.br/fertilizantes-precos-no-mercado-brasileirosobem-com-a-crise-entre-russia-e-ucrania/ -
Sorensen, C. (2002). Modeling seasonality in agricultural commodity futures. Journal of Futures Markets, 22(5), 393–426. https://doi.org/10.1002/fut.10017
» https://doi.org/10.1002/fut.10017 -
Tröster, M. F. (2023). Assessing the value of organic fertilizers from the perspective of EU farmers. Agriculture, 13(5), 1057. https://doi.org/10.3390/agriculture13051057
» https://doi.org/10.3390/agriculture13051057 -
Yang, Z., Du, X., Lu, L., & Tejeda, H. (2022). Price and volatility transmissions among natural gas, fertilizer, and corn markets: A revisit. Journal of Risk and Financial Management, 15(2), 91. https://doi.org/10.3390/jrfm 15020091
» https://doi.org/10.3390/jrfm 15020091 -
Weron, R. (2008). Market price of risk implied by Asian-style electricity options and futures. Energy Economics, 30(3), 1098–1115. https://doi.org/10.1016/j.eneco.2007.05.004
» https://doi.org/10.1016/j.eneco.2007.05.004 -
Zhang, J., & Huang, W. (2021). Option hedging using LSTM-RNN: An empirical analysis. Quantitative Finance, 21(10), 1753–1772. https://doi.org/10.1080/14697688.2021.1905171
» https://doi.org/10.1080/14697688.2021.1905171







Source: Bloomberg.
Source: Bloomberg.


