ztree2stata
ztree2stata
ztree2stata: A data converter for z-Tree and Stata users, by Kan Takeuchi, Journal of the Economic Science Association, 9, 136-146, 2023.
(The sample file: 221024_0215.xls)
ztree2stata imports a z-Tree (Fischbacher, 2007) data file and converts it into Stata format. Specifically ztree2stata:
opens a tab-delimited ASCII text file saved by z-Tree,
deletes all data other than that of the specified table,
renames variables using the variable names in z-Tree, and
converts the data into numerical type.
ztree2stata has been registered on ssc (10.21.2023). Installation is now possible with the following command at Stata prompt:
ssc install ztree2stata
If you have already installed ztree2stata manually, please first manually delete the existing ado and hlp files.
ReadMe (PDF) : ztree2stata.pdf
Ado-file (20221211) : ztree2stata.ado
Help file: ztree2stata.sthlp
Are you using python? Check my ztree2python.