How can Gretl data be exported to use in Stata

812 Views Asked by At

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?

2

There are 2 best solutions below

0
On BEST ANSWER

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

0
On

Gretl will happily write is Stata format. You can either use the graphical user interface for this (File>Export) or the store command, as in

store mydata.dta