Version 28 of Statistics

Updated 2007-02-17 14:30:32

Purpose: to discuss existing and hopefully future Tcl code relating to statistics.


The term 'statistics' means many things to many people - as you use it here, feel free to expand on how _you_ mean it ...

Possibilities:

  • basic descriptive statistics
  • simple tests
  • linear regression
  • error and percentile estimations
  • more general regressions
  • ordinal statistics
  • ...

Here are a few packages that one can find listed in the Tcl software catalog relating to statistics ...


 What: [R]
 Where: http://mini.net/tcl/6125
 Description: R (http://www.r-project.org ) is a language and environment for 
 statistical computing and graphics" (http://www.r-project.org/about.html )   
 For more background on R, see the February 2003 installment of 
 "Server Clinic" (http://phaseit.net/claird/comp.os.linux.development.system/ServerClinic.html )

 What: Brodgar
 Where: http://www.brodgar.com/
 Description: Package for statistical data analysis, with a GUI based on
        Tcl/Tk 8.3 and BLT.
 Updated: 03/2001
 Contact: http://www.brodgar.com/

 What: gequal
 Where: ftp://joy.tp3.ruhr-uni-bochum.de/pub/AOLserver/tcl/gequal-2.1/private/
        http://joy.tp3.ruhr-uni-bochum.de/NS/TCL
 Description: A heavily modified version of the easytcl development
        script.  Features ability to create and edit Tcl HTML files,
        ability to invoke various aolserver tcl functions, includes
        a simple Statistics script, evaluates sub directories,
        has informative main pages, can be used stand-alone,
        manage virtual servers, etc. all in one window.
        access_log analysis is available now.  Requires AOLServer
        versions 2.1 or greater.
        See the uni-bochum WWW site for a demo of the software. Use
        "guest,easytcl" as user-password combination.
 Updated: 08/1997
 Contact: mailto:[email protected] (W.Bathelt)

 What: NeoWebScript
 Where: http://www.neowebscript.com/
        http://nws.sourceforge.net/
        ftp://ftp.procplace.com/pub/tcl/sorted/packages-7.6/distrib/neowebscript/neowebscript-2.3.tar.gz
        http://www.apache.org/
        http://www.hav.com/webdemos.htm
 Description: A server-side scripting environment based on the Apache
        HTTP server and Safe-Tcl.  NeoWebScript is a module that adds
        in-HTML-file programability to the Apache HTTP server.
        It also supports ApacheSSL.
        With NeoWebScript you have access to per-uid dpopen database files,
        random and sequential files, HTML page inclusion, logging,
        procedure libraries, random numbers, date and time functions,
        calculations of server hits per hour, counter systems for
        statistics, improved debugging, file cataloging and a new
        forms library.
        The mini release is designed for a site which already has Tcl,
        tclX, db.1.85 and Apache already installed.
        Note that updates have been appearing quite regularly, so keep an
        eye on news:comp.lang.tcl for information on the
        latest version.  This module is freely distributable except
        for commercial resale.
        V2.2 of NeoWebScript works with Apache v1.2.0.
        The webdemos WWW page have some demos for NeoWebScript written
        by mailto:[email protected] (Horace Vallas).
        As of June 1999, NeoWebScript is now released as Open Source.
 Updated: 06/2001
 Contact: mailto:[email protected]

 What: OMNeT++
 Where: http://www.hit.bme.hu/phd/vargaa/omnetpp.htm
 Description: A C++ based discrete event simulator, featuring a graphical
        model editor, textual model topology language, simulation class
        library, process based activity description, run time user
        interfaces (batch, graphical, TVision), message flow and
        statistics animation, interactive simulation, tracing,
        random seed generaator tool, result analysis and plotting and
        support for PVM parallel Virtual Machine.  Tcl/Tk used to build
        several of the graphical tools.  Has been ported to Windows 95/NT.
        Currently at version 2.1 .
 Updated: 07/1998
 Contact: mailto:[email protected] (Andras Varga)
        mailto:[email protected]

 What: pasu
 Where: http://ceu.fi.udc.es/SAL/A/3/PASU.html
 Description: A set of Tcl/Tk based probability and statistics utilities.
        The objective is quick and simple solutions to general probability and
        statistical questions.
 Updated: 07/1999
 Contact: mailto:[email protected]

 What: router-stats
 Where: ftp://ftp.scn.de/pub/networking/router-stats/router-stats-1.30.tar.gz
 Description: Gather statistics about router data and then create bar
        graphs of the data.  For more data, see
        http://www.scn.de/%7Eiain/router-stats/
        Depends on Tcl, Expect, and Perl.
 Updated:
 Contact: mailto:[email protected] (Iain Lea)

 What: SIMEX
 Where: http://www.nmsr.labmed.umn.edu/
 Description: Discrete event simulation model support, providing random
        number generation, event and process management, user interface
        classes, aggregate statistics, and some basic data structions.
 Updated: 04/1997
 Contact: mailto:[email protected]
        mailto:[email protected]

 What: Biowish
 Where: http://evolution.bmc.uu.se/%7Ethomas/mol_linux/biowish/
 Description: A Tcl/Tk 8 extension used in molecular biology.  Contains
        commands for sequence editing, translations, statistics,
        DNA incrementor, sequence mutation, BLAST database searchs,
        sequence editing widget, and more.
 Updated: 11/1997
 Contact: mailto:[email protected] (Thomas Sicheritz-Pontn)

 What: Miscellaneous
 Where: http://mkextensions.sourceforge.net/
 Description: Collection of Tcl 8 commands that contact found missing.
        Includes min(), max(), round2(), floor2(), ceil2(), isint(),
        isdouble(), iseven(), isodd(), pi(), e(), lassign (eval a command
        against each element in a list), lstat (statistics - does sum,
        average), linter (logical intersection), lminus (logical subtraction),
        lunion (unique union), linlist (is item in the list), ldelete
        (delete one or more elements from a list), lextend (if argument
        not in list, append to the list), lshrink (if argument in list,
        delete from list), lchange (if oldvalue in list, replace by new
        value), loop (calculate start, end and increment values before
        beginning loop), do/while, try (exception handling), decode
        (if argument found in first part of an element in a paired key list,
        return the second part), complete (compare arg against elements to
        see if it matches or is an abbreviation of an element and return
        the match if found), hexdump (convert binary data to a hex dump
        output string), options (process arguments to a procedure),
 Updated: 03/2003
 Contact: mailto:[email protected] (Michael Kraus)

 What: XBit
 Where: http://www.geocities.com/%7Echengye/soft.html
        http://www.geocities.com/SiliconValley/Hills/5586/home.html
 Description: Tk image acquisition, processing, presentation and production
        extension.  It has modules for image FFT, IFFT and filtering in
        frequency domain, image calibration, convolution, geocorrection,
        statistics, classification, principal compontents, 3d display,
        orthophoto correction, capture from canvas, windows, digital cameras,
        save to/from clipboard, etc.
        Be sure to examine license.
        Currently at version 3.2 .
 Updated: 06/2001
 Contact: mailto:[email protected] (Chengye Mao)

 What: tcllib
 Where: http://tcllib.sourceforge.net/
        http://jfontain.free.fr/tcllib-1.0-1.noarch.rpm
        http://jfontain.free.fr/tcllib-1.0-1.spec
 Description: A series of Tcl based modules, each namespace'd and
        designed to be individually package require'd.  Includes
        ftp, nntp, pop3 protocols as well as a variety of data
        structures and additional functionality such as math and statistics.
        Currently at version 1.7.
 Updated: 10/2004
 Contact: See the web site

What: Dataplot

 Where: http://www.itl.nist.gov/div898/software/dataplot/homepage.htm
        http://www.itl.nist.gov/div898/software/dataplot/gui_mode.htm
        http://www.itl.nist.gov/div898/software/dataplot/com_mode.htm
 Description: Free public domain multi-platform software system for
        scientific visualization, statistical analysis and non-linear
        modeling.  Makes use of Tcl/Tk, Expect, etc. to provide a 
        graphical interface.
 Updated: 10/2001
 Contact: mailto:[email protected]>

Ed Hume does statistics in his factory control program. No one seems to know yet whether all of it appears in LA.


EKB I did a tcl implementation of Substantively Weighted Least Squares (SWLS), one of the Substantively Weighted Analytical Techniques (SWAT).


There's now a page on Multivariate Linear Regression.


Arts and Crafts of Tcl-Tk Programming - Category Mathematics - Category Statistics