Gauss

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

Availability
GAUSS is currently installed on Kellogg's UNIX server, Skew, for an unlimited number of concurrent users. The installation includes the following applications:

  • Constrained Optimization
  • Constrained Maximum Likelihood
  • CurveFit 
  • Descriptive Statistics
  • Linear Programming
  • Linear Regression
  • Loglinear Analysis—analysis of categorical data
  • Maximum Likelihood—maximum likelihood estimation, event count, and duration models
  • Nonlinear Equations
  • Optimization
  • Quantal Response—estimation of multinomial logit, ordered probit and logit, probit and Poisson regression
  • Time Series—pooled time-series cross-section models and autoregression models

Vendor Information
Aptech Systems, Inc.

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


Running Gauss under Linux
  • To start the interactive Gauss GUI (requires X11): type gauss at the prompt
  • To start the command-line Gauss shell: tgauss
  • To run Gauss code from file "filename.e" from within Gauss shell: run filename.e
  • To run Gauss code in batch, in background: tgauss -b filename.e &

Examples and Solutions

Samples:
Gauss samples are stored in Skew in the following directory: /usr/local/gauss12/examples .

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

American University maintains an archive of Gauss code.

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) can 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 .cshrc or .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 by changing the default for "log_file," while the error log can be set by changing the default for "err_path."

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".