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

st: How to create data dictionaries using fortran format commands


From   Robert Breunig <Robert.Breunig@anu.edu.au>
To   statalist@hsphsun2.harvard.edu
Subject   st: How to create data dictionaries using fortran format commands
Date   Thu, 25 Nov 2004 09:57:08 +1100

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).

Thanks,

Bob

+++++++++++++++++++++++++++++++++++++++++++
Dr. Robert Breunig
Senior Lecturer, School of Economics
and
Senior Research Fellow, Economics Program,
Research School of Social Sciences
Australian National University
Canberra ACT 0200
AUSTRALIA
+61 - 2 - 6125 2148
*
* 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