confint2: 2-Sided Confidence Interval

Exercise template for computing the 2-sided confidence interval for the mean based on a random sample.

Name:
confint2
Type:
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.
Solution feedback:
Yes
Randomization:
Random numbers
Mathematical notation:
Yes
Verbatim R input/output:
No
Images:
No
Other supplements:
No
Raw: (1 random version)
PDF:
confint2-Rnw-pdf
confint2-Rmd-pdf
HTML:
confint2-Rnw-html
confint2-Rmd-html

(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("confint2.Rnw")
set.seed(1090)
exams2pdf("confint2.Rnw")

set.seed(1090)
exams2html("confint2.Rmd")
set.seed(1090)
exams2pdf("confint2.Rmd")