Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: how to generate Stata dct file


From   "JP Azevedo" <[email protected]>
To   <[email protected]>
Subject   RE: st: how to generate Stata dct file
Date   Fri, 3 Feb 2006 08:14:41 -0200

Dear Steve,
Thanks. I'm currently using the Stat/Transfer function that you described.
However, I would like to find out if there is a way to do that from within
Stata. 
Cheers,
JP


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Steven Dubnoff
Sent: Friday, February 03, 2006 12:50 AM
To: [email protected]
Subject: Re: st: how to generate Stata dct file

>
>I'm trying to export my dataset using the outfile command.
>
>outfile using filename.txt, wide  noquote nolabel  replace
>
>However, don't seem to find a way to generate a dictionary (in a separate
>file) to follow this dataset.

If you have Stat/Transfer, the output format "Stata Program + ASCII Data" 
will give you what you need (a do file, a .dct file and your data in the 
narrowest form).  It will also export your value and variable labels.

Best,

Steve



----------------------------------------------------------------
Steven Dubnoff              [email protected]
Circle Systems              We make your data instantly usable.
Download Stat/Transfer from http://www.stattransfer.com
1001 Fourth Avenue, #3200   (206) 682-3783
Seattle, WA 98154           Fax (206) 328-4788


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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