Uni Jena
Wirtschaftswissenschaftliche Fakultät
Lehrstuhl für Empirische und Experimentelle Wirtschaftsforschung

Tools for z-Tree

labcontrol - an interface to control z-Tree and z-Leaf

Screenshot Experimentertools Screenshot Experimentertools Screenshot Experimentertools

Here is a (hopefully helpful) interface for z-Tree laboratory experiments. labcontrol was intended to be an easy tool of controlling our laboratory at university and it is still in development. Most options are configurable with Gconf.

What labcontrol provides:

If you find the software useful, you are free to use it under the GPL.

How to use z-Tree with GNU Linux

Here are also some general remarks on how to use z-Tree with GNU Linux.

z-Tree and the statistical software R

For those who use R, here is a utility to import data from z-Tree into R (current version as of 2012-03-19, fixed issue with latin1-locale and chat-tables). It provides two commands, zTreeTables and zTreeSbj: Example:
source("http://www.kirchkamp.de/lab/zTree.R")
zTT <- zTreeTables(c("080712_1412.xls","080712_1818.xls"))
with(zTT$subjects, table(Treatment,Period))

zTreeSbj takes a vector of .sbj-files and returns a matrix
files <- list.files(pattern = "*.sbj$",recursive=TRUE)
fname <- sub(".*/","",files)
sbj <- zTreeSbj(aggregate(files,list(fname),function(x) x[1])$x)

For those who (still) use Stata, Kan Takeuchi has written a utility to import data from z-Tree into Stata.

Read more about z-Tree at the z-Tree-Wiki.