Take the 2-minute tour ×
MathOverflow is a question and answer site for professional mathematicians. It's 100% free, no registration required.


Consider the following data set:


The years 1990 and 1992 to 1994 have a low measurement count.

Update: Context

I am creating a system that allows the general public to create charts on climate. The purpose of the chart is to show general climate trends (through linear and non-linear regression analysis). My concern is that insufficient measurements taken throughout the year will skew the data in misleading ways.

I am using statistical analysis software for the PostgreSQL database (i.e., PL/R) to perform the calculations. I do not know if I can tell PL/R to "give less weight" to annual averages with fewer than 365 measurements. Also, if all the measurements were made in winter, then it seriously does not reflect the average maximum temperature for the year -- not even close. I also do not know if I can tell PL/R to assign weight based on when during the year the majority of measurements were made.

I have created two charts illustrating the difference between removing and keeping the sub-200 measurement counts:


  1. Should the short years be excluded from the list?
  2. If 365 measurements is the norm, what are the minimum number of measurements needed to be statistically significant (i.e., not skew the correlation)?

Thank you!

share|improve this question
excluded ? Why don't you simply put less weight to these observations, instead ? –  Alekk May 25 '10 at 16:25
The answer to this question depends in an essential way on what you plan to do with the data. It would help if you added some context. –  S. Carnahan May 25 '10 at 16:38
add comment

1 Answer

up vote 4 down vote accepted

I cannot comment due to rep requirements but Alekk's comment reg weight- If you use hierarchical bayesian (also known as multi-level models) ideas to process the data then the observations coming from years 1990 and 1992 to 1994 will receive lower weight when estimating the parameters of interest.

In general, throwing out data is not a good idea as there is some information (perhaps it is weak) in those years.


Disclaimer: I do not know anything about climate science. FWIW, my thoughts are below:

In response to your updated context, you need a way to model the climate data to account for seasonality and time trends in your data. The typical way to model time series data is to use autoregressive models. Typically, these models assume stationarity which means that the data is assumed to fluctuate around a long term average. In the context of climate science, you will have to relax this somewhat to see if the process in fact has a long term average that is increasing/decreasing. I do not think there is a canned routine that will do this for you but I could be wrong. I would encourage you to discuss the issue with a climate researcher.

share|improve this answer
I switched from MySQL to PostgreSQL to use autoregressive models in PL/R. The project ends July 15th, so I don't have enough time to remodel 273 million data points. I will be speaking with a climate researcher. The data is exposed through various inputs, including starting month-day to ending month-day (e.g., March 22 - June 22). It does not make sense to divide the data categorically into seasonal constraints. The users have the ability to probe the data like that, and in many other ways. I wanted to know if it made sense statistically to toss insufficient annual data. –  Dave Jarvis May 26 '10 at 3:22
Well a properly specified AR model and Bayesian ideas will let you do one or both of the following: 1. Will accommodate years with sparse measurements appropriately and 2. Will let you impute the missing data for the years in question. The specifics of the AR model will depend on climate science and what level of aggregration you are willing to live with (e.g., do you want to model daily data, monthly data etc). –  Anon May 26 '10 at 3:40
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.