Working With GAUSS

Working With GAUSS

This section describes basic activities that you perform in the GAUSS statistical application as it is implemented in the RCE. It includes information about how to perform the following:

  • Launch and exit from the menus and from the command prompt
  • Access help
  • Install new components

See Implementation Details for general information about the implementation of GAUSS in the RCE, including where to find out more about the tool.

For information about how to access the RCE, refer to Connecting to the RCE Summer 2009.

Launching and Exiting GAUSS

Launching and Exiting GAUSS

You can launch GAUSS in the RCE by using the menus or by typing a command.

Launching GAUSS

To launch GAUSS by using the menus in the RCE, select the Applications menu Mathematics submenu, and then choose GAUSS to launch the tool.

A terminal window is opened and the launch command for GAUSS executes automatically.

To launch GAUSS from the command-line interface (CLI), open a terminal window and type the command gauss at the prompt.

Exiting GAUSS

To exit the GAUSS application in the RCE, type quit on the command line.

Accessing Built-in Help in GAUSS

Accessing Built-in Help in GAUSS

The built-in Help available in GAUSS is brief but useful.

To access Help in GAUSS, type ?. For example:

(gauss) ?
Interactive commands:
config # Display configuration menu.
debug program# Execute program under debugger.
browse symbol# Locate symbol in source and load file into editor.
# Wildcards are supported for symbol name.
quit# Exit GAUSS.

Command line syntax:
tgauss flags program...
-b# Execute in batch mode and exit
-l logfile# Set name of batch mode log file.
# Default is wksp/gauss.log.###, where ### is pid.
-e expression# Execute expression, not logged if in batch mode
-o# Output only, suppress sign-on banner.
-T# Dataloop translator on.
-t# Dataloop translator off.

(gauss)
Listing and Installing Functions in GAUSS

Listing and Installing Functions in GAUSS

GAUSS provides multiple functions, but you can install more.

Listing Functions Available in GAUSS

Listing Functions Available in GAUSS

To view a list of installed functions available in GAUSS, open a new terminal window and type the following command at the prompt:

> ls /usr/local/gauss6/src/ 
amelia.deceiread.srclcdfnormi.gpxyz.src
amelia.exteirepar.srclncdfn.decqnewton.dec
amelia.srceisims.srclncdfn.extqnewton.ext
amgraph.srcei.srclncdfn.srcqnewtonmt.sdf
amimpute.srceitnorm.srclnfact.src qnewtonmt.src
amimput.srceiutil.srclnpdfmn.gqnewton.src
amread.srcemarch.srclnpdfmt.gqprog.dec
...
>

To view a list of installed libraries available in GAUSS, type the following command:

> ls /usr/local/gauss6/lib/ 
amelia.lcgcml.lcgcount.lcggauss.lcgnlsys.lcg
cmlcount.lcgco.lcgei.lcgmaxlik.lcgpgraph.lcg
>
Installing GAUSS Functions

Installing GAUSS Functions

New GAUSS libraries are installed in the following directory:

/usr/local/gauss6/lib

You make a library active by using the library statement. Refer to the GAUSS user guide for specific information. You can view a copy of the user guide in the RCE by using Mozilla Firefox to open the following file:

/usr/local/gauss6/UserGuide6.0.pdf

If you locate an additional component for GAUSS that is not available in the RCE, contact us and request that HMDC install that component for you.

Locating GAUSS Directories

Locating GAUSS Directories

To view the default directories for the GAUSS application, open a new terminal window and type the following command at the prompt:

> ls /usr/local/gauss6
atogginstallopt3tocosrc
bdumpginstall.batQuickStart6.0.pdfSupplement6.0.pdf
chkargs.exeLanguageReference6.0.pdfREADME symbol.gpc
cml2.0.pdflibREADME.ccn td
cmltoml4libgauss.soREADME.cml tests
complex.fntLICENSEREADME.cn tgauss
co.pdfmicrob.fntREADME.co tmp
dlibml3tocmlREADME.ml UserGuide6.0.pdf
examplesml3toml4README.nle vwrmp
FLEXlmml4tocmlREADME.ver vwrmp.cfg
gauss.cfgml5.0.pdfREADME.vwr wksp
gbnle.pdfsimgrma.fnt
g.gkfObsoletedCommands6.0.pdfsimplex.fnt
>

By default, GAUSS libraries are installed in the following directory:

/usr/local/guass6/lib

This also is the directory in which GAUSS saves files and searches for files to open.

The GAUSS configuration file defines the specific directories for each function. In a terminal window, type the following command to view the directory assignments:

> cat /usr/local/gauss6/gauss.cfg

Refer to the GAUSS user guide for a definition of the directory variables. You can view a copy of the user guide in the RCE by using Mozilla Firefox to open the file following file:

/usr/local/gauss6/UserGuide6.0.pdf
IQSS