Bookmark and Share

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


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

Re: st: Re: FORTRAN


From   Stata SpecialEdition <[email protected]>
To   [email protected]
Subject   Re: st: Re: FORTRAN
Date   Tue, 31 Aug 2010 13:15:32 +0100

Yes Christopher, i just wanted to read a STATA dta file into FORTRAN
directly. I would not know where to start with this myself, which is
why I ask here. Sergiy Radyakin provided a link to some FORTRAN code
which someone has written to do exactly this. I have not tried it yet,
but the code exists and it looks very promising.

On 8/31/10, Christopher Baum <[email protected]> wrote:
> <>
> 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.
>
> Kit
>
> 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:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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