[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: FORTRAN code to Stata
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.
> 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: