pkstatascii(1)
π pkstatascii(1) π
okay bestie, gather round, because this is the pkstatascii manual page and she is lowkey iconic π it lives in section 1 of the manual (the "type it in your terminal" section, iykyk) and she is about to become your new best friend for crunching numbers out of boring text files.
β¨ NAME β¨
pkstatascii β a program to calculate basic statistics from a text file π§
πΈ SYNOPSIS πΈ
pkstatascii -i input [-c column] [options] [advanced options]
π¦ DESCRIPTION π¦
pkstatascii calculates basic statistics of a data series in a text file. that's it. that's the whole vibe. you hand her a file, she hands you numbers. slay π
π OPTIONS π
-ifilename,--inputfilename β name of the input text file π (the one thing she genuinely needs from you, no cap)-size,--sizeβ sample size-rndnumber,--rndnumber β generate random numbers π²-distfunction,--distfunction β distribution for generating random numbers, seehttp://www.gn/software/gsl/manual/gsl-ref_toc.html#TOC320(onlyuniformand Gaussian supported yet π)-rndavalue,--rndavalue β first parameter for random distribution (mean value in case of Gaussian)-rndbvalue,--rndbvalue β second parameter for random distribution (standard deviation in case of Gaussian)-mean,--meanβ calculate mean-median,--medianβ calculate median-var,--varβ calculate variance-stdev,--stdevβ calculate standard deviation-skew,--skewnessβ calculate skewness-kurt,--kurtosisβ calculate kurtosis-sum,--sumβ calculate sum of column-mm,--minmaxβ calculate minimum and maximum value-min,--minβ calculate minimum value-max,--maxβ calculate maximum value-hist,--histβ calculate histogram π-hist2d,--hist2dβ calculate 2-dimensional histogram based on two columns-nbinvalue,--nbinvalue β number of bins to calculate histogram-rel,--relativeβ use percentiles for histogram to calculate histogram-kde,--kdeβ Use Kernel β¨http://pktools.nongnu.org/html/classKernel.htmlβ© density estimation when producing histogram. The standard deviation is estimated based on Silverman's rule of thumb β¨-cor,--correlationβ calculate Pearson product-moment correlation coefficient between two columns (defined by-c <col1> -c <col2>)-rmse,--rmseβ calculate root mean square error between two columns (defined by-c <col1> -c <col2>)-reg,--regressionβ calculate linear regression between two columns and get correlation coefficient (defined by-c <col1> -c <col2>)-regerr,--regerrβ calculate linear regression between two columns and get root mean square error (defined by-c <col1> -c <col2>)-vlevel,--verboselevel β verbose mode when positive π£οΈ
π Advanced options π
okay these ones are for when you're feeling main character energy β¨
-src_minvalue,--src_minvalue β start reading source from this minimum value-src_maxvalue,--src_maxvalue β stop reading source from this maximum value-fsseparator,--fsseparator β field separator.-rstartrow [-rendrow],--rangestartrow [--rangeendrow] β rows to start/end reading. Use-r 1 -r 10to read first 10 rows where first row is header. Use0to read all rows with no header. π«Ά-o,--outputβ output the selected columns-t,--transposeβ transpose input ascii vector (use in combination with--output)-commentcharacter,--commentcharacter β comment character
bestie note: -c shows up all over the correlation/regression/rmse options even though she's not listed as her own bullet β that's just how she rolls here, no cap π
and that's the whole page, periodt π this gorgeous thing is dated 01 January 2025 and she reps the pkstatascii(1) manual like the queen she is π go forth and calculate, bestie πβ
π¦ where this page comes from
- ubuntu questing: pktools 2.6.7.6+ds-6build4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms