Saving.
This might take a few seconds.
The page's stylesheet file has not loaded.
Sorry, Numbas has encountered an error which means it can't continue. Below is a description of the error.
Saving.
This might take a few seconds.
Number of Questions: | 31 |
---|---|
Marks Available: | 150 |
Pass Percentage: | 0% |
Time Allowed: | |
Student's Name: | () |
This exam is configured to allow you to download your data, but it is not running in a secure browser context. You will not be able to download your exam data. Contact your lecturer or teacher for help.
Construct a stem-and-leaf plot for the following data. Input all numbers into the fields below.
47 | 61 | 58 | 87 | 67 | 42 | 40 | 46 | 57 | 60 | 89 | 56 | 56 | 66 | 77 | 73 | 51 | 71 | 62 |
NOTE: All 25 fields have to be filled in. Input -1 if there is no number in a field.
STEM | LEAF | ||||
---|---|---|---|---|---|
$\var{v}$ | |||||
$\var{v+1}$ | |||||
$\var{v+2}$ | |||||
$\var{v+3}$ | |||||
$\var{v+4}$ |
Feedback for .
Hide feedback.The feedback has changed.There's nothing more to do from here.
Ordering the data gives:
40 | 42 | 46 | 47 | 51 | 56 | 56 | 57 | 58 | 60 | 61 | 62 | 66 | 67 | 71 | 73 | 77 | 87 | 89 |
Splitting into the groups of 10s gives
40 | 42 | 46 | 47 | |
51 | 56 | 56 | 57 | 58 |
60 | 61 | 62 | 66 | 67 |
71 | 73 | 77 | ||
87 | 89 |
Then putting this into stem-and-leaf plot gives
STEM | |||||
---|---|---|---|---|---|
$4$: | 0 | 2 | 6 | 7 | |
$5$: | 1 | 6 | 6 | 7 | 8 |
$6$: | 0 | 1 | 2 | 6 | 7 |
$7$: | 1 | 3 | 7 | ||
$8$: | 7 | 9 |
State whether the following variables are Qualitative or Quantitative.
Feedback for .
Hide feedback.The feedback has changed.There's nothing more to do from here.
For the following function:
\[ \simplify{ y = 2x^3-{3*(x1+x2)}x^2+{x1*x2*6}x+{c0} } \]
Determine the coordinates and the nature of the stationary points.
Minimum point: $\big($ interpreted as $ , $ interpreted as $\big)$ and maximum point: $\big($ interpreted as $ , $ interpreted as $\big)$
Enter fractions in their simplest form.
Feedback for a).
Show feedback.The feedback has changed.There's nothing more to do from here.
For the following function:
\[ \simplify{y = 2x^3-3{(x12+x22)}x^2+6{x12*x22}x+{c02}} \]
Determine the coordinates and the nature of the stationary points.
Minimum point: $\big($ interpreted as $ , $ interpreted as $\big)$ and maximum point: $\big($ interpreted as $ , $ interpreted as $\big)$
Enter fractions in their simplest form.
Feedback for b).
Show feedback.The feedback has changed.There's nothing more to do from here.
For the following function:
\[ \simplify[All,fractionNumbers]{y = {1}/{3}x^3-{(x13+x23)}/{2}x^2+{x13*x23}x+{c03}} \]
Determine the coordinates and the nature of the stationary points.
Minimum point: $\big($ interpreted as $ , $ interpreted as $\big)$ and maximum point: $\big($ interpreted as $ , $ interpreted as $\big)$
Enter fractions in their simplest form.
Feedback for c).
Show feedback.The feedback has changed.There's nothing more to do from here.
The following table shows daily sales, $X$, in thousands of pounds for a large retailer in 2012.
Calculate the relative percentage frequencies (to one decimal place for all).
Sales | Number of days | Relative Percentages |
---|---|---|
$\var{a[0]}\le X \lt \var{a[1]}$ | $\var{norm1[0]}$ | |
$\var{a[1]}\le X \lt \var{a[2]}$ | $\var{norm1[1]}$ | |
$\var{a[2]}\le X \lt \var{a[3]}$ | $\var{norm1[2]}$ | |
$\var{a[3]}\le X \lt \var{a[4]}$ | $\var{norm1[3]}$ | |
$\var{a[4]}\le X \lt \var{a[5]}$ | $\var{norm1[4]}$ | |
$\var{a[5]}\le X \lt \var{a[6]}$ | $\var{norm1[5]}$ | |
$\var{a[6]}\le X \lt \var{a[7]}$ | $\var{norm1[6]}$ |
Feedback for .
Hide feedback.The feedback has changed.There's nothing more to do from here.
We show how to calculate the relative percentage frequency for one range of values for $\var{a[r]} \le X \lt \var{a[r+1]}$ - you can then check the rest.
Note that there were $\var{daysopen}$ days in the year when sales took place.
There were $\var{norm1[r]}$ days out of the $\var{daysopen}$ when there were between $\var{a[r]}$ and $\var{a[r+1]}$ thousand pounds worth of sales (including $\var{a[r]}$ thousand but not $\var{a[r+1]}$ thousand) .
Hence the relative frequency percentage for such sales is given by \[100 \times \frac{\var{norm1[r]}}{\var{daysopen}}\%=\var{rel[r]}\%\] to one decimal place.
For the following, find the stationary point and determine its nature. For your answers, where appropriate, write your solutions as fractions, NOT decimals, and cancel down where possible.
Let $y = \simplify{{a1}x^2 + {b1}x + {c1}}$.
$\dfrac{\mathrm{d}y}{\mathrm{d}x} = $ interpreted as
Enter the coordinates of the stationary point of $y$: $\big($ interpreted as $, $ interpreted as $\big)$
$\dfrac{\mathrm{d}^2y}{\mathrm{d}x^2} = $ interpreted as
What is the nature of the stationary point of $y$?
Feedback for a).
Show feedback.The feedback has changed.There's nothing more to do from here.
Let $z = \simplify{{a2}x^2+{b2}x+{c2}}$.
$\dfrac{\mathrm{d}z}{\mathrm{d}x} = $ interpreted as
Enter the coordinates of the stationary point of $z$: $\big($ interpreted as $, $ interpreted as $\big)$
$\dfrac{\mathrm{d}^2z}{\mathrm{d}x^2} = $ interpreted as
What is the nature of the stationary point of $z$?
Feedback for b).
Show feedback.The feedback has changed.There's nothing more to do from here.
Let $t = \var{m}x^3+\var{q}$.
$\dfrac{\mathrm{d}t}{\mathrm{d}x} = $ interpreted as
Enter the coordinates of the stationary point of $t$: $\big($ interpreted as $, $ interpreted as $\big)$
$\dfrac{\mathrm{d}^2t}{\mathrm{d}x^2} = $ interpreted as
What is the nature of the stationary point of $t$?
Feedback for c).
Show feedback.The feedback has changed.There's nothing more to do from here.
$\dfrac{\mathrm{d}y}{\mathrm{d}x} = \simplify{{2a1}x+{b1}}$.
To find the $x$-coordinate of the stationary point, solve $\frac{\mathrm{d}y}{\mathrm{d}x} = 0$ for $x$:
\[ \begin{align} \frac{\mathrm{d}y}{\mathrm{d}x} = \simplify{{2a1}x + {b1}} &= 0 \\ x &= \simplify[all,fractionNumbers]{{sx1}} \end{align} \]
Find the $y$-coordinate by substituting this value of $x$ into the definition of $y(x)$:
\[\begin{align} \simplify[fractionnumbers]{y({sx1})} &= \simplify[basic,fractionnumbers]{{a1}{sx1}^2+{b1}{sx1}+{c1}} \\ &= \simplify[fractionnumbers]{{sy1}} \end{align}\]
Finally, to determine the nature of the stationary point, look at $\frac{\mathrm{d}^2y}{\mathrm{d}x^2}$ at $x = \simplify[fractionnumbers]{{sx1}}$.
\[ \frac{\mathrm{d}^2y}{\mathrm{d}x^2} = \simplify{{2*a1}} \]
This is positive, so the stationary point is a minimum.
$\dfrac{\mathrm{d}z}{\mathrm{d}x} = \simplify{{2a2}x+{b2}}$.
To find the $x$-coordinate of the stationary point, solve $\frac{\mathrm{d}z}{\mathrm{d}x} = 0$ for $x$:
\[ \begin{align} \frac{\mathrm{d}z}{\mathrm{d}x} = \simplify{{2a2}x + {b2}} &= 0 \\ x &= \simplify[all,fractionNumbers]{{sx2}} \end{align} \]
Find the $y$-coordinate by substituting this value of $x$ into the definition of $z(x)$:
\[\begin{align} \simplify[fractionnumbers]{z({sx1})} &= \simplify[basic,fractionnumbers]{{a2}{sx2}^2+{b2}{sx2}+{c2}} \\ &= \simplify[fractionnumbers]{{sy2}} \end{align}\]
Finally, to determine the nature of the stationary point, look at $\frac{\mathrm{d}^2z}{\mathrm{d}x^2}$ at $x = \simplify[fractionnumbers]{{sx2}}$.
\[ \frac{\mathrm{d}^2z}{\mathrm{d}x^2} = \simplify{{2*a2}} \]
This is negative, so the stationary point is a maximum.
$\dfrac{\mathrm{d}t}{\mathrm{d}x} = \simplify{{3m}x^2}$.
To find the $x$-coordinate of the stationary point, solve $\frac{\mathrm{d}t}{\mathrm{d}x} = 0$ for $x$:
\[ \begin{align} \frac{\mathrm{d}t}{\mathrm{d}x} = \simplify{{3m}x^2} &= 0 \\ x &= 0 \end{align} \]
Find the $y$-coordinate by substituting this value of $x$ into the definition of $t(x)$:
\[\begin{align} z(0) &= \simplify[basic,fractionnumbers]{{m}*0^3 + {q}} \\ &= \var{q} \end{align}\]
Finally, to determine the nature of the stationary point, look at $\frac{\mathrm{d}^2t}{\mathrm{d}x^2}$ at $x = 0$.
\[ \frac{\mathrm{d}^2t}{\mathrm{d}x^2} = \simplify{{6m}x} \]
\[ \left.\frac{\mathrm{d}^2t}{\mathrm{d}x^2} \right\rvert_{x=0} = \var{6m} \times 0 = 0 \]
This is zero, so the stationary point is a point of inflection.
The electricity consumption, $X$, of a frozen foods warehouse each week in the summer months is normally distributed with mean 900k and standard deviation 70k Wh.
i.e. \[X \sim \operatorname{N}(\var{m},\var{s}^2)\]
Find the probability that in a particular week the electricity consumption is less than 845 k Wh:
Probability = ?(to 2 decimal places)
Find the probability that in a particular week the electricity consumption is greater than 955 k Wh:
Probability = ?(to 2 decimal places)
Feedback for .
Hide feedback.The feedback has changed.There's nothing more to do from here.
1. Converting to $\operatorname{N}(0,1)$
$\simplify[all,!collectNumbers]{P(X < {lower}) = P(Z < ({lower} -{m}) / {s}) =1 -P(Z < {m-lower}/{s})} = 1-P(z<\var{zlower})=1 -\var{p} = \var{prob1}$ to 2 decimal places.
2. Converting to $\operatorname{N}(0,1)$
$\simplify[all,!collectNumbers]{P(X > {upper}) = P(Z > ({upper} -{m}) / {s}) = 1 -P(Z < {upper-m}/{s})} = 1-P(z<\var{zupper})=1-\var{p1} = \var{prob2}$ to 2 decimal places.
Which of the following random variables could be modelled with a binomial distribution and which could be modelled with a Poisson distribution?
You will lose 1 mark for every incorrect answer. The minimum mark is 0.
Feedback for .
Hide feedback.The feedback has changed.There's nothing more to do from here.
No solution given.
$\var{thismany}$ % of biscuits made by a baker are chocolate chip cookies.
$\var{number1}$ biscuits are selected at random.
Assuming a binomial distribution for $X$ , the number of chocolate chip cookies, write down the values of $n$ and $p$.
$X \sim \operatorname{bin}(n,p)$
$n=\; $? $p=\;$?
Find $\operatorname{E}[X]$ the expected number of chocolate chip cookies in our sample:
$\operatorname{E}[X]=$?
Find the standard deviation for the number of chocolate chip cookies in our sample:
Standard deviation = ? (to 3 decimal places).
Feedback for a).
Show feedback.The feedback has changed.There's nothing more to do from here.
Find the probability that our selection contains exactly $\var{thisnumber}$ chocolate chip cookies.
$\operatorname{P}(X=\var{thisnumber})=$? (to 3 decimal places).
Find the probability that our selection contains no more than 1 chocolate chip cookies.
Probability = ? (to 3 decimal places).
Feedback for b).
Show feedback.The feedback has changed.There's nothing more to do from here.
a)
1. $X \sim \operatorname{bin}(\var{number1},\var{prob})$, so $n= \var{number1},\;\;p=\var{prob}$.
2. The expectation is given by $\operatorname{E}[X]=n\times p=\var{number1}\times \var{prob}=\var{number1*prob}$
3. $\operatorname{stdev}(X)=\sqrt{n\times p \times (1-p)}=\sqrt{\var{number1}\times \var{prob} \times \var{1-prob}}=\var{sd}$ to 3 decimal places.
b)
1. \[ \begin{eqnarray*}\operatorname{P}(X = \var{thisnumber}) &=& \dbinom{\var{number1}}{\var{thisnumber}}\times\var{prob}^{\var{thisnumber}}\times(1-\var{prob})^{\var{number1-thisnumber}}\\& =& \var{comb(number1,thisnumber)} \times\var{prob}^{\var{thisnumber}}\times\var{1-prob}^{\var{number1-thisnumber}}\\&=&\var{prob1}\end{eqnarray*} \] to 3 decimal places.
2.
\[ \begin{eqnarray*}\operatorname{P}(X \leq \var{thatnumber})& =& \simplify[all,!collectNumbers]{P(X = 0) + P(X = 1) + {v}*P(X = 2)}\\& =& \simplify[zeroFactor,zeroTerm,unitFactor]{{1 -prob} ^ {number1}+ {number1} *{prob} *{1 -prob} ^ {number1 -1} + {v} * ({number1} * {number1 -1}/2)* {prob} ^ 2 *( {1 -prob} ^ {number1 -2})}\\& =& \var{prob2}\end{eqnarray*} \]
to 3 decimal places.
The mean number of sales per day at a telecommunications centre is $\var{thismany}$.
Employees receive a warning if they make less than $\var{number1}$ per day.
Assuming a Poisson distribution for $X$, the number of sales per day, write down the value of $\lambda$.
$X \sim \operatorname{Poisson}(\lambda)$
$\lambda = $?
Find $\operatorname{E}[X]$ the expected the number of sales per day.
$\operatorname{E}[X]=$?
Find the standard deviation for daily sales..
Standard deviation = ? (to 3 decimal places).
Feedback for a).
Show feedback.The feedback has changed.There's nothing more to do from here.
Find the probability that a randomly selected employee makes exactly $\var{thisnumber}$ sales.
$\operatorname{P}(X=\var{thisnumber})=$? (to 3 decimal places).
Find the probability that a randomly selected employee receives a warning.
Probability = ? (to 3 decimal places).
Feedback for b).
Show feedback.The feedback has changed.There's nothing more to do from here.
a)
1. $X \sim \operatorname{Poisson}(\var{thismany})$, so $\lambda = \var{thismany}$.
2. The expectation is given by $\operatorname{E}[X]=\lambda=\var{thismany}$
3. $\operatorname{stdev}(X)=\sqrt{\lambda}=\sqrt{\var{thismany}}=\var{sd}$ to 3 decimal places.
b)
1. \[ \begin{eqnarray*}\operatorname{P}(X = \var{thisnumber}) &=& \frac{e ^ { -\var{thismany}}\var{thismany} ^ {\var{thisnumber}}} {\var{thisnumber}!}\\& =& \var{prob1} \end{eqnarray*} \] to 3 decimal places.
2. If an employee receives a warning then he or she must have sold less than 3.
Hence we need to find :
\[ \begin{eqnarray*}\operatorname{P}(X < \var{number1})& =& \simplify[all,!collectNumbers]{P(X = 0) + P(X = 1) + {v}*P(X = 2)}\\& =& \simplify[all,!collectNumbers]{e ^ { -thismany} + {thismany} * e ^ { -thismany} + {v} * (({thismany} ^ 2 * e ^ { -thismany}) / 2)} \\&=& \var{prob2} \end{eqnarray*} \]
to 3 decimal places.
The time, in minutes between customer arrivals at the RyanJet check-in desk at Newcastle Airport follows an exponential distribution with rate $\var{ra}$ i.e.
\[X \sim \operatorname{exp}(\var{ra})\]
Find $\operatorname{E}[X]$ between customer arrivals at the RyanJet check-in desk at Newcastle Airport :
$\operatorname{E}[X]=\;$?minutes (enter as a decimal correct to 3 decimal places).
Find $\operatorname{Var}(X)$:
$\operatorname{Var}(X)=\;$?(enter as a decimal correct to 3 decimal places).
Feedback for a).
Show feedback.The feedback has changed.There's nothing more to do from here.
Find the probability that the time between two customers arriving is less than $\var{thistime}$ minutes:
$P(X \lt \var{thistime})=\;$?(enter as a decimal correct to 3 decimal places)
Feedback for b).
Show feedback.The feedback has changed.There's nothing more to do from here.
If $X \sim \operatorname{exp}(\lambda)$ then $\displaystyle \operatorname{E}[X] =\frac{1}{\lambda}$ and $\displaystyle \operatorname{Var}(X)=\frac{1}{\lambda^2}$.
Also $P(X \lt a)=1-e^{-\lambda a}$.
a)
If $X \sim \operatorname{exp}(\var{ra})$ then:
$\displaystyle \operatorname{E}[X] =\frac{1}{\lambda}=\frac{1}{\var{ra}}=\var{ans1}$ to 3 decimal places.
$\displaystyle \operatorname{Var}(X) =\frac{1}{\lambda^2}=\frac{1}{\var{ra}^2}=\var{ans2}$ to 3 decimal places.
b)
$P(X \lt \var{thistime}) = 1 -(e ^ {-\var{ ra} \times \var{thistime}}) = 1 -(e ^ { -\var{ra * thistime}}) = \var{ans3}$ to 3 decimal places.
A new supermarket plans to open somewhere on the outskirts of a town. In fact, $X$, the distance of a new supermarket from the town centre is Uniformly distributed between $\var{lower}$ metres and $\var{upper}$ metres i.e.
\[X \sim \operatorname{U}(\var{lower},\var{upper})\]
Find $\operatorname{E}[X]$, the expected distance in metres of the new supermarket from the town centre:
$\operatorname{E}[X]=\;?$m (to 3 decimal places).
Also find the variance $\operatorname{Var}(X)$:
$\operatorname{Var}(X)=\;$? (to 3 decimal places).
Feedback for a).
Show feedback.The feedback has changed.There's nothing more to do from here.
Find the probability that the supermarket opens within $\var{thisdis}$ kilometres of the town centre.
$P(X \le \var{thisdis}\textrm{km})=\;$?
(to 3 decimal places).
Feedback for b).
Show feedback.The feedback has changed.There's nothing more to do from here.
a) For a Uniform distribution \[X \sim \operatorname{U}(\var{lower},\var{upper})\] we have:
$\displaystyle \operatorname{E}[X] = \frac{\var{lower}+\var{upper}}{2}=\var{ans1}$m
$\displaystyle \operatorname{Var}(X) = \frac{(\var{upper}-\var{lower})^2}{12}=\frac{(\var{upper-lower})^2}{12}=\var{ans2}$ to 3 decimal places.
b)
$\displaystyle P(X \le \var{thisdis}\textrm{km})=\frac{\var{thisdis}\times 1000 -\var{lower}}{\var{upper}-\var{lower}}=\var{ans3}$ to 3 decimal places.
The management of a national chain of hotels wants to estimate the mean cost per room of repairing damage caused by its customers during a bank holiday weekend.
A random sample of $\var{n}$ vacated rooms was inspected by the management and this gave a mean and standard deviation of £$\var{m[s]}$ and £$\var{sd[s]}$ respectively.
Is the population variance known or unknown?
Calculate a $\var{confl}$% confidence interval $(a,b)$ for the population mean:
$a=\;$£ $b=\;$£
Enter both to 2 decimal places.
Feedback for .
Hide feedback.The feedback has changed.There's nothing more to do from here.
1.
The population variance is unknown. So we have to use the t tables to find the confidence interval.
2.
We now calculate the $\var{confl}$ confidence interval:
As we have $\var{n}-1=\var{n-1}$ degrees of freedom, the interval is given by:
\[ \var{m[s]} \pm t_{\var{n-1}}\sqrt{\frac{\var{sd[s]}^2}{\var{n}}}\]
Looking up the t tables for $\var{confl}$% we see that $t_{\var{n-1}}=\var{invt}$ to 3 decimal places.
Hence:
Lower value of the confidence interval $=\;\displaystyle \var{m[s]} -\var{invt} \sqrt{\frac{\var{sd[s]} ^ 2} {\var{n}}} =\var{p} \var{lci}$ to 2 decimal places.
Upper value of the confidence interval $=\;\displaystyle \var{m[s]} +\var{invt} \sqrt{\frac{\var{sd[s]} ^ 2} {\var{n}}} = \var{p}\var{uci}$ to 2 decimal places.
A company in charge of the accounts of a large chain of department stores knows that the population standard deviation for the wages of employees is $\var{sd[s]}$ pounds.
A random sample of $\var{n}$ monthly wage slips gives a mean of $\var{m[s]}$ pounds.
Calculate a $\var{confl}$% confidence interval $(a,b)$ for the population mean:
$a=\;$pounds $b=\;$pounds
Enter both to 2 decimal places.
Feedback for a).
Show feedback.The feedback has changed.There's nothing more to do from here.
The company aims for an average salary of £1500 per month per worker. Is the aim being met?
Feedback for b).
Show feedback.The feedback has changed.There's nothing more to do from here.
a)
We use the z tables to find the confidence interval as we know the population variance.
We now calculate the $\var{confl}$% confidence interval.
Note that $z_{\var{confl/100}}=\var{zval}$ and the confidence interval is given by:
\[ \var{m[s]} \pm z_{\var{confl/100}}\sqrt{\frac{\var{sd2}}{\var{n}}}\]
Hence:
Lower value of the confidence interval $=\;\displaystyle \var{m[s]} -\var{zval} \sqrt{\frac{\var{sd2}} {\var{n}}} = \var{lci}$pounds to 2 decimal places.
Upper value of the confidence interval $=\;\displaystyle \var{m[s]} +\var{zval} \sqrt{\frac{\var{sd2}} {\var{n}}} = \var{uci}$pounds to 2 decimal places.
b)
Since $\var{aim}$ does not lie in the confidence interval the answer is no.
Helen owns the Dog and Duck Pub. Helen believes that sales of super-strength lager in the pub are linked to the average monthly temperature, with higher sales being recorded in months with higher temperatures. To investigate, Helen records the average monthly temperature in the local town over a period of one year ($X$ degrees Celsius), along with total monthly sales of super-strength lager ($Y$ hundred pounds). The results are shown in the table below:
Month | $\var{obj[0]}$ | $\var{obj[1]}$ | $\var{obj[2]}$ | $\var{obj[3]}$ | $\var{obj[4]}$ | $\var{obj[5]}$ | $\var{obj[6]}$ | $\var{obj[7]}$ | $\var{obj[8]}$ | $\var{obj[9]}$ | $\var{obj[10]}$ | $\var{obj[11]}$ |
---|---|---|---|---|---|---|---|---|---|---|---|---|
$X$ (temperature) | $\var{r1[0]}$ | $\var{r1[1]}$ | $\var{r1[2]}$ | $\var{r1[3]}$ | $\var{r1[4]}$ | $\var{r1[5]}$ | $\var{r1[6]}$ | $\var{r1[7]}$ | $\var{r1[8]}$ | $\var{r1[9]}$ | $\var{r1[10]}$ | $\var{r1[11]}$ |
$Y$ (sales, £100s) | $\var{r2[0]}$ | $\var{r2[1]}$ | $\var{r2[2]}$ | $\var{r2[3]}$ | $\var{r2[4]}$ | $\var{r2[5]}$ | $\var{r2[6]}$ | $\var{r2[7]}$ | $\var{r2[8]}$ | $\var{r2[9]}$ | $\var{r2[10]}$ | $\var{r2[11]}$ |
You are given the following information:
$X$ | $\sum x=\;\var{t[0]}$ | $\sum x^2=\;\var{ssq[0]}$ |
---|---|---|
$Y$ | $\sum y=\;\var{t[1]}$ | $\sum y^2=\;\var{ssq[1]}$ |
Also you are given $\sum xy = \var{sxy}$.
Calculate the sample correlation coefficient $r$ for these data:
$r=\;$ (enter to 2 decimal places).
Feedback for a).
Show feedback.The feedback has changed.There's nothing more to do from here.
Calculate the equation of the best fitting regression line.
\[Y = \alpha + \beta X.\] Find $\alpha$ and $\beta$ to 5 decimal places, then input them below to 3 decimal places. You will use these approximate values in the rest of the question.
$\beta=\;$, $\alpha=\;$ (enter both to 3 decimal places).
Click on Show steps if you want more information on calculating $\alpha$ and $\beta$. You will not lose any marks by doing so.
To find $\alpha$ and $\beta$ you first find $\displaystyle \beta = \frac{S_{XY}}{S_{XX}}$ where:
$\displaystyle S_{XY}=\sum xy - n\overline{x}\overline{y}$
$\displaystyle S_{XX}=\sum x^2 - n\overline{x}^2$
Then $\displaystyle \alpha = \overline{y}-\beta \overline{x}$
Now go back and fill in the values for $\alpha$ and $\beta$.
Feedback for .
Show feedback.The feedback has changed.There's nothing more to do from here.
Feedback for b).
Show feedback.The feedback has changed.There's nothing more to do from here.
Next month, the average temperature in Helen's town is forecast to be $\var{thisval}^{\small o}$C. Use the regression equation in the second part to predict sales of the super-strength lager in that month.
What is the predicted value of sales (in hundreds of pounds) ?
Use the values of $\alpha$ and $\beta$ you input above to 3 decimal places.
Enter the predicted sales here: (hundreds of pounds to the nearest whole number).
Feedback for c).
Show feedback.The feedback has changed.There's nothing more to do from here.
For part a) you calculate $r$ using:
\[r=\frac{S_{XY}}{\sqrt{S_{XX} \times S_{YY}}}\] where :
$\displaystyle S_{XY}=\sum xy - n\overline{x}\overline{y}$
$\displaystyle S_{XX}=\sum x^2 - n\overline{x}^2$
$\displaystyle S_{YY}=\sum y^2 - n\overline{y}^2$
For part b): The regression line has equation:
$\simplify[all,!collectNumbers]{Y={a}+{b}X}$ and this is displayed below:
For part c):
Predicted sales whem $X=\var{thisval}^{\small o}$C:
\[\begin{align} Y&=\simplify[all,!collectNumbers]{{a}+{b}* {thisval}}\\
&=\var{{a+b*thisval}}\\
&=\var{prediction}
\end{align}\] to nearest whole number of hundreds of pounds.
A call centre company wants to know if there is any difference between the average time spent on the telephone, per call to customers, between male and female employees.
A random sample of $\var{n1}$ male employees and $\var{n2}$ female employees gave the following results in seconds.
Mean | Standard deviation | |
---|---|---|
Male | 300 | 71 |
Female | 280 | 66 |
Perform an appropriate hypothesis test to see if there is any difference between the average time spent on the telephone between male employees and female employees (the null and alternative hypotheses have been set out for you).
Step 1: Null hypothesis
If $\mu_M$ is the mean for time spent by male employees and $\mu_F$ is the mean for time spent by female employees then you are given that:
$\operatorname{H}_0\;:\;\mu_M=\mu_F$.
Step 2: Alternative Hypothesis
$\operatorname{H}_1\;:\;\mu_M \neq \mu_F$.
Feedback for .
Show feedback.The feedback has changed.There's nothing more to do from here.
Step 3: Test statistic
Should we use the z or t test statistic? Input z or t.
interpreted as
Now calculate the pooled standard deviation: (to 3 decimal places)
Now calculate the test statistic = ? (to 3 decimal places)
(Note that in this calculation you should use a value for the pooled standard deviation which is accurate to at least 5 decimal places and not the value you found to 3 decimal places above).
Feedback for a).
Show feedback.The feedback has changed.There's nothing more to do from here.
Step 4: p-value range
Use tables to find a range for your p -value.
Choose the correct range here for p :
Click on Show steps below to get more information on using the t tables to find the p-value range. You will not lose any marks.
Click here to get more information about using t tables.
You will also find the critical values of the t tables in this link.
Feedback for .
Show feedback.The feedback has changed.There's nothing more to do from here.
Feedback for b).
Show feedback.The feedback has changed.There's nothing more to do from here.
Given the $p$ - value and the range you have found, what is the strength of evidence against the null hypothesis?
Your Decision:
Conclusion:
Feedback for c).
Show feedback.The feedback has changed.There's nothing more to do from here.
b)
Step 3 : Test statistic
We should use the t statistic as the population variance is unknown.
The pooled standard deviation is given by :
\[s = \sqrt{\frac{\var{n1 -1} \times \var{sd} ^ 2 + \var{n2 -1} \times \var{sd1} ^ 2 }{\var{n1} + \var{n2} -2}} = \var{tpsd} = \var{psd}\] to 3 decimal places.
The test statistic is given by \[t = \frac{|\var{m} -\var{m1}|}{s \sqrt{\frac{1}{ \var{n1} }+\frac{1}{ \var{n2}}}} = \var{tval}\] to 3 decimal places.
(Using $s=\var{tpsd}$ in this formula.)
c)
Step 4: p value range.
As the degree of freedom is $\var{n1}+\var{n2}-2=\var{n-1}$ we use the $t_{\var{n-1}}$ tables. We have the following data from the tables:
p value | 10% | 5% | 1% |
---|---|---|---|
Critical Value | 1.703 | 2.052 | 2.771 |
We see that the $p$ value is greater than 10%.
d)
Step 5: Conclusion
Hence there is no evidence against $\operatorname{H}_0$ and so we retain $\operatorname{H}_0$.
There is insufficent evidence to suggest that average call times for male and female employees differ.
An online flight company makes the following claim:
The average cost of a flight with us to Rome is just £81 (including all taxes and charges!)
A rival flight company decides to test their claim.
A sample of 29 customers is taken.
The mean cost of a flight to Rome from this sample is £96 with a standard deviation of £25.
Perform an appropriate hypothesis test to see if the claim made by the online flight company is substantiated (use a two-tailed test).
Step 1: Null Hypothesis
$\operatorname{H}_0\;: \; \mu=\;$
Step 2: Alternative Hypothesis
$\operatorname{H}_1\;: \; \mu \neq\;$
Feedback for a).
Show feedback.The feedback has changed.There's nothing more to do from here.
Step 3: Test statistic
Should we use the z or t test statistic? interpreted as (enter z or t).
Now calculate the test statistic = ? (to 3 decimal places)
Feedback for b).
Show feedback.The feedback has changed.There's nothing more to do from here.
Step 4: p-value
Use tables to find a range for your $p$-value.
Choose the correct range here for $p$ :
Feedback for c).
Show feedback.The feedback has changed.There's nothing more to do from here.
Step 5: Conclusion
Given the $p$ - value and the range you have found, what is the strength of evidence against the null hypothesis?
Your Decision:
Conclusion:
Feedback for d).
Show feedback.The feedback has changed.There's nothing more to do from here.
a)
Step 1: Null Hypothesis
$\operatorname{H}_0\;: \; \mu=\;\var{thisamount}$
Step 2: Alternative Hypothesis
$\operatorname{H}_1\;: \; \mu \neq\;\var{thisamount}$
b)
We should use the t statistic as the population variance is unknown.
The test statistic:
\[t =\frac{ |\var{m} -\var{thisamount}|} {\sqrt{\frac{\var{stand} ^ 2 }{\var{n}}}} = \var{tval}\]
to 3 decimal places.
c)
As $n=\var{n}$ we use the $t_{\var{n-1}}$ tables. We have the following data from the tables:
p value | 10% | 5% | 1% |
---|---|---|---|
Critical Value | 1.701 | 2.048 | 2.763 |
We see that the $p$ value is less than 1%.
d)
Hence there is strong evidence against $\operatorname{H}_0$ and so we reject $\operatorname{H}_0$.
There is sufficient evidence against the claim of the flight company.
A vending machine fills cups with stuff
The vending machine company claims each cup should be filled with $\var{thismuch}$ml and the variance of the filling process is known to be 460.
Customers of the vending machine suspect the machine is under-filling.
To investigate a sample of $\var{n}$ cups is taken giving a mean of $\var{m}$ml.
Perform an appropriate hypothesis test to see if the claim made by the customers is substantiated.
Step 1: Null Hypothesis
$\operatorname{H}_0\;: \; \mu=\;$
Step 2: Alternative Hypothesis
$\operatorname{H}_1\;: \; \mu \lt\;$
Feedback for a).
Show feedback.The feedback has changed.There's nothing more to do from here.
Step 3: Test statistic
Should we use the z or t test statistic? interpreted as (enter z or t).
Now calculate the test statistic = ? (to 3 decimal places)
Feedback for b).
Show feedback.The feedback has changed.There's nothing more to do from here.
Step 4: p-value
Use tables to find a range for your $p$-value.
Choose the correct range here for $p$ :
Feedback for c).
Show feedback.The feedback has changed.There's nothing more to do from here.
Step 5: Conclusion
Given the $p$ - value and the range you have found, what is the strength of evidence against the null hypothesis?
Your Decision:
Conclusion:
Feedback for d).
Show feedback.The feedback has changed.There's nothing more to do from here.
a)
Step 1: Null Hypothesis
$\operatorname{H}_0\;: \; \mu=\;\var{thismuch}$
Step 2: Alternative Hypothesis
$\operatorname{H}_1\;: \; \mu \lt\;\var{thismuch}$
b)
We should use the z statistic as the population variance is known.
The test statistic:
\[z =\frac{ |\var{m} -\var{thismuch}|} {\sqrt{\frac{\var{thisvar}}{\var{n}}}} = \var{zval}\]
to 3 decimal places.
c)
p value | 10% | 5% | 1% |
---|---|---|---|
Critical Value | 1.282 | 1.645 | 2.326 |
We see that the $p$ value is less than 1%.
d)
Hence there is strong evidence against $\operatorname{H}_0$ and so we reject $\operatorname{H}_0$.
There is sufficient evidence against the claim of the vending company.