{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/power-law-distributions-in-empirical-data","title":"Power-law distributions in empirical data","arxiv_id":"0706.1062","date":"2007-06-07","proceeding":null,"authors":["Aaron Clauset","Cosma Rohilla Shalizi","M. E. J. Newman"],"abstract":"Power-law distributions occur in many situations of scientific interest and have significant consequences for our understanding of natural and man-made phenomena. Unfortunately, the detection and characterization of power laws is complicated by the large fluctuations that occur in the tail of the distribution -- the part of the distribution representing large but rare events -- and by the difficulty of identifying the range over which power-law behavior holds. Commonly used methods for analyzing power-law data, such as least-squares fitting, can produce substantially inaccurate estimates of parameters for power-law distributions, and even in cases where such methods return accurate answers they are still unsatisfactory because they give no indication of whether the data obey a power law at all. Here we present a principled statistical framework for discerning and quantifying power-law behavior in empirical data. Our approach combines maximum-likelihood fitting methods with goodness-of-fit tests based on the Kolmogorov-Smirnov statistic and likelihood ratios. We evaluate the effectiveness of the approach with tests on synthetic data and give critical comparisons to previous approaches. We also apply the proposed methods to twenty-four real-world data sets from a range of different disciplines, each of which has been conjectured to follow a power-law distribution. In some cases we find these conjectures to be consistent with the data while in others the power law is ruled out.","url_abs":"http://arxiv.org/abs/0706.1062v2","url_pdf":"http://arxiv.org/pdf/0706.1062v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"power-law-distributions-in-empirical-data","repo_url":"https://github.com/HakanAkgn/ClusterAnalyzer","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"power-law-distributions-in-empirical-data","repo_url":"https://github.com/UnofficialJuliaMirror/MaximumLikelihoodPower.jl-b27c85e4-d77a-5c9d-b9af-900830bae76b","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"power-law-distributions-in-empirical-data","repo_url":"https://github.com/UnofficialJuliaMirrorSnapshots/MaximumLikelihoodPower.jl-b27c85e4-d77a-5c9d-b9af-900830bae76b","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"power-law-distributions-in-empirical-data","repo_url":"https://github.com/csgillespie/poweRlaw","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"power-law-distributions-in-empirical-data","repo_url":"https://github.com/jeffalstott/powerlaw","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"power-law-distributions-in-empirical-data","repo_url":"https://github.com/jlapeyre/MaximumLikelihoodPower.jl","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"power-law-distributions-in-empirical-data","repo_url":"https://github.com/saf92/power_law_fitting","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"power-law-distributions-in-empirical-data","repo_url":"https://github.com/yushangdi/stack-exchange-cotagging","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=0706.1062","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"0706.1062"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jlapeyre/MaximumLikelihoodPower.jl","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/UnofficialJuliaMirrorSnapshots/MaximumLikelihoodPower.jl-b27c85e4-d77a-5c9d-b9af-900830bae76b","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jeffalstott/powerlaw","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yushangdi/stack-exchange-cotagging","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/csgillespie/poweRlaw","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/UnofficialJuliaMirror/MaximumLikelihoodPower.jl-b27c85e4-d77a-5c9d-b9af-900830bae76b","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/saf92/power_law_fitting","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/HakanAkgn/ClusterAnalyzer","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":7},"by_repo_kind":{"listed":{"samples":7,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"05ea356e292167d0","entry":"GOL","repo":"HakanAkgn/ClusterAnalyzer","repo_kind":"listed","path":"src/cluster_analyzer/game_of_life.py","file_url":"https://github.com/HakanAkgn/ClusterAnalyzer/blob/HEAD/src/cluster_analyzer/game_of_life.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"05ea356e292167d0"}},{"code_sha256_prefix":"5efc6128cca1ab44","entry":"LogisticGOL","repo":"HakanAkgn/ClusterAnalyzer","repo_kind":"listed","path":"src/cluster_analyzer/game_of_life.py","file_url":"https://github.com/HakanAkgn/ClusterAnalyzer/blob/HEAD/src/cluster_analyzer/game_of_life.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5efc6128cca1ab44"}},{"code_sha256_prefix":"947e511bcfe24753","entry":"calculate_activity_rate","repo":"HakanAkgn/ClusterAnalyzer","repo_kind":"listed","path":"src/cluster_analyzer/activity.py","file_url":"https://github.com/HakanAkgn/ClusterAnalyzer/blob/HEAD/src/cluster_analyzer/activity.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"947e511bcfe24753"}},{"code_sha256_prefix":"6e5df791aa344c64","entry":"convert_size_counts","repo":"HakanAkgn/ClusterAnalyzer","repo_kind":"listed","path":"src/cluster_analyzer/statistical_analysis.py","file_url":"https://github.com/HakanAkgn/ClusterAnalyzer/blob/HEAD/src/cluster_analyzer/statistical_analysis.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6e5df791aa344c64"}},{"code_sha256_prefix":"1ac9f957b742f7db","entry":"generate_cantor_set","repo":"HakanAkgn/ClusterAnalyzer","repo_kind":"listed","path":"src/cluster_analyzer/game_of_life.py","file_url":"https://github.com/HakanAkgn/ClusterAnalyzer/blob/HEAD/src/cluster_analyzer/game_of_life.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1ac9f957b742f7db"}},{"code_sha256_prefix":"33889948defefff3","entry":"sizes_counts","repo":"HakanAkgn/ClusterAnalyzer","repo_kind":"listed","path":"src/cluster_analyzer/statistical_analysis.py","file_url":"https://github.com/HakanAkgn/ClusterAnalyzer/blob/HEAD/src/cluster_analyzer/statistical_analysis.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"33889948defefff3"}},{"code_sha256_prefix":"9c29ea7e0d3dd46d","entry":"uniform_downsample","repo":"HakanAkgn/ClusterAnalyzer","repo_kind":"listed","path":"src/cluster_analyzer/statistical_analysis.py","file_url":"https://github.com/HakanAkgn/ClusterAnalyzer/blob/HEAD/src/cluster_analyzer/statistical_analysis.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9c29ea7e0d3dd46d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}