essayreg2: Linear Regression (Cloze with Essay and File Upload)
The results of a linear regression model (linear, semi-logarithmic, or log-log) need to be obtained and interpreted in a "cloze" question. This comprises two "num" elements (R-squared and F-statistic), an open-ended "essay" element for interpreting the model output, and a "file" upload for the R script used by the participants. This type of extended cloze question is currently supported in QTI 2.1 (OpenOlat in particular).
Random numbers and text blocks
Verbatim R input/output:
Raw: (1 random version)
library("exams") set.seed(403) exams2html("essayreg2.Rmd") set.seed(403) exams2pdf("essayreg2.Rmd") set.seed(403) exams2html("essayreg2.Rnw") set.seed(403) exams2pdf("essayreg2.Rnw")