Try to answer the following questions here:

• What is this question used for?
• What does this question assess?
• What does the student have to do?
• How is the question randomised?
• Are there any implementation details that editors should be aware of?

Feedback

From users who are members of Newcastle University Sports Science :

History

Checkpoint description

Describe what's changed since the last checkpoint.

Tom Lowe1 month, 1 week ago

Question now works fine. I've made some corrections to the advice, by ensuring that the modulus signs are in the calculation of the absolute value of T, and changing part e) to say that we reject the null hypothesis if our test is significant at the 5% level, as is consistent with the marking (it previously said to reject if the test was significant at the 10% level).

I think the question would benefit from adaptive marking, but can't see any other issues.

George Stagg1 month, 2 weeks ago

The question had broken with Numbas updates. I think I've fixed the scenario variable, but didn't test the question in detail so have marked "needs to be tested" for now.

George Stagg1 month, 2 weeks ago

Gave some feedback: Needs to be tested

Tom Lowe1 month, 2 weeks ago

When trying to test run the question I get an error, and in the variables section the variable "scenario" is not defined, with the following error message:

Error evaluating variable scenario: No definition of 'sum' of correct type found.

Tom Lowe1 month, 2 weeks ago

Gave some feedback: Doesn't work

Chris Graham2 years, 6 months ago

