Increasing monthly temperatures - don't understand the question

  • Thread starter Shukie
  • Start date
  • Tags
    Increasing
In summary: I'm not really sure about the third argument.If you have N points, you can of course fit a polynomial of degree N-1 to the data, and you get a perfect fit.You can also fit a linear function (degree 1) to the data; and any other function, like a parabola (degree 2) to the data, and so on.But the best fit depends on the model. You can force a fit to a simple polynomial, but the data is more complex. You can't use a simple linear function to describe it; you need more terms. You have a linear function of time (x), but the data is not a simple linear function of time.If you are using the simple function
  • #1
Shukie
95
0

Homework Statement


I'm doing an assignment in Mathematica and I need some help understanding the question. I have a datasheet with temperatures for each month for the last 108 years:

http://www.knmi.nl/klimatologie/maandgegevens/datafiles/mndgeg_260_tg.txt

Question 3 was:

"Determine the average temperature of each month over the period 1901-2008. Make a table with two columns and twelve rows, showing the average temperature for each month."

That was easy enough. Now comes question 4:

"Same as question three, but now we assume a linear warming. That means for each month the average temperature will be fit by the function [tex]t_{average,i}[x] = a_i + b_i(x -2008)[/tex]. In this function, i goes from 1 to 12 (from january to december) and x from 1901 to 2008. Your table will now have three columns. What is the meaning of [tex]a_i[/tex] and [tex]b_i[/tex]? What are their dimensions?"

This question confuses me and if it confuses you too it might be due to my shoddy translation. Anyway, what exactly am I supposed to put in the third column? I assume I will have to calculate the values of [tex]a_i[/tex] and [tex]b_i[/tex]? So the third column will have twelve rows of something like: [tex]5 + 6(1901 - 2008)[/tex]? If so, how do I calculate those values for [tex]a_i[/tex] and [tex]b_i[/tex]?
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
Shukie said:

Homework Statement


I'm doing an assignment in Mathematica and I need some help understanding the question. I have a datasheet with temperatures for each month for the last 108 years:

http://www.knmi.nl/klimatologie/maandgegevens/datafiles/mndgeg_260_tg.txt

Question 3 was:

"Determine the average temperature of each month over the period 1901-2008. Make a table with two columns and twelve rows, showing the average temperature for each month."

That was easy enough. Now comes question 4:

"Same as question three, but now we assume a linear warming. That means for each month the average temperature will be fit by the function [tex]t_{average,i}[x] = a_i + b_i(x -2008)[/tex]. In this function, i goes from 1 to 12 (from january to december) and x from 1901 to 2008. Your table will now have three columns. What is the meaning of [tex]a_i[/tex] and [tex]b_i[/tex]? What are their dimensions?"

This question confuses me and if it confuses you too it might be due to my shoddy translation. Anyway, what exactly am I supposed to put in the third column? I assume I will have to calculate the values of [tex]a_i[/tex] and [tex]b_i[/tex]? So the third column will have twelve rows of something like: [tex]5 + 6(1901 - 2008)[/tex]? If so, how do I calculate those values?

The temperature over a year shows a strong seasonal cycle, repeating year by year with cold in winter and warm in summer.

The average over a year is thus a bit dubious, but an average temperature for a month makes sense. You calculated that in the first question.

The followup is suggesting you don't just get one average, but a line that matches the trend. The question is oddly worded. It does not seem to be asking you to actually calculate a_i and b_i, just describe what they mean.

There are methods to calculate these numbers; just like there is a method to calculate a mean.

Try this. Plot all the temperatures for January, in sequence, from 1901 to 2008. Now get a ruler, and draw a line that gets as close as you can to as many of the points as you can. That line has an equation: you should be able to express the line in the form

t = a + b (x - 2008)

You can repeat this for each month; that's where the i subscript comes in.

You should be able to look at the equation, and figure out the units for a and b. As for what they mean; a should be easy. For b, when you get the units it might make more sense. But try it with the ruler and see what values you get for a and for b, and maybe that will help clarify what they mean.

