Creating statistics e-assessments using Dewis with embedded R code


  • Iain Weir
  • Rhys Gwynllyw
  • Karen Henderson



statistics, SPSS, R, e-assessment, Dewis


We report on the creation of statistics e-assessments using the Dewis system with embedded R code. Dewis is a fully algorithmic open-source e-assessment system designed and developed at the University of the West of England, Bristol (UWE). Dewis’ ability to communicate with the R programming language greatly facilitates the task of generating bespoke data and its subsequent analysis. This approach has allowed us to successfully test students’ ability to perform involved statistical analyses on individual data sets and led to the creation of a suite of open access online e-learning modules on the UK national statstutor website. Development of a Dewis-R interface allows the creation of sophisticated e-assessments solely by writing an R script file. The goal is to create a community of Dewis-R practitioners who will be able to author and share relevant, authentic and engaging statistics e-assessments that enrich the learning experience of students.


Dewis resources on statstutor, 2015. Available at: [Accessed 14 May 2016].

Dewis welcome page, 2012. Available at: [Accessed 14 October 2016].

Dewis-R Statistics Resources website, 2016. Available at [Accessed 19 October 2016].

Gwynllyw, D.Rh., Weir, I.S., and Henderson K.L, 2016. Using DEWIS and R for multi-staged statistics e-assessments. Teaching Mathematics & Its Applications, 35(1). pp.14-26.

R Core Team, 2014. R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. Available at: [Accessed 23 December 2016].

Sangwin, C., 2013. Computer Aided Assessment of Mathematics. Oxford University Press.

Sigma Resource Development Projects Funded, 2015. Available at: [Accessed 14 May 2016].

Weir, I., Gwynllyw, R. and Henderson, K., 2015. Using technology to inspire and enhance the learning of statistics in a large cohort of diverse ability. In: IATED, ed. (2015) Edulearn15 Proceedings. IATED.