Thanks Lauren, can you check with Phil regarding the wording of the last part. I think (I'm no statistician) that you are not supposed to "accept" a null hypothesis, rather you "do not reject" it.

Lauren Frances Desoysa2 years, 7 months ago

Hi chris, there's a couple of things that probably need changing, such as alligning the equals signs in the advise solution, but other than that i think i've made all the changes you wanted.

Lauren Frances Desoysa2 years, 7 months ago

Gave some feedback: Needs to be tested

Lauren Frances Desoysa2 years, 7 months ago

Created this as a copy of One sample t-test -SES.
Small sample t-test on sample mean Ready to use Frank Doheny 21/04/2018 13:15
Two sample t-test: comparison of means Ready to use Frank Doheny 21/04/2018 13:16
Two sample t-test: paired data Ready to use Frank Doheny 21/04/2018 13:18
Z-test on sample mean Ready to use Frank Doheny 01/05/2018 13:11
Z-test on sample proportion Ready to use Frank Doheny 01/05/2018 13:11
Two sample Z-test on proportions Ready to use Frank Doheny 01/05/2018 13:11
Two sample F-test: comparison of variances draft Frank Doheny 19/04/2018 08:37
Two sample Z-test: comparison of means draft Frank Doheny 19/04/2018 08:33
Chi-square goodness of fit test Ready to use Frank Doheny 01/05/2018 13:12
Chi-square test: contingency tables Ready to use Frank Doheny 01/05/2018 13:12
ANOVA Ready to use Frank Doheny 01/05/2018 13:14
One sample t-test -SES Has some problems Lauren Frances Desoysa 25/06/2018 09:49
Perform a one-sample t-test Needs to be tested Lauren Frances Desoysa 08/12/2020 20:56
Colin's copy of Two sample t-test: paired data draft Colin Whitehead 25/06/2018 15:31
David's copy of Z-test on sample mean draft David Goulding 18/09/2018 16:33
Resting heart rate statistics draft David Goulding 18/09/2018 16:54
Catherine's copy of Z-test on sample proportion draft Catherine Palmer 24/11/2020 15:48
STAT7008 Hypothesis test, single sample, two sided t-test on sample mean draft Catherine Palmer 25/11/2020 19:04
Charlie's copy of STAT7008 Hypothesis test, single sample, two sided t-test on sample mean draft Charlie Earle 09/12/2018 12:34
Two sample t-test: Paired data Should not be used Brad Allison 11/06/2020 14:14
Brad's copy of Two sample t-test: comparison of means draft Brad Allison 12/06/2019 12:40
Brad's copy of Two sample t-test: paired data draft Brad Allison 13/06/2019 14:01
ANOVA draft Xiaodan Leng 11/07/2019 00:17
Chi-square test: contingency tables draft Xiaodan Leng 11/07/2019 00:17
Chi-square goodness of fit test draft Xiaodan Leng 11/07/2019 00:17
Z-test on sample proportion draft Xiaodan Leng 11/07/2019 00:18
Z-test on sample mean draft Xiaodan Leng 11/07/2019 00:18
Two sample Z-test on proportions draft Xiaodan Leng 11/07/2019 00:19
Two sample t-test: paired data draft Xiaodan Leng 11/07/2019 00:19
Two sample t-test: comparison of means draft Xiaodan Leng 11/07/2019 00:20
Small sample t-test on sample mean draft Xiaodan Leng 11/07/2019 00:20
ANOVA Tests draft Kevin Bohan 21/11/2019 15:36
Chi-square goodness of fit test draft Kevin Bohan 21/11/2019 15:38
STAT7009 Hypothesis test, single sample, two sided t-test on sample mean folic acid adaptive marking draft Catherine Palmer 08/03/2020 15:49
STAT7009 Hypothesis test, single sample, two sided t-test on sample mean lifespan draft Catherine Palmer 29/02/2020 09:17
Catherine's copy of Catherine's copy of Z-test on sample proportion draft Catherine Palmer 29/02/2020 08:52
STAT7009 Hypothesis test, single sample, one sided t-test on sample mean caustic material draft Catherine Palmer 08/09/2020 10:01
STAT7009 Hypothesis test, single sample, one sided variance test new drug draft Catherine Palmer 03/03/2020 21:51
STAT7009 Hypothesis test, single sample, one sided variance test liquid bottles draft Catherine Palmer 05/03/2020 15:36
STAT7009 Hypothesis test, single sample, two sided variance test fluoride draft Catherine Palmer 25/03/2020 20:01
STAT7009 Hypothesis test, single sample, one sided z- test - proportion - new treatment draft Catherine Palmer 10/11/2020 22:28
Catherine's copy of STAT7009 Hypothesis test, single sample, two sided t-test on sample mean lifespan draft Catherine Palmer 04/03/2020 11:37
STAT7009 Hypothesis test, single sample, two sided t-test on sample mean folic acid draft Catherine Palmer 08/03/2020 15:50
STAT7009 Hypothesis test, single sample, one sided z- test - proportion - virus draft Catherine Palmer 06/03/2020 12:52
Chi-square goodness of fit test (SJ copy) draft Sam jemison 18/06/2020 10:44
Chi-square test: contingency tables (SJ edit) draft Sam jemison 18/06/2020 10:45
STAT7009 Two sample t-test: comparison of means draft Catherine Palmer 31/03/2020 13:49
STAT7009 Hypothesis test, single sample, one sided t-test on sample mean caustic material ADAPTIVE MARKING draft Catherine Palmer 08/09/2020 10:22
Julie's copy of STAT7009 Hypothesis test, single sample, one sided t-test on sample mean caustic material ADAPTIVE MARKING draft Julie Crowley 11/09/2020 12:13
Gretel's copy of Chi-square test: contingency tables draft Gretel Crafford 29/10/2020 20:01
Gretel's copy of Chi-square test: contingency tables draft Gretel Crafford 30/10/2020 07:25
STAT8013 One way ANOVA music draft Catherine Palmer 01/11/2020 20:54
Marie's copy of STAT7009 Hypothesis test, single sample, two sided t-test on sample mean folic acid draft Marie Nicholson 17/11/2020 12:24
Marie's copy of STAT7009 Hypothesis test, single sample, one sided t-test on sample mean caustic material draft Marie Nicholson 17/11/2020 12:24
STAT7008 Hypothesis test, single sample, one sided z- test - proportion - new treatment draft Catherine Palmer 26/11/2020 12:10
Catherine's copy of STAT7009 Hypothesis test, single sample, two sided t-test on sample mean folic acid draft Catherine Palmer 24/11/2020 16:08
STAT7008 Hypothesis test, single sample, two sided t-test on sample mean folic acid draft Catherine Palmer 24/11/2020 16:14
STAT7008 Hypothesis test, single sample, one sided t-test on sample mean caustic material draft Catherine Palmer 24/11/2020 16:12

Give any introductory information the student needs.

No variables have been defined in this question.

Warning

• When applying the function,
Suggestions
• Change the signature of parameter from to .

This variable is an HTML node. HTML nodes can not be relied upon to work correctly when resuming a session - for example, attached event callbacks will be lost, and mathematical notation will likely also break.

If this causes problems, try to create HTML nodes where you use them in content areas, instead of storing them in variables.

Describe what this variable represents, and list any assumptions made about its value.

← Depends on:
→ Used by:

This variable doesn't seem to be used anywhere.

Name Type Generated Value

Error in variable testing condition

There's an error in the condition you specified in the Variable testing tab. Variable values can't be generated until it's fixed.

Error:

for seconds

Running for ...

Name Limit

Penalties

Name Limit

No parts have been defined in this question.

Select a part to edit.

The correct answer is an equation. Use the accuracy tab to generate variable values satisfying this equation so it can be marked accurately.

Checking accuracy

Define the range of points over which the student's answer will be compared with the correct answer, and the method used to compare them.

Variable value generators

Give expressions which produce values for each of the variables in the expected answer. Leave blank to pick a random value from the range defined above, following the inferred type of the variable.

String restrictions

Both choices and answers must be defined for this part.

Help with this part type

Test that the marking algorithm works

Check that the marking algorithm works with different sets of variables and student answers using the interface below.

Create unit tests to save expected results and to document how the algorithm should work.

There's an error which means the marking algorithm can't run:

Question variables

These variables are available within the marking algorithm.

Name Value

Marking parameters

These values are available as extra variables in the marking algorithm.

Name Value

Part settings

These values are available as entries in the settings variable.

Name Value

Alternative used:

Note
Value Feedback

Click on a note's name to show or hide it. Only shown notes will be included when you create a unit test.

Unit tests

No unit tests have been defined. Enter an answer above, select one or more notes, and click the "Create a unit test" button.

The following tests check that the question is behaving as desired.

This test has not been run yet This test produces the expected output This test does not produce the expected output

This test is not currently producing the expected result. Fix the marking algorithm to produce the expected results detailed below or, if this test is out of date, update the test to accept the current values.

One or more notes in this test are no longer defined. If these notes are no longer needed, you should delete this test.

Name Value

 This note produces the expected output

This test has not yet been run.

When you need to change the way this part works beyond the available options, you can write JavaScript code to be executed at the times described below.

Run this script the built-in script.

This script runs after the built-in script.

To account for errors made by the student in earlier calculations, replace question variables with answers to earlier parts.

In order to create a variable replacement, you must define at least one variable and one other part.

The variable replacements you've chosen will cause the following variables to be regenerated each time the student submits an answer to this part:

These variables have some random elements, which means they're not guaranteed to have the same value each time the student submits an answer. You should define new variables to store the random elements, so that they remain the same each time this part is marked.

This part can't be reached by the student.

Add a "next part" reference to this part from another part.

None of the parts which can lead to this part are reachable either.

Next part options

Define the list of parts that the student can visit after this one.

• Variable replacements

No variable replacements have been defined for this next part option.
Variable Value

Previous parts

This part can follow on from:

This part doesn't follow on from any others.

Parts

Steps

Give a worked solution to the whole question.

Select extensions to use in this question.

Define rulesets for simplification and display of mathematical expressions.

Define functions to use in JME expressions.

• Parameters
• : of

Add styling to the question's display and write a script to run when the question is created.

This script will run after the question's variable have been generated but before the HTML is attached.
Apply styling rules to the question's content.

This question is used in the following exams: