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   Christopher Baum <>
To   "" <>
Subject   st: Re: FORTRAN
Date   Tue, 31 Aug 2010 07:37:35 -0400

I think what this person means is that they want to read the .dta files' contents into a Fortran program. That will generally require the use of -outfile- to produce an ASCII text file. Fortran can certainly read binary files, and I know Fortran, but I would not like to take on writing the Fortran code to read a .dta file into Fortran directly (although to StataCorp's credit, the information needed to do so is readily accessible).

In my understanding this has nothing to do with translating the logic of a Stata do-file or ado-file into equivalent Fortran.


On Aug 31, 2010, at 2:33 AM, stata-se 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).

Kit Baum   |   Boston College Economics & DIW Berlin   |
                              An Introduction to Stata Programming  |
   An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

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