ATMO/GEOS 595c Patterns and Mechanisms of Decadal Climate Variability
Data Exercise 4: Construct a regression map


Exercise Questions
Introduction
Help
Calculation
Regression mapping

Question for discussion Monday, Apr 21st, as a result of this data analysis exercise:
correlation of wintertime SAM index with phi(850mb) anomalies
 
Introduction

In many of the papers we have read this semester (and the current two sessions are no exception) we have seen many examples of spatial regression analysis.  That is, we have looked at the map of correlations or regression coefficients associated with an index time series.  The purpose of this data exercise is to show you how to make your own regression or correlation maps.  We will use your results in our discussion of decadal variability in the Antarctic sector during the week of April 21st.

Help 

For this exercise we will use the International Research Institute for Climate and Society (IRI)'s superb Data Library and its computing and visualization engine Ingrid. Ingrid and the Data Library have been made available via browser by M.B. Blumenthal and others at Lamont-Doherty Earth Observatory.  To paraphrase what has been said about Emacs: Ingrid is something more than a computing language for comparing gridded data; and something less than a religion.   That said, I am biased; so please feel free to employ any computational environment you prefer.  Another good one out there on the internet is the KNMI Data Explorer

An introductory tutorial to using the Data Catalog and Ingrid is here.  Ingrid Function  Documentation is here.  Having a browser tab open to these pages may be useful as you go through the exercise.

Calculation

The basic calculation we wish to make is fairly straightforward.  Suppose we have a time series A(t) and a spatiotemporal field B(x,y,t), each of which have time mean zero, in the case of B, at each location in the spatial domain. 

(eq. 1)     r(x,y) = <A*B>/[s(A)*s(B)]

where <...> indicates the average over time of the quantity inside the angles, * indicates multiplication, and s(A) and s(B) are the standard deviations of A and B, respectively:

(eq. 2)    s(A) = sqrt{sum(A2)/n}

with n = the number of time points for which we have data, sum(A2) is the sum of squared anomalies relative to the mean, sqrt is the square root operator, and recalling that we defined A and B to have time means equal to zero.   You can see that although s(A) is just a number, s(B) will also be a spatial pattern over x and y. 
(eq. 3)     m(x,y) = <B*A>/<A*A>

where the quantity in the numerator is the covariance of A and B, and in the denominator is the variance of A, and has units of B/A.

Regression mapping

Now let's use the Data Library and Ingrid to make a correlation map.  First, review the structure and commands we used on 4/14/08 to map the regression of global historical sea surface temperature anomaly on an index of the Northern Annular Mode, here

Based on our previous regression mapping exercise, you may be able to find your own way to the regression map we seek. If not, or you get stuck, here is a roadmap to a solution to this exercise:


Choose the 850 mb geopotential height dataset for the regressing on the SAM index. help
Calculate anomalies relative to the annual cycle. help
Calculate wintertime average anomalies. help
Convert units into meters.
help
Choose the sea level dataset from which you'll calculate the SAM index. help
Calculate anomalies relative to the annual cycle.

Calculate wintertime average anomalies.

Calculate the latitude-weighted SVD, extract the first timeseries, and standardize it.
help
Calculate the standard deviation of the wintertime 850mb geopotential height anomaly field.
help
Reorganize the stack so that the standard deviation of 850mb height anomalies is first, and field and SAM index to be correlated are second and third (undocumented, but elegant).
help
Calculate the correlation of the SAM index and the 850mb geopotential height anomaly field; multiply by standard deviation of the wintertime 850mb geopotential height anomaly field to get the regression map.
help
Plot a nice map with colors and contours of the regression map, and coastlines in white.
help

Now go back to the top of this page and prepare your thoughts on the answer to our discussion questions.



back to Syllabus/Schedule.  Last updated 15 Apr 2008.