Showing posts with label weather. Show all posts
Showing posts with label weather. Show all posts

Thursday, January 5, 2012

Weather| It is an odd Thing.

We look outside, ask siri or just guess what the weather will be each day. Rarely do we look at a year to year basis, wondering what the temperature was. I did an interesting analysis for Washington DC over the past year, and a unique look at how look at data.

Year to Year and Averages


As you can see from the graph above, the past two years have been a little above average. Although we have not had a record breaking this year, although we did have one last year.

Last year it rained 37 out of the 127 days, meaning we had rain 29% of the time (days speaking) last year.
This year it rained 51 out of the 127 days, meaning we had rain 40% of the time (days speaking) this year.
Rain is rain or snow.

Is Weather Data Normal?
Weather needs to be normal for a lot of the analysis we use. If we want to assume that a day was record hi, or that global warming is increasing the temperature, then we need the data to be normal.

As you can see, the weather data for Jan 5 are normal. With a [nerd alert] Shapiro Wilkins p-value of .19, we  can say the data are normally distributed.

What this allows us to do, is to see if we have had any statistically significant days since 1936. We actually have!

High Points
1950 62 Degrees
1997 60 Degrees
2009 58 Degrees

Low Points
1968 18 Degrees
1958 18 Degrees

Is the Earth Getting Warmer?
Always a debatable topic, and I'm not going to side really on it. I'll just throw some data at you.

2011 out of 127 days 110 of them were above average on temperature
2010 out of 127 days 100 of them were above average on temperature


However, as we can see above, the two different years do not look that different. The p-value is a sad .486. So we can conclude that there is not a statistical difference from the temperatures before.


Now if we subset pre 1997 and post 1997, we get something a little more likely to differ. Here is the thing though, that P-value is not statistically significant either, its p-value is .188 . So we conclude that the temperatures in Washington DC have remained Normally around their average since 1936, and that extreme temperatures were not common.

Here is what Jan 5th has looked like since 1936

Friday, February 4, 2011

Snow Snow Go Away

As my friends can probably tell you, I love the weather (or just data in general). I actually love it so much that I normally run models on it and show historical data. With the All-Break halting sports statistics I figured I would share some weather data, visually and tell you some neat facts at that.

The graph below is of DC's snow fall, with Years : Current, Average,Last and the record amounts.

Lowest snowfall in DC history was 2.2 inches in 1972
Since 1950, DC has only received less than 10 inches 18 times.
The most amount of snow in a season was 2009-2010 with over 73 inches of snow.
A perfect storm, if it snowed the high, for every month there would be 133 inches of snow!

Now i am not from New York, but I have a few friends that live in the city, and complained how much snow they got this season. So i figured i would do the same analysis of their city as well.

Lowest snowfall in DC history was 2.8 inches in 1972 (as well!)
The most amount of snow in a season was 1995-1996 with over 75 inches of snow.
A perfect storm, if it snowed the high, for every month there would be 154inches of snow!