# boxhist2: Univariate Exploration of a CSV File (Moodle Version)

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

**Name:**

`boxhist2`

**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. The six items are embedded into the exercise using Moodle-specific markup for somewhat improved layout.

**Solution feedback:**

Yes

**Randomization:**

Random numbers, text blocks, and data file

**Mathematical notation:**

Yes

**Verbatim R input/output:**

No

**Images:**

Yes

**Other supplements:**

boxhist.csv

*(Note that the HTML output contains mathematical equations in MathML. It is displayed by browsers with MathML support like Firefox or Safari - but not Chrome.)*

**Demo code:**

```
library("exams")
set.seed(1090)
exams2html("boxhist2.Rnw")
set.seed(1090)
exams2pdf("boxhist2.Rnw")
set.seed(1090)
exams2html("boxhist2.Rmd")
set.seed(1090)
exams2pdf("boxhist2.Rmd")
```