Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: How to import help file (dictionary file)

From   Roger Newson <>
Subject   Re: st: How to import help file (dictionary file)
Date   Sun, 27 Nov 2005 15:49:07 +0000

At 03:26 26/11/2005, Ebtihal Alabdeen wrote:

Dear Sir/Madam

I have converted a SAS file into stata file, but i dont know how
to import the SAS help file, I mean how can import the file that
contains the values of the variables like 1=yes 2=no and so on?

It would be easier for us to help if you told us exactly how you converted the SAS file into the Stata file. For instance, do you have StatTransfer or DBMS/Copy? And, if so, what version?

In Stata, the job of SAS formats is done by value labels. StatTransfer can convert SAS formats to Stata value labels. I don't know about DBMS/Copy. To find out more about DBMS/Copy, see

and to find out more about StatTransfer, see

If you do not have a data converter such as DBMS/Copy or StatTransfer, then you will have to translate the SAS -proc format- code to Stata -label- statements.

I hope this helps.


Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
Division of Asthma, Allergy and Lung Biology
King's College London

5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605

Opinions expressed are those of the author, not the institution.

* For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index