Commit 3d54e368 authored by Pietro Battiston's avatar Pietro Battiston

Imported Upstream version 5.6.4

parents
Author of GBUTILS is
Giulio Bottazzi (bottazzi@sssup.it)
Contributors:
Angelo Secchi (secchi@sssup.it) : bugfixes and documentation
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#Addition from gnulib
SUBDIRS = lib
#--------------------
dist_bin_SCRIPTS = gbkeys2values gbconvtable gbdummyfy gbplot
EXTRA_SCRIPTS = gbkeys2values gbconvtable gbdummyfy gbplot
bin_PROGRAMS = gbbin gbdist gbhisto gbmave gbstat gbtest gbnear gbker2d gbhisto2d gbkreg2d gbquant gbboot gbenv gbgcorr gbfilternear gbmstat gbxcorr @GBGET@ @GBKER@ @GBKREG@ @GBMODES@ @GBINTERP@ @GBFUN@ @GBLREG@ @GBGRID@ @GBGLREG@ @GBNLREG@ @GBNLPANEL@ @GBNLQREG@ @GBRAND@ @GBHILL@ @GBNLMULT@ @GBNLPROBIT@ @GBNLPOLYIT@ @GBACORR@
EXTRA_PROGRAMS = gbget gbker gbkreg gbmodes gbinterp gbfun gblreg gbgrid gbglreg gbnlreg gbnlpanel gbnlqreg gbrand gbhill gbnlmult gbnlprobit gbnlpolyit gbacorr
gbget_SOURCES = gbget.c tools.c
gbbin_SOURCES = gbbin.c tools.c
gbdist_SOURCES = gbdist.c tools.c
gbhisto_SOURCES = gbhisto.c tools.c
gbmave_SOURCES = gbmave.c tools.c
gbstat_SOURCES = gbstat.c tools.c
gbtest_SOURCES = gbtest.c tools.c
gbnear_SOURCES = gbnear.c tools.c
gbker2d_SOURCES = gbker2d.c tools.c
gbhisto2d_SOURCES = gbhisto2d.c tools.c
gbkreg2d_SOURCES = gbkreg2d.c tools.c
gbquant_SOURCES = gbquant.c tools.c
gbboot_SOURCES = gbboot.c tools.c
gbenv_SOURCES = gbenv.c tools.c
gbfilternear_SOURCES = gbfilternear.c tools.c
gbmstat_SOURCES = gbmstat.c tools.c
gbgcorr_SOURCES = gbgcorr.c tools.c
gbxcorr_SOURCES = gbxcorr.c tools.c
gbkreg_SOURCES = gbkreg.c tools.c
gbker_SOURCES = gbker.c tools.c
gbmodes_SOURCES = gbmodes.c tools.c
gbinterp_SOURCES = gbinterp.c tools.c
gbfun_SOURCES = gbfun.c tools.c
gblreg_SOURCES = gblreg.c tools.c
gbgrid_SOURCES = gbgrid.c tools.c
gbglreg_SOURCES = gbglreg.c tools.c
gbnlreg_SOURCES = gbnlreg.c tools.c
gbnlpanel_SOURCES = gbnlpanel.c multimin.c tools.c
gbnlqreg_SOURCES = gbnlqreg.c tools.c
gbrand_SOURCES = gbrand.c tools.c
gbhill_SOURCES = gbhill.c exponential_gbhill.c paretoI_gbhill.c paretoIII_gbhill.c gaussian_gbhill.c tools.c multimin.c
gbnlmult_SOURCES = gbnlmult.c tools.c
gbnlprobit_SOURCES = gbnlprobit.c tools.c multimin.c
gbnlpolyit_SOURCES = gbnlpolyit.c tools.c multimin.c
gbacorr_SOURCES = gbacorr.c tools.c
#Extra linker directives on Cygwin
if ISCYGWIN
gbfun_LDADD = -lmatheval -lfl
gbget_LDADD = -lmatheval -lfl
gbgrid_LDADD = -lmatheval -lfl
gbnlreg_LDADD = -lmatheval -lfl
gbnlpanel_LDADD = -lmatheval -lfl
gbnlqreg_LDADD = -lmatheval -lfl
gbnlmult_LDADD = -lmatheval -lfl
gbnlprobit_LDADD = -lmatheval -lfl
gbnlpolyit_LDADD = -lmatheval -lfl
endif
#Possibly build man pages
dist_man1_MANS = gbplot.1 gbhisto.1 gbbin.1 gbdist.1 gbmave.1 gbstat.1 gbtest.1 gbnear.1 gbker2d.1 gbhisto2d.1 gbkreg2d.1 gbquant.1 gbboot.1 gbgcorr.1 gbfilternear.1 gbmstat.1 gbxcorr.1 @GBGETMAN@ @GBKERMAN@ @GBKREGMAN@ @GBMODESMAN@ @GBINTERPMAN@ @GBFUNMAN@ @GBLREGMAN@ @GBGRIDMAN@ @GBGLREGMAN@ @GBNLREGMAN@ @GBNLPANELMAN@ @GBNLQREGMAN@ @GBRANDMAN@ @GBHILLMAN@ @GBNLMULTMAN@ @GBNLPROBITMAN@ @GBNLPOLYITMAN@ @GBACORRMAN@ gbdummyfy.1
#Possibly build man pages
if H2M
#rules to build man pages
gbget.1: gbget.c
$(HELP2MAN) -n "Basic data extraction and manipulation tool" -N --output=$@ ./gbget
gbker.1: gbker.c
$(HELP2MAN) -n "Produce kernel density estimation" -N --output=$@ ./gbker
gbhisto.1: gbhisto.c
$(HELP2MAN) -n "Produce histogram from data" -N --output=$@ ./gbhisto
gbbin.1: gbbin.c
$(HELP2MAN) -n "A program to bin data" -N --output=$@ ./gbbin
gbdist.1: gbdist.c
$(HELP2MAN) -n "Produce cumulative distribution from data" -N --output=$@ ./gbdist
gbmave.1: gbmave.c
$(HELP2MAN) -n "Produce moving average from data" -N --output=$@ ./gbmave
gbstat.1: gbstat.c
$(HELP2MAN) -n "Basic descriptive statistics of data" -N --output=$@ ./gbstat
gbtest.1: gbtest.c
$(HELP2MAN) -n "Compute statistical tests on data" -N --output=$@ ./gbtest
gbnear.1: gbnear.c
$(HELP2MAN) -n "Produce nearest neighborhood density estimate" -N --output=$@ ./gbnear
gbker2d.1: gbker2d.c
$(HELP2MAN) -n "Kernel density estimate for bivariate data" -N --output=$@ ./gbker2d
gbhisto2d.1: gbhisto2d.c
$(HELP2MAN) -n "Produce 2D histogram from data" -N --output=$@ ./gbhisto2d
gbkreg2d.1: gbkreg2d.c
$(HELP2MAN) -n "Kernel non linear regression for bivariate data" -N --output=$@ ./gbkreg2d
gbquant.1: gbquant.c
$(HELP2MAN) -n "Print quantiles of data distribution" -N --output=$@ ./gbquant
gbboot.1: gbboot.c
$(HELP2MAN) -n "Bootstrap user provided data" -N --output=$@ ./gbboot
gbgcorr.1: gbgcorr.c
$(HELP2MAN) -n "Gaussian kernel correlation dimension" -N --output=$@ ./gbgcorr
gbfilternear.1: gbfilternear.c
$(HELP2MAN) -n "Filter too near data point in Euclidean metric" -N --output=$@ ./gbfilternear
gbmstat.1: gbmstat.c
$(HELP2MAN) -n "Computing statistics in a moving windows" -N --output=$@ ./gbmstat
gbxcorr.1: gbxcorr.c
$(HELP2MAN) -n "Compute cross correlation matrix" -N --output=$@ ./gbxcorr
gbacorr.1: gbacorr.c
$(HELP2MAN) -n "Compute auto/cross-correlation coefficients" -N --output=$@ ./gbacorr
gbkreg.1: gbkreg.c
$(HELP2MAN) -n "Kernel non linear regression function" -N --output=$@ ./gbkreg
gbmodes.1: gbmodes.c
$(HELP2MAN) -n "Analyze multimodality in univariate data" -N --output=$@ ./gbmodes
gbinterp.1: gbinterp.c
$(HELP2MAN) -n "Compute equispaced curve from interpolated" -N --output=$@ ./gbinterp
gbfun.1: gbfun.c
$(HELP2MAN) -n "Apply functions to table of data" -N --output=$@ ./gbfun
gblreg.1: gblreg.c
$(HELP2MAN) -n "Estimate linear regression model" -N --output=$@ ./gblreg
gbgrid.1: gbgrid.c
$(HELP2MAN) -n "Produce grid of data" -N --output=$@ ./gbgrid
gbglreg.1: gbglreg.c
$(HELP2MAN) -n "Estimate general linear regression model" -N --output=$@ ./gbglreg
gbnlreg.1: gbnlreg.c
$(HELP2MAN) -n "Non linear regression" -N --output=$@ ./gbnlreg
gbnlpanel.1: gbnlpanel.c
$(HELP2MAN) -n "Non-linear panel regression" -N --output=$@ ./gbnlpanel
gbnlqreg.1: gbnlqreg.c
$(HELP2MAN) -n "Non linear quantile regression" -N --output=$@ ./gbnlqreg
gbrand.1: gbrand.c
$(HELP2MAN) -n "Sampling from random distributions" -N --output=$@ ./gbrand
gbhill.1: gbhill.c
$(HELP2MAN) -n "Hill Maximum Likelihhod estimation" -N --output=$@ ./gbhill
gbnlmult.1: gbnlmult.c
$(HELP2MAN) -n "Solve systems of non linear simultaneous equations" -N --output=$@ ./gbnlmult
gbnlprobit.1: gbnlprobit.c
$(HELP2MAN) -n "Non linear probit regression" -N --output=$@ ./gbnlprobit
gbnlpolyit.1: gbnlpolyit.c
$(HELP2MAN) -n "Non linear polyit regression" -N --output=$@ ./gbnlpolyit
gbplot.1: gbplot
$(HELP2MAN) -n "gnuplot command line interface" -N --output=$@ ./gbplot
gbdummyfy.1: gbdummyfy
$(HELP2MAN) -n "produce dummies from labels" -N --output=$@ ./gbdummyfy
endif
#extra file to be distributed with the package
EXTRA_DIST = tools.h multimin.h gbhill.h test.dat test.dat.gz doc/cygwin_install.pdf doc/cygwin_install.txt doc/gbget.pdf doc/gbget.txt doc/intro.pdf doc/intro.txt doc/overview.pdf doc/overview.txt
#Addition from gnulib
#EXTRA_DIST += m4
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -I$(top_srcdir)/lib
LDADD = lib/libgnu.a
#--------------------
This diff is collapsed.
This diff is collapsed.
gbutils -- Utilities Overview
Giulio Bottazzi (bottazzi@sssup.it), December 2014
gbutils is a set of command line utilities for the manipulation and
statistical analysis of data. Data fare usually read from standard
input in ASCII format and results are printed in ASCII format to
standard output.
These utilities are completely written in C. They have been tested
(and used many many times) on different Linux distributions and should
compile and run, in principle, on any Unix platform. No other OSes
have been tested.
Please notice that these programs have been written for personal use,
and are distributed under the GPL license (see the file "COPYING") in
the hope they could be of help to other people, but without any
implied warranty.
Please report bugs to <gbutils@googlegroups.com>. The package home
page is http://cafim.sssup.it/~giulio/software/gbutils/index.html
The most up-to-date information and documentation about the gbutils
package can be found in its home page. A few documents are however
distributed with the package.
For Linux installation instruction and a brief introduction to the
library, see "intro". More technical details are provided in
"overview". The document "cygwin_install" describes how to install the
package on Windows machines, using the cygwin emulation framework. The
file 'gbget' is a brief tutorial on using the eponymous program, a
sort of Swiss knife for the manipulation of data file, which is often
essential for an effective usage of the utilities in the package.
These documents are distributed in ASCII (.txt extension) and PDF
format.
The package has several dependencies, see the online documentation or
'intro" for further information.
Package files list
==================
COPYING GNU Public License
README this file
intro brief introduction and installation tutorial
gbget short tutorial on the use of gbget
cygwin_install Cygwin installation instructions
overview technical overview
INSTALL generic installation instructions
NEWS list of package modifications
ChangeLog "" ""
Makefile.am input file for automake
aclocal.m4 input file for autoconf generated by aclocal
configure.ac input file for autoconf
configure configuration file generated by autoconf
Makefile.in input file for configure generated by automake
config.h.in input file for configure
install-sh utility generated by automake
missing "" ""
mkinstalldirs "" ""
test.dat demo file used in README.gbget
test.dat.gz same file, compressed
tools.c source code for general purpose functions
tools.h prototypes of functions in tools.c
gbbin.c source code for gbbin program
gbdist.c source code for gbdist program
gbhisto.c source code for gbhisto program
gbmave.c source code for gbmave program
gbstat.c source code for gbstat program
gbker.c source code for gbker program
gbnear.c source code for gbnear program
gbhisto2d.c source code for gbhisto2d program
gbker2d.c source code for gbker2d program
gbmodes.c source code for gbmodes program
gbkreg.c source code for gbkreg program
gbinterp.c source code for gbinterp program
gbget.c source code for gbget program
gbtest.c source code for gbtest program
gbfun.c source code for gbfun program
gbkreg2d.c source code for gbkreg2d program
gbquant.c source code for gbquant program
gblreg.c source code for gblreg program
gbglreg.c source code for gbglreg program
gbnlreg.c source code for gbnlreg program
gbnlqreg.c source code for gbnlqreg program
gbnlprobit.c source code for gbnlprobit program
gbnlmult.c source code for gbnlmult program
gbrand.c source code for gbrand program
gbenv.c source code for gbenv program
gbhill.c source code for gbhill program
gbgcorr.c source code for gbgcorr program
gbacorr.c source code for gbacorr program
gbxcorr.c source code for gbxcorr program
gbfilternear source code for gbfilternear program
gaussian_gbhill.c gaussian module for gbhill
exponential_gbhill.c exponential module for gbhill
paretoI_gbhill.c pareto type 1 module for gbhill
paretoIII_gbhill.c pareto type 3 module for gbhill
multimin.c wrapper around GSL minimization routines
multimin.h multimin header file
lib/getline.c GNULib portability files
lib/getndelim2.c " " "
lib/getsubopt.c " " "
lib/Makefile.am " " "
lib/strchrnul.c " " "
lib/getline.h " " "
lib/getndelim2.h " " "
lib/getsubopt.h " " "
lib/Makefile.in " " "
lib/strchrnul.h " " "
m4/getndelim2.m4 " " "
m4/gnulib.m4 " " "
m4/ssize_t.m4 " " "
m4/getline.m4 " " "
m4/getsubopt.m4 " " "
m4/onceonly_2_57.m4 " " "
m4/strchrnul.m4 " " "
TODO:
+ write texinfo documentation
+ improve getline for gzip files
+ add 'finalize_program()' to all the utilities
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
File added
This diff is collapsed.
File added
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.43.3.
.TH GBDIST "1" "January 2015" "gbdist 5.6.1" "User Commands"
.SH NAME
gbdist \- Produce cumulative distribution from data
.SH SYNOPSIS
.B gbdist
[\fIoptions\fR]
.SH DESCRIPTION
Compute the empirical probability distribution function as
F(x_k) = k/(N+1) where x_k is the k\-th largest observation,
that is k\-1 observations are smaller then x_k and n\-k are
larger, and N is the sample size.
.SH OPTIONS
.TP
\fB\-r\fR
print right cumulated distribution function, i.e. 1\-F(x)
.TP
\fB\-i\fR
print multiple points for identical observations
.TP
\fB\-t\fR
print the distribution for each column of input
.TP
\fB\-F\fR
specify the input fields separators (default " \et")
.TP
\fB\-v\fR
verbose mode
.TP
\fB\-h\fR
this help
.SH AUTHOR
Written by Giulio Bottazzi
.SH "REPORTING BUGS"
Report bugs to <gbutils@googlegroups.com>
.PP
.br
Package home page <http://cafim.sssup.it/~giulio/software/gbutils/index.html>
.SH COPYRIGHT
Copyright \(co 2001\-2014 Giulio Bottazzi
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
(version 2) as published by the Free Software Foundation;
.PP
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment