Interactive model — experiment with these parameters in sItô

In the Schwartz one-factor model [1], the log commodity price reverts toward a long-run level $\mu$, pulling the expected spot price with it. Starting from $S_0 = 50$ with long-run level $e^{\mu} = 55$, mean-reversion speed $\kappa = 1.5$, and volatility $\sigma = 35\%$, the expected spot price at $T = 1$ is $54.88$. Adding a sinusoidal target to the mean introduces a phase lag: at $\kappa = 3$, the expected log price trails the seasonal cycle by roughly $65$ days.

Expected price and convexity

Let $x_t = \ln S_t$ satisfy the Ornstein–Uhlenbeck SDE

$$dx_t = \kappa(\mu - x_t)\,dt + \sigma\,dW_t.$$

At horizon $T$, $x_T$ is normal with mean $\mu + (x_0 - \mu)e^{-\kappa T}$ and variance $\frac{\sigma^2}{2\kappa}(1 - e^{-2\kappa T})$. Exponentiating gives the expected spot price:

$$ \mathbb{E}[S_T] = \exp\Bigl(\mu + (x_0 - \mu)e^{-\kappa T} + \frac{\sigma^2}{4\kappa}\bigl(1 - e^{-2\kappa T}\bigr)\Bigr). $$

For $x_0 = \ln 50$, $\mu = \ln 55$, $\kappa = 1.5$, $\sigma = 0.35$, and $T = 1$, mean reversion caps the spread of $x_1$ well below a pure Brownian walk while the variance term lifts $\mathbb{E}[S_1]$ by roughly $2\%$ above $\exp(\mathbb{E}[x_1])$:

Quantity at $T = 1$Value
$\exp(\mathbb{E}[x_1])$53.8
$\mathbb{E}[S_1]$ (with convexity term)54.88
Standard deviation of $x_1$0.197
Random-walk standard deviation ($\sigma\sqrt{T}$)0.35
Sensitivities of Schwartz one-factor spot expectation showing ∂/∂x₀ decaying from 50 toward 12 while long-run mean sensitivity ∂/∂μ climbs from 0 toward 43 Sensitivities of Schwartz one-factor spot expectation showing ∂/∂x₀ decaying from 50 toward 12 while long-run mean sensitivity ∂/∂μ climbs from 0 toward 43
Pathwise AD sensitivities of expected spot price $\mathbb{E}[S_t]$ in the Schwartz one-factor model ($\kappa = 1.5$, $S_0 = 50$): dependence on initial spot ($\partial/\partial x_0$, red) decays exponentially as sensitivity to the long-run level ($\partial/\partial \mu$, amber) takes over, crossing around $t \approx 0.45$. Open Schwartz model in sItô ↗
Seasonal Ornstein–Uhlenbeck path density band oscillating and peaking near t = 0.42 before declining to -0.19 at t = 1 Seasonal Ornstein–Uhlenbeck path density band oscillating and peaking near t = 0.42 before declining to -0.19 at t = 1
Empirical path distribution of the seasonal Ornstein–Uhlenbeck process ($\kappa = 3$, $A = 0.5$, $\sigma = 0.3$): mean reversion lags the $\sin(2\pi t)$ target, pushing the expected peak out near $t \approx 0.42$ instead of $0.25$. Open seasonal OU in sItô ↗

Run this in sItô

Open sItô with this model pre-loaded to inspect the path distribution, summary statistics, and parameter sensitivities—or change any setting and rerun:

Seasonal phase lag

When the target level oscillates as $\mu + A\sin(2\pi t)$, the SDE $dx_t = \kappa\bigl(\mu + A\sin(2\pi t) - x_t\bigr)\,dt + \sigma\,dW_t$ acts as a first-order low-pass filter. Its steady-state mean tracks the forcing with reduced amplitude and a phase delay:

$$ \begin{aligned} \mathbb{E}[x_t] &\approx \mu + \frac{\kappa A}{\sqrt{\kappa^2 + 4\pi^2}}\sin(2\pi t - \phi), \\ \phi &= \arctan\frac{2\pi}{\kappa}. \end{aligned} $$

For $\kappa = 3$, the phase lag is $\phi = 1.13\text{ rad}$ ($65$ days) and the amplitude scales down by $\frac{\kappa}{\sqrt{\kappa^2 + 4\pi^2}} = 0.43$ (to $0.215$). At $t = 1$, the target crosses zero upward, but the expected log price is still recovering from the negative half-cycle behind it. Consequently, seasonal commodity prices peak after peak demand, with stronger mean reversion shrinking the lag; adding a stochastic convenience yield gives the two-factor Gibson–Schwartz model. The underlying simulation pipeline is described in Compiling parametric SDEs into fast Monte Carlo simulations.

Related notes: The Ornstein–Uhlenbeck process, Gompertz growth with noise, Short-rate models compared.