boxhist: Univariate Exploration of a CSV File

Exercise template for assessing the interpretation of exploratory statistics (quantiles) and graphics (boxplot and histogram) based on a randomly-generated CSV file.

Name:
boxhist
Type:
Related:
Description:
Univariate numeric data for download in a CSV file (comma-separated values) need to be assessed using quantiles (three numeric items) and exploratory graphics (three single-choice items). Data are drawn randomly from a suitable data-generating process so that the single-choice items are either about correct or clearly wrong.
Solution feedback:
Yes
Randomization:
Random numbers, text blocks, and data file
Mathematical notation:
Yes
Verbatim R input/output:
No
Images:
Yes
Other supplements:
No
Raw: (1 random version)
PDF:
boxhist-Rmd-pdf
boxhist-Rnw-pdf
HTML:
boxhist-Rmd-html
boxhist-Rnw-html

(Note that the HTML output contains mathematical equations in MathML, rendered by MathJax using ‘mathjax = TRUE’. Instead it is also possible to use ‘converter = “pandoc-mathjax”’ so that LaTeX equations are rendered by MathJax directly.)

Demo code:

library("exams")

set.seed(403)
exams2html("boxhist.Rmd", mathjax = TRUE)
set.seed(403)
exams2pdf("boxhist.Rmd")

set.seed(403)
exams2html("boxhist.Rnw", mathjax = TRUE)
set.seed(403)
exams2pdf("boxhist.Rnw")