It’s not the heat, it’s the heat index
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
PERCEIVED TEMPERATURE
(We got a request for a Celsius version of this post and since we are a full service website we created one and put it here).
So, we were wondering, what’s this heat index we hear about? We went to the Wikipedia article on it. It is an index that combines air temperature and relative humidity to convert a (hot) temperature into something like perceived temperature, how hot it feels. It formalizes the adage “it’s not the heat, it’s the humidity.”
The equation to get heat index from temperature and relative humidity is big:
This heat index chart is also complicated, but it allows one to look up the heat index rather easily.
We wanted a better way to see what the heat index is doing. So we made this plot:
When it’s 90 degrees outside with 90% relative humidity, it feels 30 degrees hotter. That’s a lot of degrees.
It turns out there is another heat index formula. This one’s even more complicated.
We wanted to see how it compared to the first, so we plotted both together:
We like averaging, so we plotted the average of the two outputs:
We thought it looks not so far from linear so we fit a regression model to the average and plotted that:
Then we couldn’t resist coming up with a simple heuristic (shown in dots):
The heuristic comes pretty close to the regression model.
The error (mean absolute deviation) of the heuristic to the average model is about 3 degrees. The error of the regression model to the average model is about 2 degrees, so it’s not bad, considering that the two different heat index formulae can differ by over 5 degrees.
So what’s the heuristic?
- Relative Humidity of 50%: Add 10 degrees for every 10 degrees above 80
- Relative Humidity of 70%: Add 20 degrees for every 10 degrees above 80
- Relative Humidity of 90%: Add 30 degrees for every 10 degrees above 80 + 5
It’s quite a bit simpler than the 9 and 16 term equations above and should be good enough for everyday use.
R CODE
For those who want it
The post It’s not the heat, it’s the heat index appeared first on Decision Science News.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.