NAME
pkstatascii - program to calculate basic statistics from text file
SYNOPSIS
FCpkstatasciiF[0] FC-iF[0] input [FC-cF[0] column] [options] [advanced options]
DESCRIPTION
pkstatascii calculates basic statistics of a data series in a text file.
OPTIONS
- FC-iF[0] filename, FC--inputF[0] filename
-
name of the input text file
- FC-sizeF[0], FC--sizeF[0]
-
sample size
- FC-rndF[0] number, FC--rndF[0] number
-
generate random numbers
- FC-distF[0] function, FC--distF[0] function
-
distribution for generating random numbers, see http://www.gn/software/gsl/manual/gsl-ref_toc.html#TOC320 (only uniform and Gaussian supported yet)
- FC-rndaF[0] value, FC--rndaF[0] value
-
first parameter for random distribution (mean value in case of Gaussian)
- FC-rndbF[0] value, FC--rndbF[0] value
-
second parameter for random distribution (standard deviation in case of Gaussian)
- FC-meanF[0], FC--meanF[0]
-
calculate mean
- FC-medianF[0], FC--medianF[0]
-
calculate median
- FC-varF[0], FC--varF[0]
-
calculate variance
- FC-stdevF[0], FC--stdevF[0]
-
calculate standard deviation
- FC-skewF[0], FC--skewnessF[0]
-
calculate skewness
- FC-kurtF[0], FC--kurtosisF[0]
-
calculate kurtosis
- FC-sumF[0], FC--sumF[0]
-
calculate sum of column
- FC-mmF[0], FC--minmaxF[0]
-
calculate minimum and maximum value
- FC-minF[0], FC--minF[0]
-
calculate minimum value
- FC-maxF[0], FC--maxF[0]
-
calculate maximum value
- FC-histF[0], FC--histF[0]
-
calculate histogram
- FC-hist2dF[0], FC--hist2dF[0]
-
calculate 2-dimensional histogram based on two columns
- FC-nbinF[0] value, FC--nbinF[0] value
-
number of bins to calculate histogram
- FC-relF[0], FC--relativeF[0]
-
use percentiles for histogram to calculate histogram
- FC-kdeF[0], FC--kdeF[0]
-
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
- FC-corF[0], FC--correlationF[0]
-
calculate Pearson produc-moment correlation coefficient between two columns (defined by FC-cF[0] <col1> FC-cF[0] <col2>)
- FC-rmseF[0], FC--rmseF[0]
-
calculate root mean square error between two columns (defined by FC-cF[0] <col1> FC-cF[0] <col2>)
- FC-regF[0], FC--regressionF[0]
-
calculate linear regression between two columns and get correlation coefficient (defined by FC-cF[0] <col1> FC-cF[0] <col2>)
- FC-regerrF[0], FC--regerrF[0]
-
calculate linear regression between two columns and get root mean square error (defined by FC-cF[0] <col1> FC-cF[0] <col2>)
- FC-vF[0] level, FC--verboseF[0] level
-
verbose mode when positive
Advanced options
- FC-src_minF[0] value, FC--src_minF[0] value
-
start reading source from this minimum value
- FC-src_maxF[0] value, FC--src_maxF[0] value
-
stop reading source from this maximum value
- FC-fsF[0] separator, FC--fsF[0] separator
-
field separator.
- FC-rF[0] startrow [FC-rF[0] endrow], FC--rangeF[0] startrow [FC--rangeF[0] endrow]
-
rows to start/end reading. Use FC-rF[0] 1 FC-rF[0] 10 to read first 10 rows where first row is header. Use 0 to read all rows with no header.
- FC-oF[0], FC--outputF[0]
-
output the selected columns
- FC-tF[0], FC--transposeF[0]
-
transpose input ascii vector (use in combination with FC--outputF[0])
- FC-commentF[0] character, FC--commentF[0] character
-
comment character