Abstract
Stochastic processes are employed in this paper to capture the evolution of daily mean temperatures, with the goal of pricing temperature-based weather options. A stochastic harmonic oscillator model is proposed for the temperature dynamics and results of numerical simulations and parameter estimation are presented. The temperature model is used to price a one-month call option and a sensitivity analysis is undertaken to examine how call option prices are affected when the model parameters are varied.
Keywords:
weather derivatives; stochastic models; temperature; harmonic oscillator; parameter estimation MSC:
91G20; 91G80; 91G60
1. Introduction
Weather influences our daily lives and affects the volumes of sales and everyday trading in a wide range of businesses. For instance, the powerful typhoons that hit Tokyo and nearby regions in the fall of 2019 caused millions of dollars in damage to infrastructures and extensive damage to agriculture, forestry and fisheries industries [1,2]. Meanwhile, on the other side of the Pacific, the historic cold wave and winter storm of 2021 in Northwest, Central and Eastern America caused an estimated loss of $20.4 billion and represents the most costly U.S. winter storm event on record surpassing (nearly doubling the inflation-adjusted cost) the 93 Superstorm [3]. These two examples are just amongst the many other illustrations of how adverse weather could continuously affect the economy and routinely pose significant financial risks to 70% of all economic sectors worldwide [4].
In the United States, studies show a 1.2% decline in the annual gross domestic product (GDP) for every increase in temperature by the end of this century [5]. While at a global scale, according to the International Monetary Fund, failure to meet a temperature rise to may curb the world’s real GDP per capita by roughly 7% by 2100 [6]. Both demonstrate the grave repercussions of Mother Nature that could potentially affect already stressed economies.
To hedge weather-related financial risks, financial instruments called ‘weather derivatives’ were introduced in the financial markets in 1997 in the form of futures, options on futures and swaps [7,8]. The value of such a derivative is based on some underlying weather-dependent variable such as wind speed, amount of snowfall or rainfall and temperature levels. Financial products have been developed for industries facing business uncertainty as a result of weather fluctuations, allowing companies to trade and hedge those risks caused by weather volatility.
In these exotic weather derivative contracts, the payoffs depend on the chosen weather index, reflecting the weather conditions against which protection is needed. The largest portion of traded weather derivatives are written on temperature-based indices. Clearly, the temperature does not have a price in itself and therefore is not a tradeable asset. As a consequence, following the standard derivative pricing theoretical framework, the valuation of these derivatives relies heavily on the appropriate modelling of the index. This context motivates the purpose of this work, that is, to propose an easy-to-calibrate stochastic temperature model that does not require specific meteorological background and inputs. Hence, the model can be straightforwardly implemented by practitioners in the financial industry.
Several approaches have been developed for weather derivative pricing problems, such as time series [9,10], stochastic discount factor models [11,12] and lattices [13].
We follow a stochastic modelling approach in this paper. Previous results in this direction are due to Benth and Saltyte-Benth [14], Dornier and Querel [15], Brody et al. [16] and Alaton et al. [17]. All of these papers put forward a mean reverting Ornstein–Uhlenbeck process to describe the temperature fluctuations, some of which are driven by fractional Brownian motion or generalised Lévy processes instead of standard Brownian motion.
It can be argued whether in the aforementioned results it is sufficient to describe the temperature dynamics by a single stochastic process. Since observed temperature data indicate a seasonality trend, we will deviate from the previous approaches and consider as our starting point the classical harmonic oscillator model [18], which is described by a second-order ordinary differential equation (ODE). We will convert this model to a system of two coupled stochastic differential equations (SDEs) with two driving Wiener processes. The system will turn out to be still analytically tractable and we fit our stochastic harmonic oscillator model to actual temperature data. Using a risk-neutral framework, we will price weather derivatives, more specifically, a call option on an underlying variable which is a temperature-based index.
The outline of this paper is as follows: in Section 2, we derive a stochastic temperature model based on the classical harmonic oscillator and compare it to a popular stochastic temperature model. Section 3 presents numerical simulations of the proposed model, as well as results of parameter estimation using theoretical and real temperature data. In Section 4, we use the temperature model to price a one-month call option and perform a sensitivity analysis to examine how call option prices are affected when the model parameters are varied. We provide brief concluding remarks in Section 5.
2. Derivation of a Stochastic Harmonic Oscillator Temperature Model
Let denote the daily average temperature at time . We begin by considering a general (deterministic) sinusoidal function of time, namely
where and . It can be shown that satisfies the ODE
where and . Without loss of generality, we may take and . Let and . Then, (1) can be written as a system of two first-order ODEs
which in differential form is equivalent to
We introduce randomness in (2) as follows. Consider the following system for the stochastic processes and :
where are parameters that control the size of the fluctuations and and are (possibly correlated) standard Wiener processes. Equation (3) can be expressed in matrix form as
where
and
From Evans [19], we can write the solution of (3) as
where is the matrix exponential of and . The eigenvalues of are easily seen to be . Recalling the explicit formula for the matrix exponential [20], we obtain
and therefore
Since in the deterministic model (2) we have , for the stochastic model (3), we associate . Therefore, taking the first component in (4) and setting and , we get
Thus, our stochastic harmonic oscillator temperature model is
By renaming the parameters in (5), we can write
We wish to estimate the parameters k and for by calibrating (6) to temperature data.
Remark 1.
Dornier and Querel [15] and Alaton et al. [17] assumed that the daily average temperature is modelled by
The term is the deterministic seasonal component of the form
where a, b, and for are constants to be determined. The stochastic deseasonalised component is described by the stochastic process , where
and is a standard Wiener process. The parameters λ, μ and σ denote the mean reversion rate, long term average and volatility, respectively, of the process X. It is well known that X is an Ornstein–Uhlenbeck process and
Thus, the expected value of in (7) is
Note that this is not periodic in t. Comparing (7) with (5), we see that in (5) there are two driving Wiener processes and . Moreover, the expected value of in (5) is
which is a periodic function of t and shows that the deterministic component of the temperature would also satisfy a harmonic oscillator ODE.
The model we propose here is different from other two-factor models in the literature as (5) is obtained from the system (3), which in turn is a stochastic analogue of the harmonic oscillator model (1). In contrast, Hell et al. [21] established a general theoretical framework for the pricing of temperature derivatives by consistent factor models. Groll et al. [22] provided an empirical back-up for the theoretical framework introduced by Hell et al. [21] and put their pricing approach into practice.
3. Numerical Simulations of a Stochastic Harmonic Oscillator Temperature Model
In this section, we show the results of various numerical simulations of the models (5) and (3). All simulations are done in Scilab (see https://www.scilab.org, accessed on 12 October 2021), a free and open-source, cross-platform programming language.
Fix and define , where is chosen to be a ‘large’ integer. If for , then we see that and . Thus, is an equidistant partition of the interval .
3.1. Simulation of a Stochastic Integral as a Stochastic Process
If f is a deterministic function of t and u, where , and is a Wiener process, then we use the Riemann–Stieltjes approximation
Note that since W is a Wiener process. Moreover, for all .
As
where is the indicator function of the set , we deduce that
For example, suppose that we take and . Then, sample paths of and , where
and
are shown in Figure 1 and Figure 2, respectively. We observe that the sample paths of are more ‘jagged’ than those of .
Figure 1.
Five sample paths generated by , where is given in (9).
Figure 2.
Five sample paths generated by , where is given in (10).
3.2. Simulation of a Stochastic Harmonic Oscillator Temperature Model
To simulate the stochastic process , where is given in (5), take and . Then, choose
We generate two correlated Wiener processes and such that
and is the correlation coefficient. Choose for definiteness. A sample path for the process T is represented by the red graph in Figure 3.
Next, we solve the system (3) using the Euler–Maruyama algorithm. We remark that the Milstein and Euler–Maruyama schemes are equivalent for this model. Define the functions
Setting for , we see that and . For , we compute recursively
Plotting the first component of the approximate solution yields the blue graph in Figure 3. As expected, the plots are relatively close to each other since we identify with T. The -norm of the difference between the sample paths of and T is . Choosing a larger n may decrease the error at the cost of a slower computational speed.
3.3. Parameter Estimation for a Stochastic Harmonic Oscillator Temperature Model Using Theoretical Data
The next step is to fit (5) using theoretical data. As before, let and , while assuming the parameters in (11). We use (5) to generate a set of theoretical data , where for . The profile of the theoretical temperature curve is given by the red curve in Figure 4, which is actually hidden behind the blue curve. Then, with the exception of in (11), we ‘pretend’ that all of the parameters a, , , and are unknown and we attempt to fit (5) to the theoretically generated data.
Figure 4.
Plot of the theoretical temperature data , the fitted temperature data and from (8).
Since the data set is known and the Wiener processes and can be generated, and we assume for now that k is given, then the stochastic integrals
appearing in (6) are also known for each because they can be computed as in Section 3.1. It is therefore convenient to use (6) since this equation is linear in the parameters , , , and if we further replace by , by and by . Then, a standard multi-dimensional linear regression can be implemented to estimate these parameters. That is, if (where denotes the matrix transpose) and
then
The result is
In terms of the original parameters, we obtain
Using these estimated parameters in (5) generates a set and is represented by the blue curve in Figure 4. As the original parameters in (11) have been recovered, this explains why the blue curve lies on top of the red curve. The -norm of the difference between and is . For comparison, the green curve in Figure 4 is obtained from (5) but without the stochastic integral terms, i.e., (8).
Remark 2.
Earlier, we assumed that k was known. Now suppose that k is unknown. Assuming for the moment that the stochastic integral terms in (5) are negligible, the ‘period’ P can be estimated through
In Figure 3, we see that there is a ‘crest’ that starts at around and ends at around . Taking , then . This could be taken as the k fixed in the above linear regression. However, a more reasonable approach is to assume that k lies within some range, say , and test different values of k ranging from to . For each such fixed k, we apply linear regression as above and compute the -error between and . When the -error is less than some predetermined tolerance, the corresponding k is chosen and the rest of the parameters a, , , and are estimated.
3.4. Parameter Estimation for a Stochastic Harmonic Oscillator Temperature Model Using Real Data
In this section, we use a data set of daily mean temperatures observed at the Toronto Pearson International Airport located in Mississauga, Ontario, Canada and compiled by the National Climatic Data Center (NCDC) (see http://www.ncdc.noaa.gov/cdo-web/datasets, accessed on 12 October2021) of the United States Department of Commerce. The period considered is from January 2005 to December 2008, for a total of 1461 data points. Each daily mean temperature is obtained by taking the average of the lowest and highest temperature readings for that day and converting from to .
Denote by n the number of days of observed temperature data. Let
Note that will be expressed in years and . In this case, and . Fix (an explanation for this choice will be provided in Remark 3 below). Following the procedure described in Section 3.3, the estimated parameters are
In Figure 5, the red graph is the observed temperature data while the blue curve (behind the green curve) is the fitted temperature data , i.e., (5) with the parameters replaced by the estimated parameter values in (12). The green curve is (5) but without the stochastic integral terms, which is equivalent to from (8).
Figure 5.
Plot of the observed temperature data , the fitted temperature data and from (8).
Unlike in Figure 4, the fitted temperature data in Figure 5 is not too ‘jagged’ but is actually close to . This can be seen from the fact that . Hence, in (5), the contribution from the stochastic integral with the cos integrand is not as pronounced as that from the stochastic integral with the sin integrand. As pointed out previously for Figure 1 and Figure 2, the stochastic integral with the sin integrand tends to produce less ‘jagged’ sample paths.
Remark 3.
The -norm of the difference between and is . Following the explanation given in Remark 2, the value was chosen because it produced the smallest -error amongst all the values of k taken from to in increments of .
4. Pricing of Weather Derivatives
4.1. Basics of a Weather Derivative Contract
A standard weather derivative contract typically has the following elements [8]:
- contract period (traded contracts are seasonal and monthly);
- weather-based variable (contracts are based on temperature, snowfall, rainfall, etc.);
- measurement station (e.g., La Guardia Airport, New York City);
- index (e.g., HDD or CDD);
- payoff function (makes it possible to convert the index to cash flow);
- tick (multiplier for each weather index point).
The underlying indices of these contracts, from which these financial instruments derive their value, represent the biggest difference with respect to other financial derivatives. There are two major types of indices used for temperature. The first is the cumulative average temperature (CAT), which is the sum of the daily average temperature values throughout the contract period. The other major type is an index based on degree days. Heating degree days (HDD) is a measurement of the amount the daily temperature falls below a set baseline B (typically, ), accumulated over the contract period. Cooling degree days (CDD) is similar to HDD but measures the amount the daily temperature exceeds B.
Suppose that n is the number of days over which the HDD/CDD index is considered. Let denote the average of the maximum and minimum temperatures observed on day j, where . Then,
These indices were originally created by the energy industry as a proxy for the domestic demand for heating and cooling. The motivation for the above formulas is that, when the temperature is above (respectively, below) the baseline, people would consume energy on cooling (respectively, heating) appliances but not on heating (respectively, cooling) appliances.
At the Chicago Mercantile Exchange (CME), HDD contracts are traded from January to April and from October to December, while CDD contracts are traded from April to October. Months in which both indices are traded are known as shoulder months.
Remark 4.
As HDD/CDD indices depend on the number of days over which they are considered, and for any , we deduce that
Similarly, . Hence, HDD/CDD indices rise with increasing n.
For example, let us return to the results in Section 3.4 which are summarised in Figure 5. HDD months for Toronto at the CME are from January to April and from October to December. For the four-year period from January 2005 to December 2008 (), the HDD months would correspond to the periods October 2005–April 2006 (), October 2006–April 2007 () and October 2007–April 2008 (). We calculate in (13) during these three periods. The results are shown in Figure 6. The data set was used to compute the observed HDD (red graph), while the data set was used to compute the expected HDD (blue graph). As anticipated, .
Figure 6.
Plots of the observed HDD and expected HDD using (13) and the data from Section 3.4, respectively.
4.2. Call Option Pricing: An Example
In this section, we illustrate how to use our stochastic harmonic oscillator temperature model to price a call option, where the underlying variable is the HDD index. Other types of options or trading strategies may also be considered.
Suppose that the contract period is from 1–31 December (), the strike HDD is , the tick size is and the risk-free rate is . The latter was determined from the 10-year Canadian government bond yields compiled by Bloomberg (see http://www.bloomberg.com/quote/GCAN10YR:IND, accessed on 12 October 2021).
The stochastic harmonic oscillator temperature model we use is
where the parameters , , , and are as in (12), for and
Note that is a discretised sample path of the process T. Taking , (13) gives the random variable
Using a risk-neutral framework, the price C of a call option is therefore
To evaluate the expectation in (16), we take the average of 5000 sample paths of the process (14) and substitute it into (15). The resulting call price is . Figure 7 shows the variation of the call price over a range of strike HDDs. The figure is generated by varying K in (16) from 500 to 800.
Figure 7.
Variation of the call price with respect to the strike HDD.
4.3. Sensitivity Analysis
Following Siu et al. [23], we perform a sensitivity analysis for the call option price when the parameters of the model vary. The aim is to identify the key parameters that have significant impact on the call price.
To explain the methodology, let us suppose that we wish to investigate the sensitivity of C with respect to a by looking at how C behaves with respect to K as a is varied. More precisely, we assume that , , and are fixed as in (12) and let vary through five different values on an interval of unit radius centred at the value 358.88 of in (12). For each in this interval, we perform the calculations similar to those for Figure 7.
Figure 8 shows the impact of varying a, Figure 9 of varying , Figure 10 of varying , Figure 11 of varying and Figure 12 of varying . We conclude that the only parameter that has a significant effect on the call option price is . This result reveals that, under this stochastic harmonic oscillator temperature model, we must monitor the actual state of the temperature dynamics because of its considerable effect on the value of the weather-based option.
Figure 8.
Option prices for varying values of a.
Figure 9.
Option prices for varying values of .
Figure 10.
Option prices for varying values of .
Figure 11.
Option prices for varying values of .
Figure 12.
Option prices for varying values of .
5. Conclusions
In this article, we proposed a new stochastic model for the temperature dynamics based on the classical harmonic oscillator (strictly speaking, a driven harmonic oscillator because of the term a in (1)). The temperature model is derived from a system of linear SDEs with two driving Wiener processes. We benchmarked our model by first using theoretical temperature data and then using actual temperature data observed at the Toronto Pearson International Airport. Substituting our temperature model in a temperature-based index such as HDD, we priced a call option under a risk-neutral framework and performed a sensitivity analysis. Numerical simulations suggest that the parameter related to the temperature at time zero was the only significant one that affected the call price as the strike HDD was varied. Of course, other temperature-based indices such as CDD or CAT can also be used, as well as other trading strategies besides a call option can also be considered following a similar procedure.
An extension of this model that is being currently investigated is a stochastic harmonic oscillator model with damping. The motivation behind this is the consideration of a temperature model that incorporates the gradual increase in temperature (due to the exponential factor introduced by damping) brought about by global warming, for example. Another possible extension is the modification of the stochastic terms in (3), e.g., from to for . The resulting system remains linear and therefore a similar analysis can be performed.
Author Contributions
Conceptualization, R.S.M. and M.R.R.; Formal analysis, M.R.R.; Funding acquisition, R.S.M.; Investigation, M.R.R.; Methodology, M.R.R.; Project administration, M.R.R.; Resources, A.G. and M.R.R.; Supervision, R.S.M. and M.R.R.; Validation, M.R.R.; Visualization, M.R.R.; Writing—original draft, A.G. and M.R.R.; Writing—review & editing, A.G. and M.R.R. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Japan Times. Farm damage from Typhoon Hagibis tops ¥100 Billion. 26 October 2019. Available online: https://www.japantimes.co.jp/news/2019/10/26/national/farm-damage-typhoon-hagibis-tops-%C2%A5100-billion/ (accessed on 12 October 2021).
- Yamada, K.; Takeuchi, K.; Kurimoto, S. Typhoon Blows Hole in Japan’s Aging Power Grid. Nikkei Asian Review, 14 September 2019. Available online: https://asia.nikkei.com/Economy/Natural-disasters/Typhoon-blows-hole-in-Japan-s-aging-power-grid(accessed on 12 October 2021).
- NOAA National Centers for Environmental Information. U.S. Billion-Dollar Weather and Climate Disasters 2021. 2021. Available online: https://doi.org/10.25921/stkw-7w73 (accessed on 12 October 2021).
- Brusset, X.; Bertrand, J.L. Hedging weather risk and coordinating supply chains. J. Oper. Manag. 2018, 64, 41–52. [Google Scholar] [CrossRef]
- Hsiang, S.; Kopp, R.; Jina, A.; Rising, J.; Delgado, M.; Mohan, S.; Rasmussen, D.J.; Muir-Wood, R.; Wilson, P.; Oppenheimer, M.; et al. Estimating economic damage from climate change in the United States. Science 2017, 356, 1362–1369. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Kahn, M.E.; Mohaddes, K.; Ng, R.N.C.; Pesaran, M.H.; Raissi, M.; Yang, J.-C. Long-Term Macroeconomic Effects of Climate Change: A Cross-Country Analysis; National Bureau of Economic Research: Cambridge, MA, USA, 2019. Available online: http://www.nber.org/papers/w26167 (accessed on 12 October 2021).
- Benth, F.E.; Saltyte-Benth, J. Modeling and Pricing in Financial Markets for Weather Derivatives; World Scientific: Singapore, 2013. [Google Scholar]
- Zapranis, A.; Alexandridis, A. Weather Derivatives: Modeling and Pricing Weather-Related Risk; Springer: New York, NY, USA, 2013. [Google Scholar]
- Benth, F.E.; Saltyte-Benth, J.; Koekebakker, S. Putting a price on temperature. Scand. J. Stat. 2007, 34, 746–767. [Google Scholar] [CrossRef]
- Campbell, S.D.; Diebold, F.X. Weather forecasting for weather derivatives. J. Am. Stat. Assoc. 2005, 100, 6–16. [Google Scholar] [CrossRef] [Green Version]
- Cao, M.; Wei, J. Weather derivatives valuation and the market price of weather risk. J. Futur. Mark. 2004, 24, 1065–1089. [Google Scholar] [CrossRef]
- Davis, M. Pricing weather derivatives by marginal value. Quant. Financ. 2001, 1, 1–4. [Google Scholar] [CrossRef]
- Elias, R.S.; Wahab, M.I.M.; Fang, L. A comparison of regime-switching temperature modelling approaches for applications in weather derivatives. Eur. J. Oper. Res. 2014, 232, 549–560. [Google Scholar] [CrossRef]
- Benth, F.E.; Saltyte-Benth, J. Stochastic modelling of temperature variations with a view towards weather derivatives. Appl. Math. Financ. 2005, 12, 53–85. [Google Scholar] [CrossRef]
- Dornier, F.; Querel, M. Caution to the wind. Energy Power Risk Manag. 2000, 13, 30–32. [Google Scholar]
- Brody, D.C.; Syroka, J.; Zervos, M. Dynamical pricing of weather derivatives. Quant. Financ. 2002, 2, 189–198. [Google Scholar] [CrossRef]
- Alaton, P.; Djehiche, B.; Stillberger, D. On modelling and pricing weather derivatives. Appl. Math. Financ. 2002, 9, 1–20. [Google Scholar] [CrossRef]
- Giorgini, A. Stochastic Temperature Models for the Valuation of Weather Derivative Products. Master’s Thesis, Sapienza University of Rome, Rome, Italy, 2014. Unpublished. [Google Scholar]
- Evans, L.C. An Introduction to Stochastic Differential Equations; University of California: Berkeley, CA, USA, 2013. [Google Scholar]
- Rodrigo, M.R. Laplace and Z transforms of linear dynamical systems and conic sections. Z. Angew. Math. Phys. 2016, 67, 14. [Google Scholar] [CrossRef]
- Hell, P.; Meyer-Brandis, T.; Rheinländer, T. Consistent factor models for temperature markets. Int. J. Theor. Appl. Financ. 2012, 15, 1250027-1–1250027-24. [Google Scholar] [CrossRef]
- Groll, A.; López-Cabrera, B.; Meyer-Brandis, T. A consistent two-factor model for pricing temperature derivatives. Energy Econ. 2016, 55, 112–126. [Google Scholar] [CrossRef] [Green Version]
- Siu, T.-K.; Erlwein, C.; Mamon, R.S. The pricing of credit default swaps under a Markov-modulated Merton’s structural model. N. Am. Actuar. J. 2008, 12, 18–46. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).