Package: poweRlaw 0.70.6.9001

poweRlaw: Analysis of Heavy Tailed Distributions

An implementation of maximum likelihood estimators for a variety of heavy tailed distributions, including both the discrete and continuous power law distributions. Additionally, a goodness-of-fit based approach is used to estimate the lower cut-off for the scaling region.

Authors:Colin Gillespie [aut, cre]

poweRlaw_0.70.6.9001.tar.gz
poweRlaw_0.70.6.9001.zip(r-4.5)poweRlaw_0.70.6.9001.zip(r-4.4)poweRlaw_0.70.6.9001.zip(r-4.3)
poweRlaw_0.70.6.9001.tgz(r-4.4-any)poweRlaw_0.70.6.9001.tgz(r-4.3-any)
poweRlaw_0.70.6.9001.tar.gz(r-4.5-noble)poweRlaw_0.70.6.9001.tar.gz(r-4.4-noble)
poweRlaw_0.70.6.9001.tgz(r-4.4-emscripten)poweRlaw_0.70.6.9001.tgz(r-4.3-emscripten)
poweRlaw.pdf |poweRlaw.html
poweRlaw/json (API)
NEWS

# Install 'poweRlaw' in R:
install.packages('poweRlaw', repos = c('https://csgillespie.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/csgillespie/powerlaw/issues

Datasets:

On CRAN:

clausetpowerlaw

36 exports 109 stars 12.08 score 1 dependencies 31 dependents 33 mentions 326 scripts 4.6k downloads

Last updated 4 years agofrom:5fffab8e82. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 14 2024
R-4.5-winNOTESep 14 2024
R-4.5-linuxNOTESep 14 2024
R-4.4-winNOTESep 14 2024
R-4.4-macNOTESep 14 2024
R-4.3-winOKSep 14 2024
R-4.3-macOKSep 14 2024

Exports:bootstrapbootstrap_pcompare_distributionsconexpconlnormconplconweibulldisexpdislnormdispldispoisdist_all_cdfdist_cdfdist_data_all_cdfdist_data_cdfdist_lldist_pdfdist_randdplcondpldisestimate_parsestimate_xminget_bootstrap_p_simsget_bootstrap_simsget_distance_statisticget_KS_statisticget_nget_ntaillinesplotpointspplconppldisrplconrpldisshow

Dependencies:pracma

An introduction to the poweRlaw package

Rendered froma_introduction.Rnwusingknitr::knitron Sep 14 2024.

Last update: 2020-04-24
Started: 2018-01-25

Examples using the poweRlaw package

Rendered fromb_powerlaw_examples.Rnwusingknitr::knitron Sep 14 2024.

Last update: 2020-04-24
Started: 2018-01-25

Comparing distributions with the poweRlaw package

Rendered fromc_comparing_distributions.Rnwusingknitr::knitron Sep 14 2024.

Last update: 2020-04-24
Started: 2018-01-25

Journal of Statistical Software Article

Rendered fromd_jss_paper.RnwusingSweaveon Sep 14 2024.

Last update: 2018-01-25
Started: 2018-01-25

Readme and manuals

Help Manual

Help pageTopics
The poweRlaw packagepoweRlaw-package powerlaw-package poweRlaw powerlaw
Example bootstrap results for the full Moby Dick data setbootstrap_moby bootstrap_p_moby
Vuong's test for non-nested modelscompare_distributions
Heavy-tailed distributionsconexp conexp-class conlnorm conlnorm-class conpl conpl-class conweibull conweibull-class disexp disexp-class dislnorm dislnorm-class displ displ-class dispois dispois-class
The data cumulative distribution functiondist_all_cdf dist_data_all_cdf dist_data_all_cdf,discrete_distribution-method dist_data_cdf dist_data_cdf,ctn_distribution-method dist_data_cdf,discrete_distribution-method
The cumulative distribution function (cdf)dist_all_cdf,conexo-method dist_all_cdf,conexp-method dist_all_cdf,conlnorm-method dist_all_cdf,conpl-method dist_all_cdf,conweibull-method dist_all_cdf,disexp-method dist_all_cdf,dislnorm-method dist_all_cdf,displ-method dist_all_cdf,dispois-method dist_cdf dist_cdf,conexp-method dist_cdf,conlnorm-method dist_cdf,conpl-method dist_cdf,conweibull-method dist_cdf,disexp-method dist_cdf,dislnorm-method dist_cdf,displ-method dist_cdf,dispois-method
The log-likelihood functiondist_ll dist_ll,conexp-method dist_ll,conlnorm-method dist_ll,conpl-method dist_ll,conweibull-method dist_ll,disexp-method dist_ll,dislnorm-method dist_ll,displ-method dist_ll,dispois-method
The probability density function (pdf)dist_pdf dist_pdf,conexp-method dist_pdf,conlnorm-method dist_pdf,conpl-method dist_pdf,conweibull-method dist_pdf,disexp-method dist_pdf,dislnorm-method dist_pdf,displ-method dist_pdf,dispois-method
Random number generation for the distribution objectsdist_rand dist_rand,conexp-method dist_rand,conlnorm-method dist_rand,conpl-method dist_rand,conweibull-method dist_rand,disexp-method dist_rand,dislnorm-method dist_rand,displ-method dist_rand,dispois-method
The continuous power-law distributiondplcon pplcon rplcon
Discrete power-law distributiondpldis ppldis rpldis
Estimates the distributions using mle.estimate_pars
Estimating the lower bound (xmin)bootstrap bootstrap_p estimate_xmin get_bootstrap_p_sims get_bootstrap_sims get_distance_statistic
Deprecated functionget_KS_statistic
Sample sizeget_n
Values greater than or equal to xminget_ntail
Generic plotting functionslines,distribution-method plot,distribution-method points,distribution-method
Moby Dick word countmoby moby_sample
Casualties in the American Indian Wars (1776 and 1890)NativeAmerican native_american USAmerican us_american
Plot methods for bootstrap objectsplot.bs_p_xmin plot.bs_xmin plot.compare_distributions
City boundaries and the universality of scaling lawsPopulation population
Generic show method for distribution objectsshow,distribution-method
Word frequency in the Swiss-Prot databaseSwiss_prot swiss_prot