Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: FORTRAN code to Stata

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: FORTRAN code to Stata
Date   Tue, 9 Nov 2004 10:32:20 -0000

I've done it in the past -- although more commonly 
in my case ancient Fortran code became Basic on some primitive 
PC, which in turn became Stata. But I am not sure
what advice you want. One-dimensional arrays
usually become variables, DO loops become 
-forval-, etc. Not all translations are obvious: 
sometimes two-dimensional arrays become Stata 
matrices; sometimes rethinking to a different
data structure is a better idea. 

[email protected] 

[email protected]
> I was wondering whether anyone had experience translating Fortran code
> (*.FOR) into Stata *.ado or *.do files. I would appreciate very much a
> chance to see an example of that.

*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index