This page contains datafiles and code used for some of the examples in N.J. Gotelli & A.M. Ellison (2004) A primer of ecological statistics. Sinauer Associates, Sunderland, Massachusetts.

Please let us know if you are using the Primer or these data for teaching purposes!

Errata are also available.

Data are in space-delimited ASCII text, and code is provided either as "script" files (.SSC) that will run in S-Plus for Windows, version 6.1 or ASCII text files that can be imported into and run with WinBUGS version 1.4. The code files (.txt or .ssc) can be opened and read with any text editor (e.g., NotePad, WordPad, Emacs, VI).

The book can be ordered directly from Sinauer Associates.

Update history:

28 September 2005 - added Darlingtonia datasets for Chapters 9 and 12; updated Literature Cited (AME).
17 January 2006 - added full Littoraria dataset for the discriminant analysis example from Chapter 12 (AME).


[ Chapter 3 | Chapter 4 | Chapter 5 | Chapter 8 | Chapter 9 | Chapter 10 | Chapter 11 | Chapter 12 | Literature Cited ]


Chapter 3

[ Chapter 3 | Chapter 4 | Chapter 5 | Chapter 8 | Chapter 9 | Chapter 10 | Chapter 11 | Chapter 12 | Literature Cited ]
[Back to Top]


Chapter 4

[ Chapter 3 | Chapter 4 | Chapter 5 | Chapter 8 | Chapter 9 | Chapter 10 | Chapter 11 | Chapter 12 | Literature Cited ]
[Back to Top]


Chapter 5

[ Chapter 3 | Chapter 4 | Chapter 5 | Chapter 8 | Chapter 9 | Chapter 10 | Chapter 11 | Chapter 12 | Literature Cited ]
[Back to Top]


Chapter 8

[ Chapter 3 | Chapter 4 | Chapter 5 | Chapter 8 | Chapter 9 | Chapter 10 | Chapter 11 | Chapter 12 | Literature Cited ]
[Back to Top]


Chapter 9

[ Chapter 3 | Chapter 4 | Chapter 5 | Chapter 8 | Chapter 9 | Chapter 10 | Chapter 11 | Chapter 12 | Literature Cited ]
[Back to Top]


Chapter 10

[ Chapter 3 | Chapter 4 | Chapter 5 | Chapter 8 | Chapter 9 | Chapter 10 | Chapter 11 | Chapter 12 | Literature Cited ]
[Back to Top]


Chapter 11

[ Chapter 3 | Chapter 4 | Chapter 5 | Chapter 8 | Chapter 9 | Chapter 10 | Chapter 11 | Chapter 12 | Literature Cited ]
[Back to Top]


Chapter 12

[ Chapter 3 | Chapter 4 | Chapter 5 | Chapter 8 | Chapter 9 | Chapter 10 | Chapter 11 | Chapter 12 | Literature Cited ]
[Back to Top]


Literature Cited
  1. Blume, J. D., and R. M. Royall. 2003. Illustrating the Law of Large Numbers (and confidence intervals). American Statistician 57: 51-57.
  2. Cade, B. S., J. W. Terrell, and R. L. Schroeder. 1999. Estimating effects of limiting factors with regression quantiles. Ecology 80: 311-323.
  3. Dixon, P. M., A. M. Ellison, and N. J. Gotelli. 2005. Improving the precision of estimates of the frequency of rare events. Ecology 86: 1114-1123.
  4. Doornik, J. A., and H. Hansen. 1994. An omnibus test for univariate and multivariate normality. Working paper, Nuffield College, Oxford University.
  5. Ellison, A. M., and E. J. Farnsworth. 2005. The cost of carnivory for Darlingtonia californica (Sarraceniaceae): evidence from relationships among leaf traits. American Journal of Botany 92: 1085-1093.
  6. Ellison, A. M., E. J. Farnsworth & N. J. Gotelli. 2002. Ant diversity in pitcher-plant bogs of Massachusetts. Northeastern Naturalist 9: 267-284.
  7. Ellison, A. M., E. J. Farnsworth, and R. R. Twilley. 1996. Facultative mutualism between red mangroves and root-fouling sponges in Belizean mangal. Ecology 77: 2431-2444.
  8. Farnsworth, E. J. 2004. Patterns of plant invasion at sites with rare plant species throughout New England. Rhodora 106: 97-117.
  9. Farnsworth, E. J., and A. M. Ellison. 1996. Sun-shade adaptability of the red mangrove, Rhizophora mangle (Rhizophoraceae): changes through ontogeny at several levels of biological organization. American Journal of Botany 83: 1131-1143.
  10. Gotelli, N. J., and A. M. Ellison. 2002. Biogeography at a regional scale: determinants of ant species density in New England bogs and forest. Ecology 83: 1604-1609.
  11. Merkt, R. E. & A. M. Ellison. 1998. Geographic and habitat-specific morphological variation of Littoraria (Littorinopsis) angulifera (Lamarck, 1822). Malacologia 40: 279-295.
  12. Preston, F. W. 1962. The canonical distribution of commonness and rarity: Part I. Ecology 43: 185-215.
  13. Schroeder, R.L., and L.D. Vangilder. 1997. Tests of wildlife habitat models to evaluate oak mast production. Wildlife Society Bulletin 25: 639-646.
  14. Venables, W. N., and B. D. Ripley. 2002. Modern applied statistics with S, 4th edition. Springer-Verlag, New York.

[ Chapter 3 | Chapter 4 | Chapter 5 | Chapter 8 | Chapter 9 | Chapter 10 | Chapter 11 | Chapter 12 | Literature Cited ]
[Back to Top]