Automatic Generation of Exams in R

Grün, Bettina and Zeileis, Achim (2009) Automatic Generation of Exams in R. Journal of Statistical Software, 29 (10). pp. 1-14. ISSN 1548-7660

This is the latest version of this item.


Download (324kB)


Package exams provides a framework for automatic generation of standardized statistical exams which is especially useful for large-scale exams. To employ the tools, users just need to supply a pool of exercises and a master file controlling the layout of the final PDF document. The exercises are specified in separate Sweave files (containing R code for data generation and LaTeX code for problem and solution description) and the master file is a LaTeX document with some additional control commands. This paper gives an overview of the main design aims and principles as well as strategies for adaptation and extension. Hands-on illustrations - based on example exercises and control files provided in the package - are presented to get new users started easily.

Item Type: Article
Additional Information: We are indebted to our colleagues at the Department of Statistics and Mathematics at WU Wien - in particular Regina Tüchler and Josef Leydold - for testing and challenging the code and making suggestions for improvement. We would like to thank two anonymous referees and one associate editor for their valuable comments which led to several improvements. This research was partially supported by the Austrian Science Foundation (FWF) under Hertha-Firnberg grant T351. Article contains supplementary files. See
Keywords: exams / multiple choice / arithmetic problems / Sweave / LaTeX / R
Divisions: Departments > Finance, Accounting and Statistics > Statistics and Mathematics
Version of the Document: Published
Variance from Published Version: None
Depositing User: Elena Simukovic
Date Deposited: 19 Apr 2016 15:20
Last Modified: 15 Aug 2020 07:07
Related URLs:

Available Versions of this Item


View Item View Item


Downloads per month over past year

View more statistics