Tag: num

From Static to Numeric to Single-Choice Exercises in R/exams


Tutorial for turning a static arithmetic exercise into a dynamic numeric exercise template and furthermore into a dynamic single-choice exercise template. Read More ›

tstat: 1-Sample t-Test Statistic


Exercise template for computing the t-test statistic (numeric answer) from given hypothesized mean and empirical mean and variance. Read More ›

regression: Simple Linear Regression (by Hand)


Exercise template for computing the prediction from a simple linear prediction by hand, based on randomly-generated marginal means/variances and correlation. Read More ›

lagrange: Method of Lagrange Multipliers


Exercise template for minimizing a linear objective function with two arguments subject to a Cobb-Douglas-type constraint. Both the parameters of the functions and the exact question (argument 1 vs. argument 2 vs. function value in optimum) are drawn randomly. Read More ›

dist: Distances and the Pythagorean Theorem


Exercise template for computing the distance (numeric answer) between two randomly-drawn points in a Cartesian coordinate system. Read More ›

deriv: Product Rule for Derivatives


Exercise template for computing the derivative (numeric answer) of a production function with factors of type xa and exp(b * x) at a given point c, with randomly-drawn a, b, and c. Read More ›

currency8: Convert Currencies


Exercise template for converting currencies (EUR, USD, GBP) with various symbols in UTF-8 encoding. Read More ›