Supplement 1. Matlab files for fitting power-law exponents using different methods.

<h2>File List</h2><blockquote> <table> <tbody><tr> <td><a href="cdf_pareto.m">cdf_pareto.m</a></td> <td>--</td> <td>Matlab file for fitting the CDF of the Pareto distribution</td> </tr> <tr> <td><a href="cdf_power.m">cdf_power.m</a></td> <td>--</td> <td>Matlab file for fitting the CDF of the Power distribution</td> </tr> <tr> <td><a href="linbin_estimator.m">linbin_estimator.m</a></td> <td>--</td> <td>Matlab file for fitting linearly binned data</td> </tr> <tr> <td><a href="logbin_estimator.m">logbin_estimator.m</a></td> <td>--</td> <td>Matlab file for fitting normalized logarithmicly binned data</td> </tr> <tr> <td><a href="mle_discretepareto.m">mle_discretepareto.m</a></td> <td>--</td> <td>Matlab file for maximum likelihood estimation of the discrete Pareto distribution</td> </tr> <tr> <td><a href="mle_pareto.m">mle_pareto.m</a></td> <td>--</td> <td>Matlab file for maximum likelihood estimation of the Pareto distribution</td> </tr> <tr> <td><a href="mle_power.m">mle_power.m</a></td> <td>--</td> <td>Matlab file for maximum likelihood estimation of the Power Function distribution</td> </tr> <tr> <td><a href="mle_truncpareto.m">mle_truncpareto.m</a></td> <td>--</td> <td>Matlab file for maximum likelihood estimation of the truncated Pareto distribution</td> </tr> <tr> <td><a href="allfiles.zip">allfiles.zip</a></td> <td>--</td> <td>Download all files at once </td> </tr> </tbody></table> </blockquote><h2>Description</h2><blockquote> <p>The accompanying Matlab files perform each of the different fitting methods described in the original paper. Depending on the method there may be several different files to allow the fitting of the different distributions described in the original paper. All files take a vector data that is list of each observed value of x, as well as a series of arguments that are unique to each combination of method and distribution. Detailed descriptions of these arguments are provided in a comment header at the beginning of each file. All files are also heavily commented for clarity. For non-Matlab users, m-files can be opened using any standard text editor (note: % is the comment symbol).</p> </blockquote>