agnotology: Demonstrations which debunk some methods and analytical...

Description Usage Arguments Value Author(s) Examples

Description

This set of function provide demonstrations showing why the choice of methods and analytrical set-ups in a number of papers are inappropriate. This computer code is also used to do the analysis on which the paper 'Bad science papers' by Benestad et al. is based.

Some of these analyses are indeed very trivial, but carried out nevertheless. The objective with this R-package is partly to show that code sharing and open-source can be an effective means of resolving differences. Methods and analytical set-up should be tested with surrogate data for which the anwers are known a priori (a kind of method calibration and evaluation). The spirit of this is very much like the replication carried out by Benestad and Schmidt (2009) http://pubs.giss.nasa.gov/abs/be02100q.html

Humlum.et.al.2011 exmines the results of Humlum et al. (2011) http://www.sciencedirect.com/science/article/pii/S0921818111001457 and extends their analysis to the data that they cut off.

Humlum.et.al.2012 exmines the results of Humlum et al. (2012) http://www.sciencedirect.com/science/article/pii/S0921818112001658. The URLs for the data are given by URLs4HSS2012

LoehleScafetta2011. Reference: Loehle and Scafetta (2011) http://benthamscience.com/open/toascj/articles/V005/74TOASCJ.htm

Scafetta2010 Some replication and some demonstrations showing how different tempertures change results, and how different noise processes may seem to contain long-term cycles.

Solheim.et.al.2011 replicates the analysis carried out by solheim et al. (2011), and shows how their bootstrapping is biased, and that their results are not really significant after all. Walker.test is the function for the Walker test to test the significance when many tests are made (problem of multiplicity/field significance). check.table1 and obs2tab1 are supporting functions for this replication. do.vardo repeats the analysis for Vardo. Reference: Solheim et al (2011) http://arxiv.org/pdf/1112.3256. DJF extracts the December-February mean.

Scafetta2006 is a modification of the R-scripts used in Benestad & Schmidt (2008) replicating and testing the analysis in the papers Scafetta (2006).

MM2004 The R-script used to carry out the analysis of Benestad (2004) http://www.int-res.com/articles/cr2004/27/c027p171.pdf

DCPS2007 shows how the conficende intervals used in Douglas et al. (2007) excludes many of the GCM results, on which it was based. Reference: Douglas et al. (2007) http://www.pas.rochester.edu/~douglass/papers/Published%20JOC1651.pdf

paleaoproxy examines some assertions made by Veizer (2005): Comparison between cosmogenic Be-10 isotope proxies, CO2, and temperature from the Vostoc ice core. http://www.realclimate.org/index.php/archives/2005/05/on-veizers-celestial-climate-driver/

forskning.no replicates a figure (again, by Solheim et al.) shown in http://www.forskning.no/artikler/2012/mars/316178 that claims that the warming has stopped. The figure gives a wrong impression, as it's shown on monthly scales where the monthly anomalies swamp the signal. By plottingthe monthly mean values instead, the warming trends becomes visible.

These papers are also discussed on http://www.RealClimate.org: http://www.realclimate.org/index.php/archives/2011/12/curve-fitting-and-natural-cycles-the-best-part/ and http://www.realclimate.org/index.php/archives/2011/08/an-exercise-about-meaningful-numbers-examples-from-celestial-attribution-studies/

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
Humlum.et.al.2011()
Humlum.et.al.2013(wfl=12,forcing=FALSE,HadCRUT4=FALSE,HadSST3=FALSE)
forskning.no(uah=TRUE,rss=TRUE,giss=TRUE,ncdc=TRUE,hadcrut3=TRUE,
             lwd=1,ylim=c(-0.4,1),xlim=c(1995,2012),
             base.period=1981:2010,type="s")
LoehleScafetta2011()
Scafetta2010()
Scafetta2012()
Scafetta.tab1()
check.table1(ssh2011.tab1=NULL)
Solheim.et.al.2011(obs=NULL,ssh2011.tab1=NULL,N.tests=30000)
do.vardo()
Scafetta2006(GISS.temp = TRUE, do.MonteCarlo = TRUE, test.bp = TRUE, 
    lag = 0, stepwise = TRUE, interval = 1958:2000, same.interval = TRUE, 
    all.data = FALSE, SW06.coefs.only = FALSE, wavelets.only = FALSE, 
    bivariate = TRUE, figures = TRUE, tables = TRUE, wavelet = TRUE, 
    boundary = "reflection")
