ShareStats logo
exams output
install.packages("exams", dependencies = TRUE)
library(exams)
Resource: Procedure item development in teams.
[abbreviation institution]-[lowest taxonomy level for item]-[nummber ###]-[nl/en]
All in small caps.
example:
If available:
When you have an item in multiple languages, you can place them in the same item folder and alter the file name.
There are five item types available in R (Resource).
extype: schoice (s:
single)extype: mchoice (m:
multiple)extype: numextype: stringextype: clozeQuestion
========
Solution
========
Meta-information
================
exname:
extype:
exsolution:
exsection:
exextra[]:
Question
========
What is the average of the numbers 3, 5 and 7?
Answerlist
----------
* 4
* 5
* 6
Solution
========
The correct answer is 5.
Answerlist
----------
* You got it wrong
* Yes you got it
* This is the wrong answer
Meta-information
================
exname: Rekens som
extype: schoice
exsolution: 010
exsection: Descriptive statistics / Summary Statistics / Measures of Location/Mean
exextra[Type]: Calculation
Question
========
Which are parametric tests?
Answerlist
----------
* t-test
* signed-rank test
* ANOVA
Solution
========
The correct answer the ANOVA test
Answerlist
----------
* True. t-test
* False. signed rank test
* True. ANOVA
Meta-information
================
exname: parametric
extype: mchoice
exsolution: 101
exsection: Inferential Statistics / Non-parametric Techniques / Signed Rank test
exextra[Type]: Conceptual, Test choice
exextra[Language]: English
exextra[Level]: Statistical Reasoning
Question
========
What is the average of the numbers 3, 5 and 7?
Solution
========
The correct answer is 5.
Meta-information
================
exname: Rekens som
extype: num
exsolution: 5
extol: 0
exsection: Descriptive statistics / Summary Statistics / Measures of Location/Mean
exextra[Type]: Calculation
Question
========
What statistical test do you need to test the difference between two independent groups, assuming all parametric assumptions are met?
Solution
========
The correct answer is independent t-test
Meta-information
================
exname: TestSelectionTtest
extype: string
exsolution: "independent t-test"
exsection: Inferential Statistics / Parametric Techniques/t-test / Independent samples means
exextra[Type]: Test choice
Question
========
Given are the following numbers: 1, 2, 3, 4, 5, 6.
Answerlist
----------
* What is the sample mean?
* What is the estimated population standard deviation?
Solution
========
Answerlist
----------
* The sample mean is 3.5.
* The estimated population standard deviation is 1.87.
Meta-information
================
exname: MeandAndSD
extype: cloze
exclozetype: num|num
exsolution: 3.5|1.870829
extol: 0.01
exextra[Type]: Calculate
Adding image or files to your question.
 at location for image. Replace
myImage with your own.[Download](myFile.xls) at location for the
download. Replace myFile with your own.```{r, echo = FALSE, results = "hide"}
include_supplement("myImage.png", recursive = TRUE)
```
You can add the taxonomy to the exsection attribute in
the meta information.
Meta-information
================
exsection: Descriptive statistics/Summary Statistics/Measures of Spread/Standard Deviation, Inferential Statistics/Parametric Techniques/t-test/One sample mean
If a question Rmd-file calls a function from an imported package, please ensure that it’s always clear from which particular package the function stems.
Ideally, you explicitly specify the source package for each call of
an imported function. R has the double colon operator ::
for this and the syntax looks as follows
packages_name::function_name(..). For example, if you want
to use the function kable() from the package
knitr, please call knitr::kable(...). By the
way: an import of the package is in this case not anymore required.
Alternatively, you could always import all required packages in the
Rmd-file (e.g. library(knitr)) and simply call the
functions by their name (e.g. kable(...)). This method is
however slightly more error-prone, because packages required for other
questions might use the same function name and might thus cause
conflicts between different questions.
You are required to check if the developed items properly work. Run
the exams2html() function as a simple fast check to test
your .Rmd file.
In addition run the following functions to check if the PDF is compiled correctly and if all the meta information is added properly. \(\LaTeX\) must be installed for the PDF function to work.
# install the develpment version to use browse_excersise()
install.packages("exams", repos = "http://R-Forge.R-project.org", dependencies = TRUE, type = "source")
library(exams)
exams2html(file = "")
exams:::browse_exercise(file = "")
exams2pdf(file = "")
exams2pandoc(file = "")
The quality procedure checklist can be downloaded below.