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

st: help on outfile to fixed formatted text file


From   <[email protected]>
To   <[email protected]>
Subject   st: help on outfile to fixed formatted text file
Date   Tue, 25 Oct 2005 11:50:31 -0400

Hello List,
I'm using Stata8 on Windows XP.

I would like to export the stata output to a fixed formatted text file.
I think I need to use dictionary option with outfile but can't figure
out how to implement it. Can someone please help me?

For example, the variables that I want to write are: date state revenue
//(date is a date formatted float, state is 2 char string, and revenue
is float)

The output needs to look like:
04/09/05GA500.00 (where date is 04/09/05, state is GA and revenue is
500.00)
10/09/05NY700.00 (where date is 10/09/05, state is NY and revenue is
700.00)
and so on...

Thank you.

Sincerely,
Pinaki Mitra


*
*   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