Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From   "Lachenbruch, Peter" <>
To   "''" <>
Subject   st: RE: Re: FORTRAN
Date   Mon, 30 Aug 2010 13:00:43 -0700

With all the comments about reading stuff into FORTRAN, I think it would be simpler to do the coding in Stata.  Is must be very esoteric to need specific FORTRAN  capabilities...


Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001

-----Original Message-----
From: [] On Behalf Of Joseph Coveney
Sent: Monday, August 30, 2010 6:55 AM
Subject: st: Re: FORTRAN

Stata SpecialEdition wrote:

I have been using STATA for two years now and I LOVE it. I now need to
do some more complicated estimation in a language called FORTRAN. Is
it possible to read my STATA files in FORTRAN? A colleague said it was
impossible and I would have just save it as an ASCII. Is this the best
way? I just wanted to check whether this is the case with some STATA
(and hopefully FORTRAN experts).


The format of Stata's dataset files (.dta) are published, and so, if you're up 
to it, you probably *could* read them with a suitable FORMAT / READ statement 
(or set of FORMAT / READ statements) in Fortran.  Like your colleague, though, 
I question the worthiness of such an undertaking for any applications that 
you're likely to encounter.

I'd go with ASCII, just as your colleague says.

Joseph Coveney

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index