Search code examples
statagretl

How can Gretl data be exported to use in Stata


We are in a class on introductory econometrics and need to export data from Gretl so that Stata users can import it.

Seems that there is a tool to make it (Stat/Transfer), but it's not free.

Has anyone a tested method to do this?


Solution

  • Use gretl.export(vars) to export to a csv file in gretl's temp directory, which can be read into Stata with import delimited.