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

<h2>File List</h2><p> <a href="Supp1Files/matlab.zip">matlab.zip</a> - contains all files (md5: 270958ea5f316bd0104e5574230d492a)<br> <br> <a href="Supp1Files/bootstrapFitModell.m">bootstrapFitModell.m</a> (md5: fd346296b366e4b359ec04b0d46a4c39)<br> <a href="Supp1Files/computeOmegaBiVariateVector.m">computeOmegaBiVariateVector.m</a> (md5: 45e3a92916b092277af26d3597eb0ef7)<br> <a href="Supp1Files/figure1BW.m">figure1BW.m</a> (md5: e81dfb6adbe1dfafc24d7ea24f81889a)<br> <a href="Supp1Files/figure2BW.m">figure2BW.m</a> (md5: 66b1c4ea724828fb6d4730b1eddfdc24)<br> <a href="Supp1Files/figure3BW.m">figure3BW.m</a> (md5: 7aabe7c7631fa6fa802ab41aa62ec13d)<br> <a href="Supp1Files/figureC1.m">figureC1.m</a> (md5: 1e66313352727cc890acbb42f105ca5c)<br> <a href="Supp1Files/finalOmegaParentProcess.m">finalOmegaParentProcess.m</a> (md5: 634ce5726e3a4be604b01f172066d091)<br> <a href="Supp1Files/finalOmegaParentProcessDD.m">finalOmegaParentProcessDD.m</a> (md5: 83f712ca2139f25ba380cdf78af35a08)<br> <a href="Supp1Files/fitModell.m">fitModell.m</a> (md5: 58cc3ca41413921134dc133b5523fe05)<br> <a href="Supp1Files/gfplotBW.m">gfplotBW.m</a> (md5: 497dd4a9a7716ad7786e8dee029c0857)<br> <a href="Supp1Files/growProcess.m">growProcess.m</a> (md5: a194c14d5ccce3cdb88f8986dc3845fc)<br> <a href="Supp1Files/growProcessDD.m">growProcessDD.m</a> (md5: 2a64938233bfd06012b5f391169b5141)<br> <a href="Supp1Files/parentProcess.m">parentProcess.m</a> (md5: 354122d3320b90e300f10e6a5d022099)<br> <a href="Supp1Files/parentProcessDD.m">parentProcessDD.m</a> (md5: f78bad7ab5fe9daeec605c469f68def7)<br> <a href="Supp1Files/periodicBoundaryDistance.m">periodicBoundaryDistance.m</a> (md5: 6698c2d322412577855081dd44d0e2d8)<br> <a href="Supp1Files/readForestFile.m">readForestFile.m</a> (md5: 3b45b4c04e4305fff44cc6387a2543fd)<br> <a href="Supp1Files/shrinkProcessDD.m">shrinkProcessDD.m</a> (md5: a5de8e5b304e412beb8b246bc5413ba2)<br> <a href="Supp1Files/testGrowParentProcess.m">testGrowParentProcess.m</a> (md5: 2e3c02c5362c0c522ba0220d04f346e1)<br> <a href="Supp1Files/testGrowParentProcessDD.m">testGrowParentProcessDD.m</a> (md5: 4fa92aae0dd1aaf6090184b8d150e04a)<br> <a href="Supp1Files/testGrowShrinkParentProcess.m">testGrowShrinkParentProcess.m</a> (md5: 90483e49f252833276353c560dc71b1a)<br> <a href="Supp1Files/testGrowShrinkParentProcessDD.m">testGrowShrinkParentProcessDD.m</a> (md5: c3582d6feafdb8c6faf5da75ee9bbeb4)<br> <a href="Supp1Files/testParentProcess.m">testParentProcess.m</a> (md5: a053e47c4e2655f40bcbbde7ff9ea02f)<br> <a href="Supp1Files/testParentProcessDD.m">testParentProcessDD.m</a> (md5: 7618b74c78ffd6804ea95cb1d02af8a9)<br> <a href="Supp1Files/testShrinkParentProcess.m">testShrinkParentProcess.m</a> (md5: 8db823120a812a2c3218cb80200ec75c)<br> <a href="Supp1Files/testShrinkParentProcessDD.m">testShrinkParentProcessDD.m</a> (md5: 39eaeef1f4b618da3f008987fdd63cf2)<br> <a href="Supp1Files/COPYING.txt">COPYING.txt</a> (md5: d32239bcb673463ab874e80d47fae504)<br> <a href="Supp1Files/README.txt">README.txt</a> (md5: b3971ea94de3f8d72d42ceab51c93e5d) </p><h2>Description</h2><p> For the analysis, you will need the census data from 1985, 2000, and 2005 for Barro Colorado Island (BCI), available from <a href="http://www.ctfs.si.edu/site/Barro+Colorado+Island" target="_blank">http://www.ctfs.si.edu/site/Barro+Colorado+Island</a>. </p> <p> readForestFile.m can be used to parse the BCI data files. </p> <p> computeOmegaBiVariateVector.m can compute the Omega aggregation index. </p> <p> bootstrapFitModell.m is used to compute the <i>R</i><sup>2</sup> values and the significance improvement when adding variables to the linear regression. </p> <p> figure1BW.m, figure2BW.m, figure3BW.m, and figureC1.m can be used to plot the corresponding figure in the manuscript given the appropriate input. </p> <p> testGrowShrinkParentProcess.m is needed to compute the simulation results for Fig. 1. </p> <p> testGrowShrinkParentProcessDD.m is needed to compute the locally density dependent simulation results for Fig. C1. </p>