Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Lachenbruch, Peter" <Peter.Lachenbruch@oregonstate.edu> |
To | "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |
Subject | RE: st: RE: Re: FORTRAN |
Date | Mon, 30 Aug 2010 14:58:01 -0700 |
But is it slower than the amount of time you will need to learn FORTRAN and write your program? I have found that Stata is much easer to debug than FORTRAN. If yours is a one-off program I'd go with Stata - if it's to be reused many time, the question is open. I would also suggest that a first time program is likely to be inefficient and slow... Tony Peter A. Lachenbruch Department of Public Health Oregon State University Corvallis, OR 97330 Phone: 541-737-3832 FAX: 541-737-4001 -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Stata SpecialEdition Sent: Monday, August 30, 2010 2:26 PM To: statalist@hsphsun2.harvard.edu Subject: Re: st: RE: Re: FORTRAN I do love STATA, but STATA is too slow for the type of application I consider. That is why I am using the FORTAN programming language. On 8/30/10, Lachenbruch, Peter <Peter.Lachenbruch@oregonstate.edu> wrote: > 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... > > Tony > > Peter A. Lachenbruch > Department of Public Health > Oregon State University > Corvallis, OR 97330 > Phone: 541-737-3832 > FAX: 541-737-4001 > > > -----Original Message----- > From: owner-statalist@hsphsun2.harvard.edu > [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Joseph Coveney > Sent: Monday, August 30, 2010 6:55 AM > To: statalist@hsphsun2.harvard.edu > 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: > * 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/ > * * 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/