Supplement 1. MATLAB code used for the purpose of this study.

File List

matlab.zip - contains all files (md5: 270958ea5f316bd0104e5574230d492a)

bootstrapFitModell.m (md5: fd346296b366e4b359ec04b0d46a4c39)
computeOmegaBiVariateVector.m (md5: 45e3a92916b092277af26d3597eb0ef7)
figure1BW.m (md5: e81dfb6adbe1dfafc24d7ea24f81889a)
figure2BW.m (md5: 66b1c4ea724828fb6d4730b1eddfdc24)
figure3BW.m (md5: 7aabe7c7631fa6fa802ab41aa62ec13d)
figureC1.m (md5: 1e66313352727cc890acbb42f105ca5c)
finalOmegaParentProcess.m (md5: 634ce5726e3a4be604b01f172066d091)
finalOmegaParentProcessDD.m (md5: 83f712ca2139f25ba380cdf78af35a08)
fitModell.m (md5: 58cc3ca41413921134dc133b5523fe05)
gfplotBW.m (md5: 497dd4a9a7716ad7786e8dee029c0857)
growProcess.m (md5: a194c14d5ccce3cdb88f8986dc3845fc)
growProcessDD.m (md5: 2a64938233bfd06012b5f391169b5141)
parentProcess.m (md5: 354122d3320b90e300f10e6a5d022099)
parentProcessDD.m (md5: f78bad7ab5fe9daeec605c469f68def7)
periodicBoundaryDistance.m (md5: 6698c2d322412577855081dd44d0e2d8)
readForestFile.m (md5: 3b45b4c04e4305fff44cc6387a2543fd)
shrinkProcessDD.m (md5: a5de8e5b304e412beb8b246bc5413ba2)
testGrowParentProcess.m (md5: 2e3c02c5362c0c522ba0220d04f346e1)
testGrowParentProcessDD.m (md5: 4fa92aae0dd1aaf6090184b8d150e04a)
testGrowShrinkParentProcess.m (md5: 90483e49f252833276353c560dc71b1a)
testGrowShrinkParentProcessDD.m (md5: c3582d6feafdb8c6faf5da75ee9bbeb4)
testParentProcess.m (md5: a053e47c4e2655f40bcbbde7ff9ea02f)
testParentProcessDD.m (md5: 7618b74c78ffd6804ea95cb1d02af8a9)
testShrinkParentProcess.m (md5: 8db823120a812a2c3218cb80200ec75c)
testShrinkParentProcessDD.m (md5: 39eaeef1f4b618da3f008987fdd63cf2)
COPYING.txt (md5: d32239bcb673463ab874e80d47fae504)
README.txt (md5: b3971ea94de3f8d72d42ceab51c93e5d)

Description

For the analysis, you will need the census data from 1985, 2000, and 2005 for Barro Colorado Island (BCI), available from http://www.ctfs.si.edu/site/Barro+Colorado+Island.

readForestFile.m can be used to parse the BCI data files.

computeOmegaBiVariateVector.m can compute the Omega aggregation index.

bootstrapFitModell.m is used to compute the R2 values and the significance improvement when adding variables to the linear regression.

figure1BW.m, figure2BW.m, figure3BW.m, and figureC1.m can be used to plot the corresponding figure in the manuscript given the appropriate input.

testGrowShrinkParentProcess.m is needed to compute the simulation results for Fig. 1.

testGrowShrinkParentProcessDD.m is needed to compute the locally density dependent simulation results for Fig. C1.