figshare
Browse
1/1
5 files

Supplement 1. S-Plus code used to generate Figs. 2-8 and Table 2.

dataset
posted on 2016-08-04, 23:24 authored by Ole C. Lingjærde, Nils Chr. Stenseth, Anja B. Kristoffersen, Robert H. Smith, S. Jannicke Moe, Jonathan M. Read, Susan Daniels, Ken Simkiss

File List

S-Plus code:

estimation.q
testing.q
plotting.q

Download all files at once: blowfly-code.zip

All individual files are in ASCII text. The .zip file requires WinZip to extract.

Description

Following are the S-Plus files (in ascii format) that were used in conjunction with the time series described in the paper to generate Figs. 2-8 and Table 2. The file estimation.q contains the code to estimate all functions and parameters in the model in Eqs. 5-10. After execution the list fit.all contains estimates found on the basis of individual populations, whereas the list fit.cmb contains estimates found on the basis of combining the replicates. Note that the S-Plus code in estimation.q has to be executed before executing the other S-Plus files described below.

The file testing.q contains the code to generate the entries of Table 2, i.e., code for applying the Mann-Whitney U test and the Kolmogorov-Smirnov test to estimated parameters as described in the paper.

The file plotting.q contains the code to generate Figs. 2-8 based on the estimates found using estimation.q.

History