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]
Re: st: Re: FORTRAN
Stata SpecialEdition <firstname.lastname@example.org>
Re: st: Re: FORTRAN
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@example.com> 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.
> 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:
> * 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: