Scroll to navigation

pkstatascii(1) pkstatascii(1)

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

name of the input text file
sample size
generate random numbers
distribution for generating random numbers, see http://www.gn/software/gsl/manual/gsl-ref_toc.html#TOC320 (only uniform and Gaussian supported yet)
first parameter for random distribution (mean value in case of Gaussian)
second parameter for random distribution (standard deviation in case of Gaussian)
calculate mean
calculate median
calculate variance
calculate standard deviation
calculate skewness
calculate kurtosis
calculate sum of column
calculate minimum and maximum value
calculate minimum value
calculate maximum value
calculate histogram
calculate 2-dimensional histogram based on two columns
number of bins to calculate histogram
use percentiles for histogram to calculate histogram
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
calculate Pearson produc-moment correlation coefficient between two columns (defined by -c <col1> -c <col2>)
calculate root mean square error between two columns (defined by -c <col1> -c <col2>)
calculate linear regression between two columns and get correlation coefficient (defined by -c <col1> -c <col2>)
calculate linear regression between two columns and get root mean square error (defined by -c <col1> -c <col2>)
verbose mode when positive

Advanced options

start reading source from this minimum value
stop reading source from this maximum value
field separator.
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.
output the selected columns
transpose input ascii vector (use in combination with --output)
comment character
06 December 2020