639 results for "variable".
-
Question in Christian's workspace
This question loads an extension which contains a dataset in JSON format. The data is made available as a JME variable called 'animal_data'.
-
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. -
Exam (6 questions) in Demos
Some questions demonstrating new features in Numbas v4.0: pattern-matching, inference of variable types in mathematical expression parts, and marking equations.
-
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 How-tos
Update: you can now use the conditional visibility button to do this more easily - see the documentation.
If the statement or advice for your question differs greatly depending on a random variable (for instance, if you're picking from a selection of scenarios), you only want to show content for the relevant scenario.
This question shows one way of doing that.
-
Question in Content created by Newcastle University
Given $P(A)$, $P(A\cup B)$, $P(B^c)$ find $P(A \cap B)$, $P(A^c \cap B^c)$, $P(A^c \cup B^c)$ etc..
-
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 STAT7008
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 STAT7008
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 How-tosThis question generates two variables, a and b. They're chosen to be distinct, and neither takes the value zero.
-
Question in Wiskunde voor bedrijfswetenschappen ACalculate the competitive price as the minimum of the average cost, given a production function in one variable for a situation of perfect competition.
-
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
Some clever variable-substitution trickery to randomly pick two sides of a right-angled triangle to give to a student, and ask for the other.
The sides are set up so they're always Pythagorean triples, and the opposite side is always odd.
As ever, most of the tricky stuff is in the advice.
Because this was created quickly to show how to set up the randomisation, there's no diagram. It would benefit greatly from a diagram.
-
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-tosShows how to safely include LaTeX in a string variable.
-
Exam (5 questions) in Christian's workspace
Identify parts of statistical formulas, and answer questions about how changing one variable affects the statistic.
-
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-tos
A mathematical expression part whose answer is the product of two matrices, $X \times Y$.
By setting the "variable value generator" option for $X$ and $Y$ to produce random matrices, we can ensure that the order of the factors in the student's answer matters: $X \times Y \neq Y \times X$.
-
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.
-
Exam (6 questions) in Content created by Newcastle University
Practice bank of multivariable calculus questions
-
Question in Content created by Newcastle University
A multiple linear regression model of the form:
\[Y=\beta_0+\beta_1X_1+ \beta_2X_2+\beta_3X_3+\beta_4X_4+\epsilon \]
is fitted to some data in Minitab which generates a table showing estimates of the parameters with associated $p$-values. Determine which variable to exclude first.
-
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 a discrete random variable $X$ find the expectation of $1/X$ and $e^X$.
-
Question in Content created by Newcastle University
Given sum of sample from a Normal distribution with unknown mean $\mu$ and known variance $\sigma^2$. Find MLE of $\mu$ and one of four functions of $\mu$.
-
Question in Content created by Newcastle University
Using a random sample from a population with given mean and variance, find the expectation and variance of three estimators of $\mu$. Unbiased, efficient?
-
Question in Content created by Newcastle University
Given a PDF $f(x)$ on the real line with unknown parameter $t$ and three random observations, find log-likelihood and MLE $\hat{t}$ for $t$.
-
Question in Content created by Newcastle University
Arrivals given by exponential distribution, parameter $\theta$ and $Y$, sample mean on inter-arrival times. Find and calculate unbiased estimator for $\theta$.
-
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$.