As background, the mathematical method for actually calculating a and b, rather than guessing with a ruler lined up to the points, is called "linear regression".

Cheers -- sylas
 
Last edited by a moderator:
  • #3
Thank you for your answer, that clarified things a bit. Perhaps my translation was poorly done or the question was just poorly worded in the first place, but in the next question it asks to calculate the mean and standard deviatian of the values of [tex]a_i[/tex] and [tex]b_i[/tex], so I assume I will have to calculate them here. So basically what I want to do is perform a linear regression for each month and that will give me twelve different values for [tex]a_i[/tex] and twelve for [tex]b_i[/tex]?

Now, in Mathematica, I found an example of a linear regress for a straight line:

Regress[{2, 3, 4, 6}, x, x]

I suspect one of the x's means that the variable is x and the other x implies that it's a straight line. Should I try to modify the above example for my own function or do I have to do something completely different?
 
  • #4
Shukie said:
So basically what I want to do is perform a linear regression for each month and that will give me twelve different values for [tex]a_i[/tex] and twelve for [tex]b_i[/tex]?

Yes. The question is asking for 12 different trends, one for each month.

Now, in Mathematica, I found an example of a linear regress for a straight line:

Regress[{2, 3, 4, 6}, x, x]

You should have documentation for functions in Mathematica; but that seems to be right -- except possibly the second argument should be {1, x}. I've not used it, myself. The first argument there is your y-values. The x-values are assumed to 1,2,3,4 or something like that, or you can give a vector of points with both x and y values, I think.

If you fit a regression to (1,2), (2,3), (3,4), (4,6) you get the line 0.5 + 1.3*x

That is, you estimate y (data) as a linear function of x and a constant. You can use the Mathematica function to do more than only linear regression. I don't really know how "Regress" works, but the second argument is the functions you can use, and the third are the independent variables. You've only got one variable (x). I would have thought the second argument should be {1, x}, so that you get a line as a linear combination with a constant term.

Should I try to modify the above example for my own function or do I have to do something completely different?

I think you are on the right track.

Cheers -- sylas

PS. Actually, just x in the second argument is probably okay. I think mathematica includes a constant term by default, unless you explicitly tell it not to with an extra argument.

PPS. See if you can make Regress use "x-2008" as the function in the second argument. The question is asking you for a linear combination of a constant and "x-2008". I can think of various ways you might do this; but keep track of what Mathematica is using for "x" as well.
 
Last edited:
  • #5
Thanks a ton for your help, I'm not really comfortable with Mathematica and this assignment will probably determine if I pass this year or not :bugeye: So your help is very much appreciated!

I took your advice and tried to use (x-2008) as a function and I used regression for the month january. The Transpose[data]/10 gives me the temperatures for each month in a separate list. I also made a plot for clarity's sake and it seems a little steep:

http://img510.imageshack.us/img510/4840/regressr.jpg

I think there is still a problem with this. I think x is supposed to run from 1901 to 2008, not from 1-108, so I need to add that into my regression, but I have no idea how. That might take care of the 'steepness'. However, is the rest okay? Because I believe I have now calculated [tex]a_i[/tex] and [tex]b_i[/tex] for january, like the question asks. Then I just need to do the rest as well.
 
Last edited by a moderator:
  • #6
Shukie said:
I think there is still a problem with this. I think x is supposed to run from 1901 to 2008, not from 1-108, so I need to add that into my regression, but I have no idea how. That might take care of the 'steepness'. However, is the rest okay? Because I believe I have now calculated [tex]a_i[/tex] and [tex]b_i[/tex] for january, like the question asks. Then I just need to do the rest as well.

You are doing very well!

All that is missing is that you are supplying y values, but not the x values. So Regress is still taking the x as 1,2,3... rather than 1901,1902,1903...

You can give a vector of X-values in the first argument as well. I think it will allow you to pass a list consisting of two vectors: something like [Xlist, Ylist]

Try and see.

Alternatively, a cheat would be to use the function "x-108". Think about it. But supplying x values will be better.

I obtained exactly the same slope with regression functions in Excel. You've got that correct; and now you just need to include the years in your plot, rather than the sequence number. That is, you've got b_i. Looking at your graph you can see what the a_i is going to be.

