// Numbas version: exam_results_page_options {"name": "Hypothesis Test", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Hypothesis Test", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

A survey of waiting time in two supermarkets in a queue for self-service payments shows the following results.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n

 

\n
\n

N (Sample size)

\n
\n

S (standard deviation)

\n
\n

Mean (in minutes)

\n
\n

Asda

\n
\n

25

\n
\n

4

\n
\n

5

\n
\n

Tesco

\n
\n

30

\n
\n

6

\n
\n

7

\n
\n

Assume that the waiting times for all shoppers are normally distributed. Use a two-sample t-test with a 5% significance level to determine if there is a difference in waiting times at Asda and Tesco. 

", "advice": "", "rulesets": {}, "extensions": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Whcih one is the null hypothesis?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": false, "choices": ["

There is no difference between the wait times at Asda and Tesco

", "

There is difference between the wait times at Asda and Tesco

"], "matrix": ["2", 0], "distractors": ["", ""]}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Which one is the alternative hypothesis?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": false, "choices": ["

There is no difference between the wait times at Asda and Tesco

", "

There is  difference between the wait times at Asda and Tesco

"], "matrix": ["0", "2"], "distractors": ["", ""]}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "4", "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Calculate pooled sample standard deviation (σx1-x2). (give your answer to 2 decimal place)

", "minValue": "1.4", "maxValue": "1.5", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "4", "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Calculate the test statistics |t|. (Give your answer to 2 decimal place as positive value)

", "minValue": "1.35", "maxValue": "1.45", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Write down the number of degrees of freedom.

", "minValue": "53", "maxValue": "53", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Write down the critical value.

", "minValue": "2.00", "maxValue": "2.05", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Which one is the correct decision? 

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": false, "choices": ["Fail to reject null hypothesis.", "Reject null hypothesis."], "matrix": ["2", 0], "distractors": ["", ""]}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": false, "showFeedbackIcon": false, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Which one is the correct conclusion for this test?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "dropdownlist", "displayColumns": 0, "showCellAnswerState": false, "choices": ["

There is no difference in waiting time between two supermarkets.

", "

There is difference in waiting time between two supermarkets.

"], "matrix": ["2", 0], "distractors": ["", ""]}], "contributors": [{"name": "Shihan Miah", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4456/"}]}]}], "contributors": [{"name": "Shihan Miah", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4456/"}]}