Gauss Files
Previous Topic  Next Topic 

Stat/Transfer will read and write Gauss data sets.  There are two Gauss formats. 


  1. Gauss 89  was used on PC platforms, and consists of two files: a data file with a .dat extension and a header, or dictionary file  with a .dht extension. 
  2. Gauss 96 was first used on Unix platforms and now is used on all platforms.  It is written to a single file with a .dat extension.


Standard extension:  dat


Reading Gauss Files

When you wish to transfer data from a Gauss data set, give Stat/Transfer the name of the data file (the file with the .dat extension).  If Stat/Transfer can find the .dht file in the same directory, it will read the data file as a Gauss 89 file.  If no .dht file is present, the data file will be read as a Gauss 96 file.


Stat/Transfer will read numeric data from integer, single precision and double precision Gauss data sets.  Character data will only be read from double precision data sets.


Writing Gauss Files

On output, you can choose whether to write a Gauss 89 or Gauss 96 file.  If you choose to write a Gauss 89 file, both of the Gauss files, the data file and the header file, will be written.  Stat/Transfer will show the data file name, with the .dat extension, in the output File Specification line.  However, the header file will be created as well, with a .dht extension.


Stat/Transfer writes double precision Gauss data sets.


Missing Data

Gauss supports missing values.


Output Variable Types

The output variable type that results from each target variable type is given in the following table:




Target Type

Output Type


byte

int

long

float

double

Double precision number


string

Character (8 byte maximum)


date

MM/DD/YY format  (written as a character variable)


time

date/time

Character (written using ASCII format options currently in effect)