Man page - pkstatascii(1)
Packages contains this manual
- pkfssvm(1)
- pkstatogr(1)
- pkfilterdem(1)
- pkextractimg(1)
- pkkalman(1)
- pksetmask(1)
- pksvm(1)
- pkascii2img(1)
- pkdsm2shadow(1)
- pkascii2ogr(1)
- pkpolygonize(1)
- pkfillnodata(1)
- pkextractogr(1)
- pksieve(1)
- pkdumpogr(1)
- pkstat(1)
- pkannogr(1)
- pkegcs(1)
- pkfilterascii(1)
- pkreclassogr(1)
- pksvmogr(1)
- pkgetmask(1)
- pkdiff(1)
- pkfsann(1)
- pkregann(1)
- pkcreatect(1)
- pkcomposite(1)
- pkstatascii(1)
- pkdumpimg(1)
- pkstatprofile(1)
- pkinfo(1)
- pkcrop(1)
- pkoptsvm(1)
- pkann(1)
- pkreclass(1)
- pkfilter(1)
apt-get install pktools
Manual
pkstatascii
NAMESYNOPSIS
DESCRIPTION
OPTIONS
NAME
pkstatascii - program to calculate basic statistics from text file
SYNOPSIS
pkstatascii -i input [ -c column ] [ options ] [ advanced options ]
DESCRIPTION
pkstatascii calculates basic statistics of a data series in a text file.
OPTIONS
-i filename , --input filename
name of the input text file
-size , --size
sample size
-rnd number , --rnd number
generate random numbers
-dist function , --dist function
distribution for generating random numbers, see http://www.gn/software/gsl/manual/gsl-ref_toc.html#TOC320 (only uniform and Gaussian supported yet)
-rnda value , --rnda value
first parameter for random distribution (mean value in case of Gaussian)
-rndb value , --rndb value
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
-nbin value , --nbin value
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 produc-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>)
-v level , --verbose level
verbose mode when positive
Advanced options
-src_min
value
,
--src_min
value
start reading source from this minimum value
-src_max value , --src_max value
stop reading source from this maximum value
-fs separator , --fs separator
field separator.
-r startrow [ -r endrow ], --range startrow [ --range endrow ]
rows to start/end reading. Use -r 1 -r 10 to read first 10 rows where first row is header. Use 0 to read all rows with no header.
-o , --output
output the selected columns
-t , --transpose
transpose input ascii vector (use in combination with --output )
-comment character , --comment character
comment character