Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Re: FORTRAN
Christopher Baum <firstname.lastname@example.org>
st: Re: FORTRAN
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 | http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming | http://www.stata-press.com/books/isp.html
An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html
* For searches and help try: