Histograms of Heating and Cooling Degree Days

Seasonal discomfort is measured by the deviation above or below a comfortable temperature. Exchange-traded futures on weather use the comfort level of 65° F in the U.S. cities listed in a variety of futures contracts. This allows people to trade on expected deviations in the climate and to hedge exposure in the energy used to make our environment comfortable.
The prices of futures contracts and the energy costs themselves are partially based on the historical record of deviations from 65° F in different locations. Here a heating degree day (hdd) count is incremented daily for each degree of mean temperature below 65° F. Similarly, a cooling degree day (cdd) count is incremented daily for each degree of mean temperature above 65° F.
The histograms display the cdd and hdd counts for the years 1980-2008, each year being a sample. Below them, the mean and standard deviations are listed.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The attribution of historical data to years is done by calendar year. That is, a cold season, such as the winter of 2005, is taken from 1/1/05 and combined with the later cold season at the end of 2005. December 2004, commonly called part of winter 2004-2005, is entirely in 2004 in this analysis.
The contract definitions for exchange-traded weather futures can be found at www.cmegroup.com.
These histograms and the summary statistics allow one to begin a detailed comparison of the nature of risk in pricing degree days.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Related Curriculum Standards

US Common Core State Standards, Mathematics

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2017 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+