essayreg2: Linear Regression (Cloze with Essay and File Upload)
Name:
essayreg2
Type:
Related:
Description:
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).
Solution feedback:
Yes
Randomization:
Random numbers and text blocks
Mathematical notation:
No
Verbatim R input/output:
Yes
Images:
No
Other supplements:
regression.csv
Demo code:
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")