Skip to content

TA slides on game theory for exercise classes in Microeconomics III at UCPH

License

Notifications You must be signed in to change notification settings

thornoe/micro_III

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microeconomics III

Slides for teaching exercise classes in Microeconomics III at UCPH in Autumn 2019.

Within the folder for each session, the "figures" folder contains Python code for Cournot and mixed strategy diagrams (sessions 2-4) as well as editable Inkscape (svg) files for the game trees (sessions 5-12).

Drawing game trees

I draw the game trees in Inkscape, which is a great piece of free software – when you have gotten used to it.

  • Editing one of the existing game trees can be a quite straightforward start. If
  • One can use LaTeX math mode such as $x_1$.
  • Exporting an illustration to a LaTeX document can be a bit cumbersome. Choose a name without spacing and save it as type: “Portable Document Format (*.pdf)” and choose “Omit text in PDF and create LaTeX file” and “Use exported object’s size”, which creates two new files (*.pdf and *.pdf_tex). Both must be included in the folder that is referred to in the LaTeX document using the code below (e.g. uploaded to Overleaf) to even see what the final figure looks like, as the files make little sense on their own.
\begin{figure}[!h]
  \center
  \def\svgwidth{.9\columnwidth} % "1.0" equals the width of the column
  \import{folder_name/}{figure_name.pdf_tex}
\end{figure}
  • When editing figures or tables for LaTeX in an external program it becomes cumbersome to use Overleaf, as you need to upload each edition. Instead, consider setting up an offline text editor such as Atom or Visual Studio Code (with LaTeX Workshop).
  • Troubleshoot errors when building in LaTeX:
    • If LaTeX can't build, it's usually due to free-floating rather than attached elements, typically dots or dashed lines. In Inkscape, two different selecting tools can be accessed by pressing F1 and F2 respectively. For dots one needs to use F2 in order for them to 'attach' when hovering near the end of a line.
    • If white space is left at the right of the figure, reduce the font size in Inkscape as this only affects the area taken into account for the figure.

For students, I instead recommend drawing game trees in hand (or using PowerPoint) as it is the quickest and resembles the exam situation.

  • Writing an assignments on the computer, one can take a picture or leave blank space to draw the figures after printing.
  • Alternatively, an existing game tree can simply be coloured in Paint or PowerPoint.

License

This project is released under the MIT License, that is, you can basically do anything with my code as long as you give appropriate credit and don’t hold me liable.

About

TA slides on game theory for exercise classes in Microeconomics III at UCPH

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published