MM2004()
DCPS2007()
paleaoproxy()
FL1991(dmi=FALSE,
   url="http://web.dmi.dk/fsweb/solarterrestrial/sunclimate/SCL.txt")

Arguments

obs

observations: station data.

GISS.temp

TRUE: use GISTEM, otherwise hadCRUT3

test.bp

pand-pas test

lag

lag between forcing and temperature response (years)

stepwise

TRUE: step-wise regression

interval

Time interval to analyse

same.interval

TRUE: same.interval as SW2006a

all.data

TRUE: use all the data data

SW06.coefs.only

TRUE: only estimate the coefficients in SW2006

wavelets.only

TRUE: only do the wavelet

bivariate

TRUE: only include soalr forcing and GHG in regression

figures

TRUE: plot figures

tables

TRUE: print tables

ssh2011.tab1

Table as in ssh2011.tab1 for defining solar cycle epochs, correponding to Table 1 in Solheim et al. (2011).

wavelet

TRUE: do wav

boundary

Boundary for the wavelet: mra

N.tests

Number of Monte-Carlo simulations

do.MonteCarlo

TRUE: Carry out Monte-Carlo simulations

url

URL address of FL(1991) solar cycle length data.

dmi

Flag: if TRUE read from DMI web site

uah

Univ. Alabama Huntsville

rss

REmote Sensing Systems

giss

NASA/GISS

ncdc

NOAA NCDC

hadcrut3

Hadley Centre and Climate Research Unit, U.K.

lwd

see plot

ylim

see plot

xlim

see plot

base.period

Reference for anomalies.

type

see plot

wfl

window filter length

forcing

TRUE: use log(CO2) rather than CO2

HadCRUT4

Use HadCRUT4

HadSST3

Use HadSST3

s

standard deviation

Value

A table or lists containing the relevant data.

Author(s)

R.E. Benestad

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
## Not run: 
# Produce stretched-out temperature graph to hide the trend: Demonstrate
# how a stretched x-axis for plots of temperature, showing
# monthly values hide the long-term trend readily visible in the annual
# mean values.
forskning.no()


# Replicat the results from Humlum et al. (2011)
Humlum.et.al.2011()


# Replicat the results from Humlum et al. (2012)
Humlum.et.al.2012()
# Demonstrate the limitations of the diff-operator for two noisy signals
# (red and black in the upper panel respectively) with similar long-term
# harmonics. The lower panel shows the lagged correlation for the
# diff-operated series. 
diffdemo()
diff12demo()


# Replication of the analysis of Solheim et al. (2011)
Solheim.et.al.2011()


# Replicate the results from Loehle and Scafetta (2011)
LoehleScafetta2011()
# Demonstration: show that a noise consists of many Fourier components/harmonics
decomposeFT()


# Replicate the analysis done by Benestad & Schmidt (2009) repeating the
# work of Scafetta (2005, 2006a, 2006b)
Scafetta2006()


# Replicate the results from Scafetta (2010)
Scafetta2010()


# Replicate the results from Scafetta (2011)
Scafetta2011()
# Plot the results shown in Table 1 in Scafetta (2011) and the results
# obtained with an unbiased method.
Scafetta.tab1()
# Test the assumption about on good cycle-fit for a curve-fit toanother
# cycle, as done in Scafetta (2011)     
ENSO.example()
# Test the Runge-Kutta integration of a forced damped oscillator to test
# the claim about resonance made by Scafetta.
resonanceTest()


# Replicate the results from McKitrick & Michaels (2004)
MM2004()


# Replicate the results from Douglass et al. (2007)
Douglass2007()


# Replicate the results from Veizer (2005)
paleaoproxy()


# Replicate the solar cycle length from Friis-Christensen and Lassen (1991)
FL1991()

## End(Not run)

brasmus/replicationDemos documentation built on May 13, 2019, 2:30 a.m.