Using Stat/Transfer in DSS

The Department has a copy of Stat/Transfer installed on xavier.stat.duke.edu available for use in translating datasets between various file formats. The full list of supported formats is available on the Stat/Transfer Product page.

How to use Stat/Transfer

Stat/Transfer is installed as /usr/local/bin/st on xavier.stat.duke.edu. You must be logged into xavier.stat.duke.edu and can access the program by running  st  as:

xavier:brown ~ $ st
Stat/Transfer (c) 1986-2008 Circle Systems, Inc.
www.stattransfer.com 
Version 9.05.08.0221 - Linux

Serial: BPBZF-BXAAP-HBO7
User:   OIT Software License - Duke University
License Type:   Unix - Single User
***** Warning - Your personal license file is not in your home directory *****
Status: License OK

Please type "help" for a brief syntax and format guide.


N.B. The default Stata version for output is now Version 10.
To write an older version use the new '-v' switch (e.g. -v9 or -vy)

st> 

The Warning message may be safeily ignored. It's an artifact of how we have Stat/Transfer installed.

Converting files with Stat/Transfer

Converting files at the command line is a simple process:

$ st infile outfile

where infile is the input data file and outfile is the output data file. For example, to convert a SAS Transport file to R data format you would run:

$ st file.xpt file.rdata

You can also run Stat/Transfer by itself and get an internal command file from which you can then run transfers and other commands.

Full Documentation

The full user manual for Stat/Transfer is available on their website: ftp://ftp.stattransfer.com/unixman.pdf

Using Stat Transfer (last edited 2008-09-08 19:11:46 by localhost)