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

st: RE: How to create data dictionaries using fortran format commands


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: How to create data dictionaries using fortran format commands
Date   Wed, 24 Nov 2004 22:59:53 -0000

See the results of 

. whelp infiling 

-infile- or -infix- is my guess. 

Nick 
n.j.cox@durham.ac.uk 

Robert Breunig
 
> I have a large ASCII file that I wish to read into STATA.  I 
> normally read 
> this file using fortran.
> 
> Instead of creating a data dictionary such as
> 
> var1    1-3
> var2    4-6
> var3    7-9
> etc..
> 
> is there a way to tell stata that I have 9 variables all 
> which take up 3 
> columns.  (In fortran, I would type 9f3.0).

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index