Research Computing >> Software >> Gauss

GAUSS

Contents


Availability

Both GAUSS version 5.0 and version 3.2.52 are currently installed on Kellogg's UNIX server, Skew3 for an unlimited number of concurrent users. Gauss verions 5.0 on UNIX has terminal interface only while GAUSS 3.2 has both terminal and graphic interfaces. The installation includes the following applications:

  • Constrained optimization (version 2.0)
  • Constrained maximum likelihood (version 2.0 for GUASS 5.0/version 1.0 for GAUSS 3.2)
  • CurveFit (version 3.1)
  • Descriptive Statistics (version 3.1)
  • Linear Programming (version 3.1)
  • Linear Regression (version 3.1)
  • Loglinear Analysis (version 3.1) -- analysis of categorical data
  • Maximum Likelihood (version 5.0 for GUASS 5.0/ version 4.0.35 for GAUSS 3.2) -- maximum likelihood estimation, event count and duration models
  • Nonlinear Equations (version 3.1)
  • Optimization (Version 3.1.10)
  • Quantal Response (version 3.1) -- estimation of multinomial logit, ordered probit and logit, probit and Poisson regression
  • Time Series (version 4.0 for GAUSS 5.0/ version 3.1 for GAUSS 3.2) -- pooled time-series cross-section models and autoregression models

Note: Gauss for MS Windows can be purchased from the vendor. For referential prices, Aptech systems sent Kellogg a list of prices for academic customers (effective April 2001). A student version of Gauss (Gauss Light), which limits the matrix size to 10,000 and the work space to 1.5MB, is freely available for download.

Description

Gauss is a mathematical and statistical programming language environment based on a matrix language; it is designed for computationally intensive jobs.

Vendor information

Aptech Systems, Inc.
23804 SE Kent-Kangley Road
Maple Valley, WA 98038 USA
Phone: (425) 432-7855

Support

Kellogg subscribes to Aptech's premier support service. In order to use this service, questions must be submitted through Research Computing. E-mail a description of your problem (including relevant code and logs) to researchcomputing-help@kellogg.northwestern.edu or contact one the research associates.

Running Gauss

To ... The command is
GAUSS 5.0 GAUSS 3.2
Start Gauss in terminal mode

tgauss gauss -v
Start Gauss in X Window mode *

Not applicable gauss &
End a GAUSS session in terminal mode Type
quit
at the Gauss command prompt
Type
quit
at the Gauss command prompt
End a Gauss session in X Window mode Not applicable Press the QUIT button
To run a Gauss program interactively Type run filename at the Gauss command prompt. Example:
(gauss) run filename.e
Type
run filename
at the Gauss command prompt. Example:
(gauss) run filename.e
To run Gauss in batch mode,
in the background (no user input)
Use the -b command line flags. Example:
tgauss -b filename.e &
Use the -B and -v command line flags. Example:
gauss -B -v filename.e &
Run Gauss in batch mode, with user input gauss -b -v filename.e
To access one of the application modules In the "library" statement at the beginning of the program, name the module. For example, the following statement activates the linear regression and pgraph libraries:

library lr,pgraph;

The keywords to invoke each of the available applications are:

  • Constrained optimization: co
  • Constrained maximum likelihood: cml
  • CurveFit: cvfit
  • Descriptive Statistics: dstat
  • Linear Programming: simplex
  • Linear Regression: lr
  • Loglinear Analysis: loglin
  • Maximum Likelihood: maxlik (for maximum likelihood) or count (for event count and duration models)
  • Nonlinear Equations: nlsys
  • Optimization: optmum
  • Quantal Response: quantal
  • Time Series: tscs (for pooled time-series cross-section) or auto (for autoregression)
same as for GAUSS 5.0

* GAUSS will not work with X-windows displays using more than 256 colours. If you try to start Gauss in this mode, after about 30 seconds it gives the error message

X Windows version initialization failed -- aborting.
To use GAUSS in terminal mode, run 'gauss -v'.

To use Gauss you need to set your X-window display to 256 colours. On a PC running Windows with Xwin32, you will need to do this by configuring colors:

  1. Click in turn Start, Programs, X-win325.0, X config.
  2. Click the Other tab
  3. Check the box before PseudoColor Mode
  4. Click OK and restart the xwin32
  5. GAUSS should now work correctly in Xwin32.

Examples and solutions

Samples:

Gauss samples are stored in Skew3 in the following directory:

/usr/local/gauss/examples

Users may copy these samples to their home directories, where they can be modified.

American University maintains an archive of Gauss code. See the list of useful links.

Gauss configuration file:

By default, Gauss uses up to 10MB of workspace and 250KB for the main program space. To override these defaults, copy the configuration file to your home directory:

cp /usr/local/gauss/gauss.cfg .

Change the default for the workspace (workspace) or the main program space (prgspace) and edit them. To make Gauss look for this new configuration file when it starts, create the GAUSS_CFG environment variable.

Users of the csh and tcsh may do this with the following command:

setenv GAUSS_CFG ~ (or, instead of "~", the full path to the modified gauss.cfg file)

Users of the Korn and Bash shells (ksh, bash) accomplish the same with the following two commands:

  1. GAUSS_CFG = ~ (or, instead of "~", the full path to the gauss.cfg file)
  2. export GAUSS_CFG

To make the changes permanent, users must edit their shell configuration file (either the .cshrc or the .profile). Other possible changes to the default Gauss configuration file are specifying a path for a command log (where Gauss will save the commands issued during an interactive session) and a path for an error log file (where Gauss will write any errors and warnings issued during a session). The command log file can be set changing the default for "log_file", while the error log can be set by changing the default for "err_path".

Manuals available at Research Computing

See also the "README" files for the program and each module in /usr/local/gauss in skew3.

Online manuals at Kellogg

Program:

  • Gauss, Volume I: System and Graphics Manual (Version: Sep. 23, 1996)
  • Gauss, Volume II: Command Reference (Version: Sep. 23, 1996)
  • Gauss, Supplement for UNIX (Version: Oct. 15, 1996)

Application modules

  • CO - Constrained Optimization (Version: Nov. 26, 1996)
  • CML- Constrained Maximum Likelihood (Version: Mar. 13, 1995)
  • CurveFit (Version: Aug. 17, 1995)
  • Descriptive Statistics (Version: Dec. 13, 1996)
  • Linear Programming (Version: Jan. 3, 1997)
  • Linear Regression (Version: Nov. 26, 1996)
  • Loglinear Analysis (Version: Dec. 5, 1996)
  • Maximum Likelihood (Version: Nov. 26, 1996)
  • Nonlinear Equations (Version: Jan. 3, 1997)
  • Optimization (Version: Dec. 5, 1996)
  • Quantal Response (Version: Dec. 5, 1996)
  • Time Series (Version: Feb. 16, 1995)

Useful links

© 2001-2010 Kellogg School of Management, Northwestern University