The Mauna Loa data provide an opportunity to gain experience applying basic exploratory data analysis.
Activities today
- Introduce basics for computing in R
- Explore data on CO2 and climate
- Group analysis of Mauna Loa data, including questions posted to Sakai
For next class
Based on your first day with the Mauna Loa vignette, provide a short summary for the following:
- What time of year is CO2 highest/lowest and why?
- At the current rate of CO2 increase in the atmosphere, how many years of change in the mean is equal to the seasonal change in CO2.
- The Mauna Loa CO2 series is an example of passive surveillance data that became one of the important debates of modern times. List three ways that this data set bears on the litigation issues we discussed on big oil.
- The ice-core data tell us that CO2 has been fluctuating for a long time. How does that perspective inform the interpretation of contemporary increases? Specically, does it bear on the question of responsibility for the societal cost of climate change?
Post your answers to Sakai.
CO2 at Mauna Loa
Here are a few thoughts as you work with R.
what type of an object is
mauna_loa_weekly?there is a problem with Halverson’s interpretation of the uncertainty in the trend. I illustrate with a simple experiment, let’s decrease the data to 10 observations.
plot(
mauna_loa_weekly$date,
mauna_loa_weekly$co2ppm,
type = 'l',
xlab = 'Date',
ylab = 'CO2 Concentration PPM',
main = 'Mauna Loa Weekly Carbon Dioxide Concentration'
)
abline(trend, col = 'dark blue')
# summary of linear fit
s1 <- summary(trend)$coefficients
# redo with only 10 observations
keep <- sample(nrow(mauna_loa_weekly), 10)
y <- mauna_loa_weekly$co2ppm[keep]
x <- mauna_loa_weekly$date[keep]
fit2 <- lm( y ~ x)
points(x, y, cex=2, col=2)
abline(fit2, col = 'brown', lty=2)s2 <- summary(fit2)$coefficients
print(s1)## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 3.177532e+02 1.516290e-01 2095.5972 0
## mauna_loa_weekly$date 4.950775e-03 1.320706e-05 374.8581 0
print(s2)## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 3.201933e+02 2.4532326381 130.51894 4.087947e-13
## x 4.810638e-03 0.0002222156 21.64852 1.131732e-07
What is the difference in these two fits, and how should it affect our uncertainty about rising CO2? How does this relate to the differences in regressions using monthly and annual data?
How does he use the
diff function?Why might sea-surface temperatures NOT look like atmospheric CO2 concentrations?
What are the wiggles in the composite ice-core record?