confint3: 2-Sided Confidence Interval (Extended Moodle Version)
Name:
confint3
Type:
Related:
Description:
Computing the 2-sided confidence interval at 95% level for the mean based on a random sample. The exercise is a cloze with two numeric answers for the lower and upper bound of the confidence interval, respectively. Using the 'verbatim' clozetype for Moodle, the exercises yields 100% of the points for the correct solution based on t quantiles but still 50% for a partially correct solution based on normal quantiles.
Solution feedback:
Yes
Randomization:
Random numbers
Mathematical notation:
Yes
Verbatim R input/output:
No
Images:
No
Other supplements:
No
(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("confint3.Rmd", mathjax = TRUE)
set.seed(403)
exams2pdf("confint3.Rmd")
set.seed(403)
exams2html("confint3.Rnw", mathjax = TRUE)
set.seed(403)
exams2pdf("confint3.Rnw")