PLFIT(1)
π PLFIT(1) π
okay bestie, welcome to the plfit manual page β part of User Commands, and honestly? she's iconic. we're fitting power-law distributions to empirical data and we're gonna have a good time doing it. no cap. β¨
πΈ NAME πΈ
plfit β fits power-law distributions to empirical data π¦
β SYNOPSIS β
plfit [OPTIONS] [infile ...]
π DESCRIPTION π
so here's the vibe: plfit reads data points from each input file you hand it, and fits a power-law distribution to them, one by one, using the method of Clauset, Shalizi and Newman. periodt. π
and if you give it no input files at all? it just processes the standard input instead. she's flexible like that. π«Ά
now, the tea: this implementation uses the L-BFGS optimization method to find the optimal alpha for a given xmin in the discrete case. slay. but if you're feeling nostalgic and want the legacy brute-force approach that was originally published in that paper, just use the -a switch. iykyk. β¨
π OPTIONS π
-hβ shows this help message π-vβ shows version information π-aRANGE β use the legacy brute-force search for the optimal alpha when a discrete power-law distribution is fitted. RANGE must be inMIN:STEP:MAXformat, and the default is1.5:0.01:3.5. π-bβ brief (but easily parseable) output format π-cβ force continuous fitting even when every sample is an integer π-DVALUE β divide each sample in the input data by VALUE, so you can prevent underflows when fitting a discrete power-law distribution π§-eEPS β try to provide a p-value with a precision of EPS when the p-value is calculated using the exact method. the default is0.01. π-fβ use finite-size correction β¨-mXMIN β use XMIN as the minimum value for x instead of searching for the optimal value π₯-Mβ print the first four central moments (i.e. mean, variance, skewness and kurtosis) of the input data, to help you assess the shape of the pdf it may have come from π-pMETHOD β use METHOD to calculate the p-value. must be one ofskip,approximateorexact. default isskip. πΈ-sSEED β use SEED to seed the random number generator π²
and that's the whole page, bestie!! this one is plfit, from July 2021, and it lives in the PLFIT(1) corner of the manual universe. go fit something gorgeous. mwah. πβ¨π
π¦ where this page comes from
- debian bookworm: plfit 0.9.4+ds-1+b1 Β· GPL-2.0-or-later
- debian trixie: plfit 0.9.6+ds-2+b1 Β· GPL-2.0-or-later
- ubuntu jammy: plfit 0.9.3+ds-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: plfit 0.9.4+ds-1ubuntu4 Β· GPL-2.0-or-later
- ubuntu questing: plfit 0.9.6+ds-2ubuntu1
- ubuntu resolute: plfit 0.9.6+ds-2ubuntu2 Β· GPL-2.0-or-later
- ubuntu stonking: plfit 0.9.6+ds-2ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms