Friday, February 03, 2006

RE: st: how to generate Stata dct file

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: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Steven Dubnoff Sent: Friday, February 03, 2006 12:50 AM To: statalist@hsphsun2.harvard.edu 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 sdubnoff@circlesys.com 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/


Tag:




<< Home

This page is powered by Blogger. Isn't yours?