384 results for "variables".
-
Question in Dann's workspaceThis question provides students with an example that requires them to fill in missing quantities in a two-way frequency table for bivariate categorical data, calculate percentages from that table, and to test for independence between the variables using a chi square test.
-
Question in Julia's workspace
This is supposed to demonstrate allowing one of two different free variables in the student's answer, but only marked as correct if the same free variable is used in all gaps. The custom marking algorithm should extend to any number of gaps, and one could add more alternative answers to allow for more free variable names. It doesn't allow just any free variable name.
-
Question in Johnathan's workspaceFinding asymptotes and using the y-intercept to find variables.
-
Question in Christian's workspace
Use the testing tab in the variables section to make sure the generated variables satisfy a condition
-
Question in How-tos
Choose from one of several pre-defined scenarios, and set variables to the corresponding values.
This question has three variables:
city,population, andpercent_like_chocolate. These differ for each city. -
Question in Demos
In this question, the correct answers can't be evaluated by substituting numbers for each of the variables.
Numbas can now infer the types of variables in the answers to mathematical expression parts, so questions like this can be marked.
-
Question in Newcastle University Computing for Mathematics
SPSS fat absorption question. Student downloads one of several SPSS files and carries out some analysis in SPSS, before returning to enter the answers. The analysis is a one-way analysis of variance. If there is a difference in the levels of the factor then a post hoc test (Tukey's honestly significant difference) is used to determine which pairs of variables are significantly different.
-
Question in How-tosThis question generates two variables, a and b. They're chosen to be distinct, and neither takes the value zero.
-
Question in How-tos
Choose from one of several pre-defined scenarios, and set variables to the corresponding values, defined in lists.
This question has three variables:
city,population, andpercent_like_chocolate. These differ for each city. We've defined a list for each variable, with the corresponding values. A variable calledscenariopicks a random position in the list, so the value ofcity, for example, iscities[scenario]. -
Question in How-tos
One method of randomly choosing names for variables. For each variable, we have 4 options. Create a list of 4 numbers, which is 1 for the name we want to use, and 0 otherwise.
Then, whenever we use that variable, multiply each of the possible names by the corresponding number in the list. When the expression is simplified, the unwanted names will cancel to 0, leaving only the name we want.
This is quite clunky!
(This question also uses a custom marking script to check that the student has simplified the expression)
-
Question in How-tos
Show one of several blocks of text depending on the value of a question variable.
As well as a simple check for the value of a variable, the condition to display a block of text can be a complex expression in any of the question variables - in this example, depending on the discriminant of the generated quadratic.
-
Question in How-tosThis question shows how to make the correct answer to a "choose one from a list" part depend on randomised question variables, in a couple of ways. The first part uses JME expressions to define the marks available for each choice. The second part uses the "custom marking matrix" option.
-
Question in Content created by Newcastle University
Given data on population mean and population standard deviation and three sampling sizes, calculate the probabilities that the sample means are within a specified distance from the population mean.
-
Question in Content created by Newcastle University
Given a linear combination $Y$ of three independent random variables with given means and variances, find the mean of variance of $Y$.
-
Question in Content created by Newcastle University
Given descriptions of 3 random variables, decide whether or not each is from a Poisson or Binomial distribution.
-
Question in Content created by Newcastle University
Given a random variable $X$ normally distributed as $\operatorname{N}(m,\sigma^2)$ find probabilities $P(X \gt a),\; a \gt m;\;\;P(X \lt b),\;b \lt m$.
-
Question in Content created by Newcastle University
Simple probability question. Counting number of occurences of an event in a sample space with given size and finding the probability of the event.
-
Question in Content created by Newcastle University
Choosing whether given random variables are qualitative or quantitative.
-
Question in Content created by Newcastle University
Independent events in probability. Choose whether given three given pairs of events are independent or not.
-
Question in Content created by Newcastle University
Finding probabilities from a survey giving a table of data on the alcohol consumption of males. This can be easily adapted to data from other types of surveys.
-
Question in Content created by Newcastle University
Create a truth table for a logical expression of the form $a \operatorname{op} b$ where $a, \;b$ can be the Boolean variables $p,\;q,\;\neg p,\;\neg q$ and $\operatorname{op}$ one of $\lor,\;\land,\;\to$.
For example $\neg q \to \neg p$.
-
Question in Content created by Newcastle University
Create a truth table for a logical expression of the form $(a \operatorname{op1} b) \operatorname{op2}(c \operatorname{op3} d)$ where $a, \;b,\;c,\;d$ can be the Boolean variables $p,\;q,\;\neg p,\;\neg q$ and each of $\operatorname{op1},\;\operatorname{op2},\;\operatorname{op3}$ one of $\lor,\;\land,\;\to$.
For example: $(p \lor \neg q) \land(q \to \neg p)$.
-
Question in Content created by Newcastle University
Create a truth table for a logical expression of the form $((a \operatorname{op1} b) \operatorname{op2}(c \operatorname{op3} d))\operatorname{op4}e $ where each of $a, \;b,\;c,\;d,\;e$ can be one the Boolean variables $p,\;q,\;\neg p,\;\neg q$ and each of $\operatorname{op1},\;\operatorname{op2},\;\operatorname{op3},\;\operatorname{op4}$ one of $\lor,\;\land,\;\to$.
For example: $((q \lor \neg p) \to (p \land \neg q)) \lor \neg q$
-
Question in Content created by Newcastle University
Create a truth table for a logical expression of the form $((a \operatorname{op1} b) \operatorname{op2}(c \operatorname{op3} d))\operatorname{op4}(e \operatorname{op5} f) $ where each of $a, \;b,\;c,\;d,\;e,\;f$ can be one the Boolean variables $p,\;q,\;\neg p,\;\neg q$ and each of $\operatorname{op1},\;\operatorname{op2},\;\operatorname{op3},\;\operatorname{op4},\;\operatorname{op5}$ one of $\lor,\;\land,\;\to$.
For example: $((q \lor \neg p) \to (p \land \neg q)) \to (p \lor q)$
-
Question in Content created by Newcastle University
Create a truth table for a logical expression of the form $((a \operatorname{op1} b) \operatorname{op2}(c \operatorname{op3} d))\operatorname{op4}e $ where each of $a, \;b,\;c,\;d,\;e$ can be one the Boolean variables $p,\;q,\;r,\;\neg p,\;\neg q,\;\neg r$ and each of $\operatorname{op1},\;\operatorname{op2},\;\operatorname{op3},\;\operatorname{op4}$ one of $\lor,\;\land,\;\to$.
For example: $((q \lor \neg r) \to (p \land \neg q)) \land \neg r$
-
Question in Content created by Newcastle University
Provided with information on a sample with sample mean and standard deviation, but no information on the population variance, use the t test to either accept or reject a given null hypothesis.
-
Question in Content created by Newcastle University
Given a random variable $X$ normally distributed as $\operatorname{N}(m,\sigma^2)$ find probabilities $P(X \gt a),\; a \gt m;\;\;P(X \lt b),\;b \lt m$.
-
Question in Content created by Newcastle University
Given the following three vectors $\textbf{v}_1,\;\textbf{v}_2,\;\textbf{v}_3$ Find out whether they are a linearly independent set are not. Also if linearly dependent find the relationship $\textbf{v}_{r}=p\textbf{v}_{s}+q\textbf{v}_{t}$ for suitable $r,\;s,\;t$ and integers $p,\;q$.
-
Question in Content created by Newcastle University
Given three linear combinations of four i.i.d. variables, find the expectation and variance of these estimators of the mean $\mu$. Which are unbiased and efficient?
-
Question in Content created by Newcastle University
Let $x_n=\frac{an+b}{cn+d},\;\;n=1,\;2\ldots$. Find $\lim_{x \to\infty} x_n=L$ and find least $N$ such that $|x_n-L| \le 10^{-r},\;n \geq N,\;r \in \{2,\;3,\;4\}$.