Cheers -- sylas
 
  • #7
I finally managed to combine the temperatures of a given month and their corresponding years into separate lists. So now I have a list:

TY = {{{1901, -0.3}, {1902, 4.6} ... {2008, 6.1}}, {{1901, -0.9}, {{1902, -0.4} ...

So TY[[1]] is all the temperatures of the month january, which I put into my regression:

http://img254.imageshack.us/img254/1681/regress1d.jpg

Not a whole lot seems to have changed, except the value for [tex]a_i[/tex]. This confuses me a bit, because it's now around 3.0 opposed to ~31.0 which I found earlier. Yet the graph still looks pretty much the same. In fact, it seems completely the same. Can this be correct? (The graph isn't really part of the question as you know, but it seems like a useful tool to check my answers)
 
Last edited by a moderator:
  • #8
Not a whole lot seems to have changed, except the value for [tex]a_i[/tex]. This confuses me a bit, because it's now around 3.0 opposed to ~31.0 which I found earlier. Yet the graph still looks pretty much the same. In fact, it seems completely the same. Can this be correct? (The graph isn't really part of the question as you know, but it seems like a useful tool to check my answers)

It's now correct. All that you needed to change was the a_i, and now you have precisely what I calculated using Excel.

Now you are in a good position to explain what the a_i and b_i actually mean, and give their units.

Previously you had 31 degrees for a_i. That's a bit too much for January in the Netherlands! 3 degrees sounds much more sensible!

The graph is exactly the same; that's what you wanted. The only difference is that the X axis is now labeled correctly, and the a_i value is properly adjusted for the new X axis labels. Previously you were using the number 108 to represent the year 2008, and so previously the x value of 2008 was actually the year 3908!

Basically, what you had before was the temperature projected 1900 years into the future. 31 degrees is what you should expect in the year 3908, assuming current trends continue unchanged for 1900 years. That won't happen. The current rate of warming is very rapid by comparison with what is normal for our planet. It won't continue like this for 2000 years; something will break long before then.

This problem is touching on the whole issue of climate projections, on which all kinds of people have strong feelings. I'd love to sit in on your classes, just to see how you all talk about it! I'll resist commenting on the background science of this -- but I have written a fair bit about it in the Earth science subforum here.

Well done -- sylas
 
  • #9
Thanks a lot for your help, you really helped me through this question. All that is left for me to do is figure out a way to do the regressions for all months without repeating the same command twelve times. One of the criteria is 'simple and elegant use of Mathematica' after all. However, perhaps that is a question for a different topic, but if anyone knows, I'd love to hear it.

Also, [tex]b_i[/tex] seems to be the average increase of the monthly temperature. Is that correct? Then, since x is dimensionless, the dimensions of both [tex]a_i[/tex] and [tex]b_i[/tex] should be the temperature in Celsius. As for [tex]a_i[/tex], my guess was that it would simply be the average temperature of a given month over the period 1901-2008, but that isn't correct. I'll have to think that one over some more.

Thanks again!

Edit: A simple Table managed to take care of my first problem.

http://img127.imageshack.us/img127/6365/regress2.jpg

This is interesting, because if my guess about the meaning of [tex]b_i[/tex] is correct, it would appear that the temperature of some months is changing at nearly only half the rate of some others.
 
Last edited by a moderator:
  • #10
Shukie said:
Also, [tex]b_i[/tex] seems to be the average increase of the monthly temperature. Is that correct? Then, since x is dimensionless, the dimensions of both [tex]a_i[/tex] and [tex]b_i[/tex] should be the temperature in Celsius. As for [tex]a_i[/tex], my guess was that it would simply be the average temperature of a given month over the period 1901-2008, but that isn't correct. I'll have to think that one over some more.

x is not dimensionless, and so b_i does not have units of temperature.

You're right that you're wrong about a_i. :wink: Look at your plot, and see where a_i can be found.

This is interesting, because if my guess about the meaning of [tex]b_i[/tex] is correct, it would appear that the temperature of some months is changing at nearly only half the rate of some others.

Yes; I noticed that also! It is interesting, good observation.

There are two possible reasons for this, and with a bit of checking I'm pretty sure only one holds up. Here are two alternatives:
  • There really is a difference in the trend at different months. This could happen, for example, if there was a trend to more extreme seasonal variation. Summer gets hotter, and winter heats up rather less. If this is the case, you should expect a roughly cyclic pattern in the values for b_i. A "radar" plot would be a good way to look at the b_i values!
  • The trend is uncertain, because of the natural year to year variations going on all the time. You can check if this is the case by getting a bit more information from your regressions -- like the standard error on the regression slopes. If differences between b_i in different months is of a magnitude comparable to the standard error in the estimate of b_i, then the differences are not significant, and just show up because this is a statistical estimate with noisy data. Trying to get Regress to give you information about standard errors would be a good way to check this out.

Answering this question probably goes a bit beyond your assignment requirements! But hey.

You could try the "Thread" function in mathematica, as an alternative to the "Table" function for building up the arguments to Regress. It might be a bit more efficient/elegant; but what you've got is working very well.

Cheers -- sylas
 
  • #11
sylas said:
x is not dimensionless, and so b_i does not have units of temperature.

You're right that you're wrong about a_i. :wink: Look at your plot, and see where a_i can be found.

So, [tex]a_i[/tex] is the temperature in Celsius and since x is in years, [tex]b_i = \frac{C}{T}[/tex] (temperature in celsius per year). Also, [tex]a_i[/tex] represents the temperature that it would be in 2008 if the temperature obeyed this linear model?

sylas said:
Yes; I noticed that also! It is interesting, good observation.

There are two possible reasons for this, and with a bit of checking I'm pretty sure only one holds up. Here are two alternatives:

[snip]

Answering this question probably goes a bit beyond your assignment requirements! But hey.

Actually, the next question is to find the mean and standard deviation of my list of [tex]b_i[/tex]. I did just that and found [tex]B_{mean}[/tex] = 0.0128915and [tex]B_{SD}[/tex] = 0.00292541. This means that only four of the slopes lie outside one standard deviation (0.00853316, 0.00917098, 0.0159241, 0.0190084) and only one lies outside two standard deviations (0.0190084).

Now the question asks me to draw conclusions about the warming. These differences are not very significant are they? In that case I wouldn't be able to draw any conclusions.

sylas said:
You could try the "Thread" function in mathematica, as an alternative to the "Table" function for building up the arguments to Regress. It might be a bit more efficient/elegant; but what you've got is working very well.

I tried this one as well, but I couldn't get it to work. I'll try it again later.
 
  • #12
Shukie said:
So, [tex]a_i[/tex] is the temperature in Celsius and since x is in years, [tex]b_i = \frac{C}{T}[/tex] (temperature in celsius per year). Also, [tex]a_i[/tex] represents the temperature that it would be in 2008 if the temperature obeyed this linear model?

Exactly so.

Actually, the next question is to find the mean and standard deviation of my list of [tex]b_i[/tex]. I did just that and found [tex]B_{mean}[/tex] = 0.0128915and [tex]B_{SD}[/tex] = 0.00292541. This means that only four of the slopes lie outside one standard deviation (0.00853316, 0.00917098, 0.0159241, 0.0190084) and only one lies outside two standard deviations (0.0190084).

Now the question asks me to draw conclusions about the warming. These differences are not very significant are they? In that case I wouldn't be able to draw any conclusions.

Well, the number of months that lie inside or outside the limits of a number of standard deviations is not particularly interesting. The standard deviation is defined so that you would tend to get about 2/3 of your sample within a standard deviation. So four months outside a single standard deviation is just what you should expect from any sample of twelve.

What's more relevant is the relative magnitude of the standard deviation and the mean.

Think of it this way. Suppose I just tell you that January is warming at 0.0146960473 C/year.

That's a bit too much accuracy, yes?

So the question arises: how much confidence can you place in the trend, given the data? There are actually better ways to do this, using what is called the "standard error" in a regression analysis; but the method you are trying gives you a reasonable stab at the accuracy.

The warming trend for a given month might have several contributing factors. Some of it might be due to an overall trend of higher temperatures. Some of it might be due to a trend of more or less extreme seasons. (More extreme seasons would give extra warming in summer months and reduced warming in winter months; less extreme seasons would reverse that.) And some might be just the chaotic effects of weather, which mean different months differ somewhat at random.

You can use the mean and standard deviation to give a rough idea of whether there is any significance to overall warming; and to quantify how accurately you can estimate that warming.
 
  • #13
You can use the mean and standard deviation to give a rough idea of whether there is any significance to overall warming; and to quantify how accurately you can estimate that warming.

Thanks for your help. Unfortunately, I don't quite get it yet. I'm not sure how I can use the mean and standard deviation to see if there is any significance to the warming. Do I need to use the standard deviation of the mean? [tex]\frac{\sigma_b}{\sqrt{N}}[/tex]
 
  • #14
Shukie said:
Thanks for your help. Unfortunately, I don't quite get it yet. I'm not sure how I can use the mean and standard deviation to see if there is any significance to the warming. Do I need to use the standard deviation of the mean? [tex]\frac{\sigma_b}{\sqrt{N}}[/tex]

No... consider the mean and standard deviation of your twelve b_i values, which you have already obtained correctly. (I got the same values.)

If the mean is 0, then there's no warming trend, right?

If the mean is very small, then there's no significant warming trend, right?

Riddle me this: how small is small, in this case?

Cheers -- sylas
 
  • #15
The mean lies about 4 standard deviations from 0. This would mean that it's highly unlikely that it's not warming up, right? So we can safely assume that there is indeed some amount of warming going on. The question is then, how much. Can I answer that question with just the mean and standard deviation?
 
  • #16
Shukie said:
The mean lies about 4 standard deviations from 0. This would mean that it's highly unlikely that it's not warming up, right? So we can safely assume that there is indeed some amount of warming going on. The question is then, how much. Can I answer that question with just the mean and standard deviation?

I believe so. This is a form of "hypothesis testing". Basically, you assume that there is no warming trend, and then estimate how surprising it is to get the observations you have. If the observations are surprising under the no warming hypothesis, then you can reject that hypothesis with high confidence.

I'm not sure how much they expect from you; but look up "hypothesis testing" anyway. It's a big subject, so go with the simple introductions.

Note that you've got a lot better than a single month that is several standard deviations away from zero. You've got 12 months, ALL of which are several standard deviations above zero. This increases your confidence in the warming.

There's a whole statistical theory of how this works, and I'm not expert at it.

A really quick and easy notion would be to argue as follows.
  1. Assume, for the sake of argument, that there is no warming.
  2. The mean you have obtained is surprising, under this assumption.
  3. Let's assume that the standard deviation, however, is about right. That is, assume that that the trends for a given month are zero on average (no warming) and also that the standard deviation is what you have measured, which is about 0.003.
  4. Under this no-warming assumption, what is the probability that 12 randomly selected months will have a mean which is what you have measured, or more?
  5. The standard deviation for the mean of a sample size 12 is the standard deviation for a single sample, divided by [itex]\sqrt{12}[/itex]. This would be more like 0.00087.
  6. Given your assumption, the mean value for your 12 months should be expected to come from a normal distributions with mean 0 and with standard deviation 0.00087. You obtained about 0.0129. What is the probability you would obtain a mean as high as that, under these assumptions?
  7. If this probability is less than 1%, you can reject the null-hypothesis with 99% confidence.
 
  • #17
Thank you, that really cleared things up. I don't know how to calculate it in Mathematica, but I can do it with my graphic calculator.

normalcdf(0.0129, 10^9, 0, 0.00087) = 5*10^-50

I don't know if I calculated it correctly, because that would mean a mean of 0.0129 or higher would have a ridiculously low chance of happening if there is no warming, pretty much zero chance really. I don't know how realistic that is.
 
Last edited:
  • #18
Shukie said:
Thank you, that really cleared things up. I don't know how to calculate it in Mathematica, but I can do it with my graphic calculator.

normalcdf(0.0129, 10^9, 0, 0.00087) = 5*10^-50

I don't know if I calculated it correctly, because that would mean a mean of 0.0129 or higher would have a ridiculously low chance of happening, pretty much zero chance really. I don't know how realistic that is.

That sounds about right. Just check that the calculator not actually overflowing.

You've calculated sdev for b_i as 0.00292541
The standard deviation for 12 items, therefore, should be 0.000844493
(You've used 0.00087, which was a really crude low accuracy value by me, starting from 0.003)

You've got the mean as 0.0190084
That's about 22.5 standard deviations! 10^-50 sounds the right ball park.

In other words, there's a ridiculously low chance of no warming trend. You've definitely got warming happening; there is a statistically significant increase in temperature going on.

Now it just so happens that I play around with this kind of data quite a lot. I've loaded your De Bilt data into a spreadsheet I have ready to hand, and used that to calculate the trend with a linear regression over the data. But I used another slightly more complicated method for getting the significance of the trend.

I gave each year a single temperature as the mean of all twelve months. (This is already in your data as column 13). I did a regression over that, and found the slope. Then I used the "standard error" method, with the student-t distribution to get bounds from a confidence level. Here's what I got:

Warming trend is De Bilt: 108.000 year trend = 0.129 C/decade, +/- 0.039 (95% conf)

(My spreadsheet calculates trend in degrees per decade. You can divide by 10 to get degrees per year.)

The +/0 0.39 means that I am 95% confident the trend is somewhere from 0.090 to 0.168. There's too much noise to nail down an accurate slope better than that; but it's definitely positive.

The confidence limit is a parameter, and the spreadsheet cannot actually handle the extreme probability that would allow for a negative trend to be consistent with this data.

Here's how it works.
De Bilt: 108.000 year trend = 0.129 C/decade, +/- 0.051 (99% conf)
De Bilt: 108.000 year trend = 0.129 C/decade, +/- 0.066 (99.9% conf)
De Bilt: 108.000 year trend = 0.129 C/decade, +/- 0.079 (99.99% conf)
De Bilt: 108.000 year trend = 0.129 C/decade, +/- 0.091 (99.999% conf)
De Bilt: 108.000 year trend = 0.129 C/decade, +/- 0.102 (99.9999% conf)
De Bilt: 108.000 year trend = 0.129 C/decade, +/- 97957.433 (99.99999% conf) {Oops. Overflow}

The method you are using, with the mean and standard distribution for individual months, is a bit quicker and easier, and it does establish that the warming trend is unambiguous.

Cheers -- sylas

PS. You are in the Netherlands, I guess? You speak English like a native. Very impressive! I've been to Eindhoven and Amsterdam, back in 1997.

Added in edit. Thinking about this, I may have given you some bad advice. All the different months are not really "independent" samples, and so dividing by square root of 12 might have been inappropriate. I'm not sure; I am not a statistician. You could ask your instructor, or perhaps another reader here might correct me on this.

Suppose you just stick with 0.00292541 as the standard deviation, rather than 0.00087 or whatever. The method I used ends up with 95% confidence limits at 0.0039; that suggests to me that dividing by sqrt(12) might have given just a bit TOO much confidence in the warming.

In this case, you would find that the mean is about 6.5 standard deviations above zero. This is still enough to give very high confidence for warming, but it might be the more sensible bound, statistically. I'm really not sure! Anyhow, plug that into your normalcdf as well.
 
Last edited:
  • #19
Thanks for your extensive explanation, very interesting.

Added in edit. Thinking about this, I may have given you some bad advice. All the different months are not really "independent" samples, and so dividing by square root of 12 might have been inappropriate. I'm not sure; I am not a statistician. You could ask your instructor, or perhaps another reader here might correct me on this.

Even without dividing the standard deviation by the square root of 12, I still get normalcdf(0.0129, 10^9, 0, 0.00292541) = 5*10^-6

So we can still safely assume that there is warming going on. In your method, you actually quantify your answer, but I guess that's a little out of reach with my method and perhaps not neccesary either, because the next question asks:

What is the mean for [tex]b_i[/tex] that a student would have found 7 years ago when he only had data up till 2001? Can you draw any further conclusions about the warming in De Bilt?

I calculated this and the mean of the period 1901-2001 is 0.0100872, opposed to the mean of the period 1901-2008, which is 0.0128915. Can I conclude from this that the warming is speeding up?

PS. You are in the Netherlands, I guess? You speak English like a native. Very impressive! I've been to Eindhoven and Amsterdam, back in 1997.

Thank you, it's one of the positive benefits of watching too much tv I guess :tongue2: I'm 99% confident that if you come back now you'll find the temperatures a bit more pleasant :biggrin:
 
Last edited:
  • #20
Shukie said:
I calculated this and the mean of the period 1901-2001 is 0.0100872, opposed to the mean of the period 1901-2008, which is 0.0128915. Can I conclude from this that the warming is speeding up?

Compared with your accuracy bounds on the long term trend, that's a weak conclusion. The additional trend is within natural variation. Compare the difference with the standard deviation of trends.

There's a better way to look at this... use a sliding window!

The great thing about a tool like mathematica is that you'll be able to do this very easily. Pick some non-trivial number of years... at least 10. You can make this a parameter and try different values.

Now calculate the trend over 10 consecutive years. Compare 1901-1910 with 1930-1939 with 1999-2008. It's probably best to use the column 13 data for the annual average temperature, rather than worry about particular months, just to keep it simpler for the moment.

In fact, use an odd number, like 11. For every year, obtain the trend over a range of up to 5 years either side. Do it like this.

  • Let R be your "range" for the sliding window. Try R = 5, and R = 10, and anything else you like.
  • For each year X, consider the years X-R up to X+R, and calculate the trend B over this window of (2R+1) years. Note that if R is 5, you can only go up to 2003 (which is the middle of the window 1998-2008).
  • Now plot B against X. This is a plot of how the short term trend changes over time!
  • Calculate the mean and standard deviation of your B values -- the short term trends. The mean should be something tolerably close to the long term trend, but the standard deviation indicates how much the short term trend can vary from the long term trend.

Once you've done this, there are quite a number of other ways to try and draw a few conclusions. you'll find that there is a lot more variation with a shorter window. An 11 year window gives quite noisy results, but a 21 year window starts to show a few rather suggestive features.

This is pretty relevant at present. A lot of people are making a claim that "global warming has stopped". They do this by looking at a short term trend, which is at present below the longer term trend. But in fact, there's nothing particularly significant about the slow down involved. It's easily within natural variation. Statistically, the natural variation of weather is observed to have a magnitude which implies that any long term trend is bound to have decades where the short term trend is substantially above or below a long term trend. Ten years is just not enough, given noisy data, to conclude much about whether warming is speeding up or slowing down. Twenty years would make more sense, given the observed variation.

Thank you, it's one of the positive benefits of watching too much tv I guess :tongue2: I'm 99% confident that if you come back now you'll find the temperatures a bit more pleasant :biggrin:

Wouldn't be hard... actually I liked the Netherlands very much, and I certainly hope I will be back one day for a visit.

Cheers -- sylas
 
  • #21
You seem to have a very good grasp on this subject. I find it extremely interesting as well and if this assignment wasn't due next friday, I would attempt to use the method you outlined above and see the results for myself, but that's going to have to wait until next week, because it surely goes beyond the requirements of this assignment. I will definitely try your method, but for now, is there an easier way to draw any sort of further conclusions about the warming with just the mean I calculated for the period 1901-2001? Because, although very relevant and interesting indeed, I don't think the assignment is intended to go as in depth as you did.

Thank you for all the time and effort you are putting into helping me by the way, you surely went above and beyond what most people would do!
 
Last edited:
  • #22
Shukie said:
You seem to have a very good grasp on this subject. I find it extremely interesting as well and if this assignment wasn't due next friday, I would attempt to use the method you outlined above and see the results for myself, but that's going to have to wait until next week, because it surely goes beyond the requirements of this assignment. I will definitely try your method, but for now, is there an easier way to draw any sort of further conclusions about the warming with just the mean I calculated for the period 1901-2001? Because, although very relevant and interesting indeed, I don't think the assignment is intended to go as in depth as you did.

Thank you for all the time and effort you are putting into helping me by the way, you surely went above and beyond what most people would do!

It's been fun!

I think you are right about your assignment. There is a difference with the measurements made in 2001. I get this:
De Bilt: 101.000 year trend = 0.101 C/decade, +/- 0.042 (95% conf)

That's 1901 to 2001, and it matches what you have; the problem is that an overlap in confidence limits means you need to be cautious with conclusions. But we can relax the confidence a bit...

De Bilt: 101.000 year trend = 0.101 C/decade, +/- 0.027 (80% conf) -- 1901-2001
De Bilt: 108.000 year trend = 0.129 C/decade, +/- 0.025 (80% conf) -- 1901-2008

So you can conclude that the warming is most likely greater now... using your numbers, the difference is close to the edge of significance, being around a standard deviation or so.

The thing is, you aren't actually measuring the recent warming directly, but the whole trend since 1901. Here's a quick fact for free. The De Bilt record, in my opinion, seems to show a phase change somewhere roughly around 1970 or so. Basically, you have a fairly strong recent warming trend but not such a well defined trend before that. What would a student in 1970 see? Here it is:

De Bilt: 70.000 year trend = 0.039 C/decade, +/- 0.044 (80% conf) -- 1901-1970

You can't even be all that confident in warming at all in 1970. It's all a bit up and down before that

What's actually happening, I think, is that most of the warming took place over the last 30 to 40 years. Its not so much that the warming trend has increased. Rather, by 2008 there's been more of main warming trend showing up within your observations.

You can't really conclude that from the specific numbers you're using... but what you CAN do is mention is as a plausible hypothesis.

That is, you note that you have independent reason to speculate about warming in the latter half of the twentieth century, just from reading newspapers and so on. So ask yourself if the numbers from De Bilt are consistent with this. The answer is yes. If there is indeed a warming trend in the latter half of the century, you should expect more of this warming trend within the 1901-2008 window; and hence a higher overall trend.

And finally, just for completeness, here's the trend from 1970-2008

De Bilt: 39.000 year trend = 0.460 C/decade, +/- 0.109 (80% conf) -- 1970-2008

That's well above the global average.

Cheers -- sylas
 
  • #23
I think that just about covers it all, with your last post I was able to give a satisfactory answer to the question (hopefully). The last few remaining questions are really just about manipulating the data I already found to find the extremes, which should be doable. Again, thanks for all your assistance, you have no idea how much you helped me!
 

1. What do you mean by "increasing monthly temperatures"?

In this context, increasing monthly temperatures refers to the trend of rising average temperatures over time, specifically on a monthly basis.

2. How do scientists measure monthly temperatures?

Scientists use various tools, such as thermometers and weather stations, to collect temperature data on a daily basis. This data is then averaged over a month to determine the monthly temperature.

3. What is causing the increase in monthly temperatures?

The increase in monthly temperatures is primarily due to the release of greenhouse gases, such as carbon dioxide, into the atmosphere. These gases trap heat and contribute to the overall warming of the Earth.

4. Is the increase in monthly temperatures a natural phenomenon or caused by human activity?

While there are natural fluctuations in temperature, the current trend of increasing monthly temperatures is largely attributed to human activities, such as burning fossil fuels and deforestation, which release greenhouse gases into the atmosphere.

5. What are the potential consequences of increasing monthly temperatures?

The consequences of increasing monthly temperatures can include more extreme weather events, such as heatwaves and hurricanes, melting of polar ice caps and glaciers, rising sea levels, and disruption of ecosystems and biodiversity.

Similar threads

  • Introductory Physics Homework Help
Replies
2
Views
537
Replies
7
Views
849
  • Precalculus Mathematics Homework Help
Replies
1
Views
529
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
741
  • Introductory Physics Homework Help
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
14
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Introductory Physics Homework Help
Replies
1
Views
2K
Back
Top