DXV_OPSS OTree and Python systems

Ekonomicko-správní fakulta
podzim 2019
Rozsah
0/36/0. 2 kr. Ukončení: z.
Vyučující
Ing. Miloš Fišar, Ph.D. (přednášející)
Tommaso Reggiani, PhD (přednášející)
Ing. Jan Vávra (přednášející)
Garance
prof. Mgr. Jiří Špalek, Ph.D.
Katedra veřejné ekonomie – Ekonomicko-správní fakulta
Dodavatelské pracoviště: Katedra veřejné ekonomie – Ekonomicko-správní fakulta
Omezení zápisu do předmětu
Předmět je nabízen i studentům mimo mateřské obory.
Mateřské obory/plány
Cíle předmětu
The course is intended to equip students with the necessary skills to program economic experiments using oTree and the Python programming language.
Výstupy z učení
At the end of the training, students will be able to program simple experiments and edit more complex economic experiments with oTree. They would have the knowledge to independently run laboratory or lab-in-the filed experiments using oTree or to use this platform for other behavioral research.
Osnova
  • Main topics

  • How oTree works, used technologies (Python, Django, Bootstrap, html, JavaScript), parts of the oTree project, project vs. app, developing in oTree, Python, Python classes represented by models.py, crash course in Python (variables, data types, classes, functions, methods and loops), pages.py, templates (Django template language), server setup, where and how to find help.

  • Programming simple experiments from scratch: defining and connecting models.py (player, group, sub-session and session tables), pages.py and templates; construction of methods; triggering methods from pages.py using built-in methods; using if conditions in templates; Django template language.

  • Rounds, Treatments, Timeouts, Money and Payoffs, Admin Interface; programming more advanced experiments.

  • Introduction of jTree (a javascript toolbox for running economics experiments).

Výukové metody
group projects, lectures
Vyučovací jazyk
Angličtina
Další komentáře
Předmět je vyučován jednorázově.
Výuka probíhá blokově.

  • Statistika zápisu (nejnovější)
  • Permalink: https://is.muni.cz/predmet/econ/podzim2019/DXV_OPSS